Uses of Class
org.anchoranalysis.image.voxel.Voxels
Packages that use Voxels
Package
Description
Conversions and operations involving Java AWT's
BufferedImage.The
Channel core data-class and related operations
and converters.Factory classes for creating
Channel for various
voxel data-types.An image with only two permissible states.
Binary operations involving voxelwise combination of
Mask.Labelling elements (object-masks or similar) with unique successive integers in a channel.
Defines the key data object,
Stack, and related
classes.Non-beans pertaining to segmentation of images via model inference.
Data-structures to store and manipulate image raster-data or voxels.
Assigns values to some or all voxels.
The
BinaryVoxels class and related operations.A buffer of voxel-values, usually corresponding to a single z-slice in
Voxels.Converting
Voxels to different data-types.Converts anchor data-structures to the
BufferedImage used by Java's AWT.Converts anchor data-structures to those used by ImgLib2.
Methods to read/copy/duplicate portions of voxels.
Methods to find or count voxels that satisfy a predicate.
Creates new instances of
Voxels and VoxelsUntyped with specific data-types.Utilities to iterate over voxel-locations in images and sub-regions of images.
Like
org.anchoranalysis.image.voxel.iterator but refers to iterators that operation over
the intersecting regions of two entities.Applying a kernel via
convolution to voxels.
The fundamental data class that is an
ObjectMask
and related structures.Classes for calculating differnet kind of projections of voxel values across multiple buffers.
Thresholding operations on voxels.
Converts the byte stream opened by Bioformats into channels of particular data-type.
Converts to and from ImageJ data-structures for images.
Calculating overlaps between two
Marks.Euclidean Distance Transform
implementations via FIJI.
Non-beans pertaining to segmenting a z-stack slice-by-slice.
Encoding voxels in a watershed-transformation implementation.
Conversion to/from OpenCV data-structures.
Testing utilities and fixtures with no greater downstream dependency than anchor-image-io
or anchor-io-bioformats or anchor-imagej.
-
Uses of Voxels in org.anchoranalysis.image.core.bufferedimage
Methods in org.anchoranalysis.image.core.bufferedimage with parameters of type VoxelsModifier and TypeMethodDescriptionstatic BufferedImageBufferedImageFromStack.createRGB(Voxels<UnsignedByteBuffer> red, Voxels<UnsignedByteBuffer> green, Voxels<UnsignedByteBuffer> blue, Extent extent) Creates aBufferedImagefrom threeVoxels<UnsignedByteBuffer>representing respectively, red, green, blue color components. -
Uses of Voxels in org.anchoranalysis.image.core.channel
Methods in org.anchoranalysis.image.core.channel with parameters of type VoxelsModifier and TypeMethodDescriptionvoidChannel.replaceVoxels(Voxels<?> voxelsToAssign) Assigns new voxels to replace the existing voxels.Constructors in org.anchoranalysis.image.core.channel with parameters of type VoxelsModifierConstructorDescriptionChannel(Voxels<?> voxels, Optional<Resolution> resolution) Creates for particular voxels and resolution. -
Uses of Voxels in org.anchoranalysis.image.core.channel.factory
Methods in org.anchoranalysis.image.core.channel.factory with parameters of type VoxelsModifier and TypeMethodDescriptionCreate aChannelfrom particular voxels.ChannelFactory.create(Voxels<?> voxels, Optional<Resolution> resolution) Create aChannelfrom particular voxels.ChannelFactorySingleType.create(Voxels<?> voxels, Optional<Resolution> resolution) Create aChannelfrom voxels and a resolution. -
Uses of Voxels in org.anchoranalysis.image.core.mask
Methods in org.anchoranalysis.image.core.mask that return VoxelsMethods in org.anchoranalysis.image.core.mask with parameters of type VoxelsModifier and TypeMethodDescriptionstatic RunningSumIterateVoxelsMask.calculateRunningSum(Mask mask, Voxels<UnsignedByteBuffer> voxelsIntensity) Calculates the sum and count across voxels intensity that correspond to on voxels on a maskstatic <T> voidIterateVoxelsMask.withBuffer(Mask mask, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel in a mask - with an associated buffer for each slice from a voxel-bo -
Uses of Voxels in org.anchoranalysis.image.core.mask.combine
Methods in org.anchoranalysis.image.core.mask.combine with parameters of type VoxelsModifier and TypeMethodDescriptionstatic voidMaskAnd.apply(Voxels<UnsignedByteBuffer> voxelsFirst, Voxels<UnsignedByteBuffer> voxelsSecond, BinaryValuesByte binaryValuesFirst, BinaryValuesByte binaryValuesSecond) Performs a logical and operation on each voxel in twoVoxels(considered to be masks), writing the result onto the second mask. -
Uses of Voxels in org.anchoranalysis.image.core.object.label
Constructors in org.anchoranalysis.image.core.object.label with parameters of type VoxelsModifierConstructorDescriptionDecodeLabels(Voxels<?> voxels, int minLabelInclusive, int maxLabelInclusive, DecodeLabels.CreateElementFromScaledObject<T> createScaledElement) Creates a newDecodeLabelsinstance. -
Uses of Voxels in org.anchoranalysis.image.core.stack
Methods in org.anchoranalysis.image.core.stack with parameters of type VoxelsModifier and TypeMethodDescriptionvoidDisplayStack.copyPixelsTo(int channelIndex, BoundingBox sourceBox, Voxels<UnsignedByteBuffer> destinationVoxels, BoundingBox destinationBox) Copies pixels from a particular channel to an output buffer. -
Uses of Voxels in org.anchoranalysis.image.inference.segment
Methods in org.anchoranalysis.image.inference.segment with parameters of type VoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels<UnsignedByteBuffer> ScaleAndThresholdVoxels.scaleAndThreshold(Voxels<FloatBuffer> voxels, Extent targetSize, VoxelsResizer resizer, float maskMinValue) Scales voxels representing a mask to a target size, and then thresholds. -
Uses of Voxels in org.anchoranalysis.image.voxel
Subclasses of Voxels in org.anchoranalysis.image.voxelModifier and TypeClassDescriptionfinal classImplementation ofVoxelswhose voxels are of type float.final classImplementation ofVoxelswhose voxels are of type unsigned byte (8-bit).final classImplementation ofVoxelswhose voxels are of type unsigned int (32-bit).final classImplementation ofVoxelswhose voxels are of type unsigned short (16-bit).Methods in org.anchoranalysis.image.voxel that return VoxelsModifier and TypeMethodDescriptionVoxels<?> VoxelsUntyped.any()Exposes without any specific buffer type.VoxelsUntyped.asByte()Casts to use aUnsignedByteBufferif the voxels contain this data-type, otherwise throws aIncorrectVoxelTypeException.VoxelsUntyped.asFloat()Casts to use aFloatBufferif the voxels contain this data-type, otherwise throws aIncorrectVoxelTypeException.VoxelsUntyped.asInt()Casts to use aUnsignedIntBufferif the voxels contain this data-type, otherwise throws aIncorrectVoxelTypeException.VoxelsUntyped.asShort()Casts to use aUnsignedShortBufferif the voxels contain this data-type, otherwise throws aIncorrectVoxelTypeException.Voxels<?> VoxelsUntyped.checkIdenticalDataType(VoxelDataType match) Do the voxels have a data-type that is equal tomatch?Voxels.duplicate()A deep-copy.BoundedVoxels.voxels()Voxel-data that fits inside the bounding-box (its extent is invariant with the extent of the bounding-box).Methods in org.anchoranalysis.image.voxel with parameters of type VoxelsModifier and TypeMethodDescriptionbooleanVoxels.equalsDeep(Voxels<?> other) Are the voxels identical to another voxels (deep equals)?BoundedVoxels.replaceVoxels(Voxels<T> voxelsToAssign) Replaces the voxels in the box.Constructors in org.anchoranalysis.image.voxel with parameters of type VoxelsModifierConstructorDescriptionBoundedVoxels(Voxels<T> voxels) Creates voxels bounded to match the entire voxel-data at the origin.BoundedVoxels(BoundingBox boundingBox, Voxels<T> voxels) Creates voxels with a corresponding bounding box.VoxelsUntyped(Voxels<?> voxels) Creates to wrap aVoxelsof unspecified type. -
Uses of Voxels in org.anchoranalysis.image.voxel.assigner
Methods in org.anchoranalysis.image.voxel.assigner with parameters of type VoxelsModifier and TypeMethodDescriptionstatic VoxelsAssignerVoxelsAssignerFactory.createFloat(Voxels<FloatBuffer> voxels, int valueToAssign) Create aVoxelsAssignerfor aFloatBuffer.static VoxelsAssignerVoxelsAssignerFactory.createUnsignedByte(Voxels<UnsignedByteBuffer> voxels, int valueToAssign) Create aVoxelsAssignerfor aUnsignedByteBuffer.static VoxelsAssignerVoxelsAssignerFactory.createUnsignedInt(Voxels<UnsignedIntBuffer> voxels, int valueToAssign) Create a aVoxelsAssignerfor aUnsignedIntBuffer.static VoxelsAssignerVoxelsAssignerFactory.createUnsignedShort(Voxels<UnsignedShortBuffer> voxels, int valueToAssign) Create aVoxelsAssignerfor aUnsignedShortBuffer. -
Uses of Voxels in org.anchoranalysis.image.voxel.binary
Methods in org.anchoranalysis.image.voxel.binary that return VoxelsModifier and TypeMethodDescriptionBinaryVoxels.voxels()Voxels that should only have two intensity-values (representing on and off states).Methods in org.anchoranalysis.image.voxel.binary with parameters of type VoxelsModifier and TypeMethodDescriptionprotected abstract BinaryVoxels<T> BinaryVoxels.binaryVoxelsFor(Voxels<T> voxels, BinaryValuesInt binaryValues) Creates aBinaryVoxelscorresponding to a particular voxels andBinaryValuesInt.static BinaryVoxels<UnsignedByteBuffer> BinaryVoxelsFactory.reuseByte(Voxels<UnsignedByteBuffer> voxels) LikeBinaryVoxelsFactory.reuseByte(org.anchoranalysis.image.voxel.Voxels<org.anchoranalysis.image.voxel.buffer.primitive.UnsignedByteBuffer>)but uses default binary-values for off (0) and on (255).static BinaryVoxels<UnsignedByteBuffer> BinaryVoxelsFactory.reuseByte(Voxels<UnsignedByteBuffer> voxels, BinaryValuesInt binaryValues) Reuses an existing voxel-buffer (of type unsigned byte) as a binary-version which should have only two intensity-values representing off and on.static BinaryVoxels<UnsignedIntBuffer> BinaryVoxelsFactory.reuseInt(Voxels<UnsignedIntBuffer> voxels, BinaryValuesInt binaryValues) Reuses an existing voxel-buffer (of type unsigned int) as a binary-version which should have only two intensity-values representing off and on.Constructors in org.anchoranalysis.image.voxel.binary with parameters of type VoxelsModifierConstructorDescriptionBinaryVoxels(Voxels<T> voxels, BinaryValuesInt binaryValues) Creates a newBinaryVoxelsinstance. -
Uses of Voxels in org.anchoranalysis.image.voxel.buffer
Methods in org.anchoranalysis.image.voxel.buffer that return VoxelsModifier and TypeMethodDescriptionProjectableBuffer.completeProjection()Performs any final operation before turning the projected buffer.SlidingBuffer.getVoxels()The voxels from which buffers corresponding to slices are extracted.Methods in org.anchoranalysis.image.voxel.buffer with parameters of type VoxelsConstructors in org.anchoranalysis.image.voxel.buffer with parameters of type Voxels -
Uses of Voxels in org.anchoranalysis.image.voxel.convert
Methods in org.anchoranalysis.image.voxel.convert that return VoxelsModifier and TypeMethodDescription<S,T> Voxels <S> VoxelsConverterMulti.convert(VoxelsUntyped voxels, VoxelsFactoryTypeBound<T> outputVoxelsFactory) Converts aVoxelsto another type.VoxelsConverter.convertFrom(VoxelsUntyped from, VoxelsFactoryTypeBound<T> factory) Creates a new voxels of typeTand copies the voxels fromfrom.Methods in org.anchoranalysis.image.voxel.convert with parameters of type VoxelsModifier and TypeMethodDescriptionvoidVoxelsConverter.copyFrom(VoxelsUntyped from, Voxels<T> to) Copies voxels from a source (of any type) to voxels of typeT.voidVoxelsConverter.copyFromFloat(Voxels<FloatBuffer> from, Voxels<T> to) Copies voxels from a source of type @{link FloatBuffer} to voxels of typeT.voidVoxelsConverter.copyFromUnsignedByte(Voxels<UnsignedByteBuffer> from, Voxels<T> to) Copies voxels from a source of type @{link UnsignedByteBuffer} to voxels of typeT.voidVoxelsConverter.copyFromUnsignedInt(Voxels<UnsignedIntBuffer> from, Voxels<T> to) Copies voxels from a source of type @{link UnsignedIntBuffer} to voxels of typeT.voidVoxelsConverter.copyFromUnsignedShort(Voxels<UnsignedShortBuffer> from, Voxels<T> to) Copies voxels from a source of type @{link UnsignedShortBuffer} to voxels of typeT. -
Uses of Voxels in org.anchoranalysis.image.voxel.convert.bufferedimage
Methods in org.anchoranalysis.image.voxel.convert.bufferedimage with parameters of type VoxelsModifier and TypeMethodDescriptionstatic BufferedImageBufferedImageFromVoxels.createGrayscaleByte(Voxels<UnsignedByteBuffer> voxels) Creates aBufferedImagefrom aVoxels<UnsignedByteBuffer>.static BufferedImageBufferedImageFromVoxels.createGrayscaleShort(Voxels<UnsignedShortBuffer> voxels) Creates aBufferedImagefrom aVoxels<UnsignedShortBuffer>. -
Uses of Voxels in org.anchoranalysis.image.voxel.convert.imglib2
Methods in org.anchoranalysis.image.voxel.convert.imglib2 with parameters of type VoxelsModifier and TypeMethodDescriptionstatic net.imglib2.img.Img<net.imglib2.type.numeric.integer.UnsignedByteType> ConvertToImg.fromByte(Voxels<UnsignedByteBuffer> voxels) Creates anImgfromVoxelswith an unsigned byte data-type.static net.imglib2.img.NativeImg<net.imglib2.type.numeric.integer.UnsignedByteType, net.imglib2.img.basictypeaccess.array.ByteArray> ConvertToNativeImg.fromByte(Voxels<UnsignedByteBuffer> voxels) Creates anNativeImgfromVoxelswith an unsigned byte data-type.static net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> ConvertToImg.fromFloat(Voxels<FloatBuffer> voxels) Creates anImgfromVoxelswith a float data-type.static net.imglib2.img.NativeImg<net.imglib2.type.numeric.real.FloatType, net.imglib2.img.basictypeaccess.array.FloatArray> ConvertToNativeImg.fromFloat(Voxels<FloatBuffer> voxels) Creates anNativeImgfromVoxelswith a float data-type.static net.imglib2.img.Img<net.imglib2.type.numeric.integer.UnsignedShortType> ConvertToImg.fromShort(Voxels<UnsignedShortBuffer> voxels) Creates anImgfromVoxelswith an unsigned short data-type.static net.imglib2.img.NativeImg<net.imglib2.type.numeric.integer.UnsignedShortType, net.imglib2.img.basictypeaccess.array.ShortArray> ConvertToNativeImg.fromShort(Voxels<UnsignedShortBuffer> voxels) Creates anNativeImgfromVoxelswith an unsigned short data-type. -
Uses of Voxels in org.anchoranalysis.image.voxel.extracter
Methods in org.anchoranalysis.image.voxel.extracter that return VoxelsModifier and TypeMethodDescriptionVoxelsExtracter.projectMax()A maximum intensity projection of all slicesVoxelsExtracter.projectMean()A mean intensity projection of all slices.VoxelsExtracter.region(BoundingBox box, boolean reuseIfPossible) A (sub-)region of the voxels.VoxelsExtracter.resizedXY(int sizeX, int sizeY, VoxelsResizer resizer) Creates a new voxels that are a resized version of the current voxels (only in X and Y dimensions), interpolating as needed.VoxelsExtracter.slice(int sliceIndex) Creates a newVoxelswith only particular slice.Methods in org.anchoranalysis.image.voxel.extracter with parameters of type VoxelsModifier and TypeMethodDescriptionvoidVoxelsExtracter.boxCopyTo(BoundingBox from, Voxels<T> voxelsDestination, BoundingBox destinationBox) Copies a bounding-box area to anotherVoxels.static VoxelsExtracter<FloatBuffer> VoxelsExtracterFactory.createFloat(Voxels<FloatBuffer> voxels) Create voxels-extracter forFloatBuffer.static VoxelsExtracter<UnsignedByteBuffer> VoxelsExtracterFactory.createUnsignedByte(Voxels<UnsignedByteBuffer> voxels) Create voxels-extracter forUnsignedByteBuffer.static VoxelsExtracter<UnsignedIntBuffer> VoxelsExtracterFactory.createUnsignedInt(Voxels<UnsignedIntBuffer> voxels) Create voxels-extracter forUnsignedIntBuffer.static VoxelsExtracter<UnsignedShortBuffer> VoxelsExtracterFactory.createUnsignedShort(Voxels<UnsignedShortBuffer> voxels) Create voxels-extracter forUnsignedShortBuffer.voidVoxelsExtracter.objectCopyTo(ObjectMask from, Voxels<T> voxelsDestination, BoundingBox destinationBox) Copies an area corresponding to an object-mask to anotherVoxels. -
Uses of Voxels in org.anchoranalysis.image.voxel.extracter.predicate
Constructors in org.anchoranalysis.image.voxel.extracter.predicate with parameters of type VoxelsModifierConstructorDescriptionPredicateImplementation(Voxels<T> voxels, Predicate<T> predicate) Creates a newPredicateImplementationinstance. -
Uses of Voxels in org.anchoranalysis.image.voxel.factory
Methods in org.anchoranalysis.image.voxel.factory that return VoxelsModifier and TypeMethodDescriptionVoxelsFactoryTypeBound.create(SliceBufferIndex<T> voxels) Create a newVoxelsthat has been initialized with buffers fromSliceBufferIndex.VoxelsFactoryTypeBound.createForVoxelBuffer(VoxelBuffer<T> buffer, Extent extent) Create a newVoxelsthat has been initialized with a single-slice's memory buffers.VoxelsFactoryTypeBound.createInitialized(Extent extent) Create a newVoxelsthat has been initialized with memory buffers.VoxelsFactoryTypeBound.createUninitialized(Extent extent) Create a newVoxelsthat has not yet been initialized with memory buffers. -
Uses of Voxels in org.anchoranalysis.image.voxel.iterator
Methods in org.anchoranalysis.image.voxel.iterator with parameters of type VoxelsModifier and TypeMethodDescriptionstatic <T> booleanIterateVoxelsObjectMask.allMatchIntensity(ObjectMask object, Voxels<T> voxels, IntPredicate predicate) Do all points on an object-mask match a predicate on the point's voxel-intensity?static <T> booleanIterateVoxelsAll.anyPredicateMatch(Voxels<T> voxels, Predicate<T> predicate) Tries to apply a predicate to all the remaining buffer locations, returning true if the predicate matches.static voidIterateVoxelsAll.assignEachMatchingPoint(Voxels<?> voxels, IntPredicate predicate, int valueToAssign) Assigns a value to any voxel whose intensity matches a predicate, reading and writing the buffer as anint.static voidIterateVoxelsAll.binaryOperation(Voxels<UnsignedByteBuffer> voxelsIn1, Voxels<UnsignedByteBuffer> voxelsIn2, Voxels<UnsignedByteBuffer> voxelsOut, IntBinaryOperator operation) Iterate over each voxel in a bounding-box - applying a binary operation with values from two inputVoxels<UnsignedByteBuffer>for each slice and writing it into an outputVoxels<UnsignedByteBuffer>.static voidIterateVoxelsAll.changeIntensity(Voxels<?> voxels, IntUnaryOperator operator) Changes each voxel, reading and writing the buffer as anint.static voidIterateVoxelsEqualTo.equalToPrimitive(Voxels<UnsignedByteBuffer> voxels, byte equalToValue, ScalarThreeDimensionalConsumer consumer) Iterates through all points with a specific voxel intensity-value, passing coordinates as primitive types.static voidIterateVoxelsEqualTo.equalToPrimitiveSlice(Voxels<UnsignedByteBuffer> voxels, int sliceIndex, byte equalToValue, ScalarThreeDimensionalConsumer consumer) static voidIterateVoxelsEqualTo.equalToReusePoint(Voxels<UnsignedByteBuffer> voxels, byte equalToValue, Consumer<Point3i> consumer) Iterates all points with a specific voxel intensity-value, reusing thePoint3iin each iteration.static <T extends UnsignedBufferAsInt>
intIterateVoxelsAll.intensityMax(Voxels<T> voxels) Finds the maximum intensity-value (as an int) among all voxels.static <T extends UnsignedBufferAsInt>
intIterateVoxelsAll.intensityMin(Voxels<T> voxels) Finds the minimum intensity-value (as an int) among all voxels.static <T extends UnsignedBufferAsInt>
MinMaxRangeIterateVoxelsAll.intensityMinMax(Voxels<T> voxels) Finds the maximum intensity-value (as an int) among all voxels.static <T> voidIterateVoxelsAll.withBuffer(Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel - with one associated buffer for each slice.static <T> voidIterateVoxelsBoundingBox.withBuffer(BoundingBox box, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel in a bounding-box - with one associated buffer for each slicestatic <T> voidIterateVoxelsObjectMask.withBuffer(ObjectMask object, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel in an object-mask - with one associated buffer for each slice fromVoxels.static <T> voidIterateVoxelsObjectMaskOptional.withBuffer(Optional<ObjectMask> objectMask, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel (or optionally only on object-mask) with one associated buffer.static <T> voidIterateVoxelsAll.withThreeBuffers(Voxels<T> voxels1, Voxels<T> voxels2, Voxels<T> voxels3, ProcessBufferTernary<T> process) Iterate over each voxel - with three associated buffers for each slice.static <T> voidIterateVoxelsBoundingBox.withThreeBuffers(BoundingBox box, ReadableTuple3i shiftForSecond, ReadableTuple3i shiftForThird, Voxels<T> voxels1, Voxels<T> voxels2, Voxels<T> voxels3, ProcessBufferTernary<T> process) Iterate over each voxel in a bounding-box - with three associated buffers for each slice.static <T> voidIterateVoxelsBoundingBox.withTwoBuffers(BoundingBox box, ReadableTuple3i shiftForSecond, Voxels<T> voxels1, Voxels<T> voxels2, ProcessBufferBinary<T, T> process) Iterate over each voxel in a bounding-box - with two associated buffers for each slice, oneVoxelBufferand oneBufferstatic <S,T> void IterateVoxelsObjectMask.withTwoBuffers(ObjectMask object, Voxels<S> voxels1, Voxels<T> voxels2, ProcessBufferBinary<S, T> process) Iterate over each voxel with a corresponding on value in an object-mask - and with two associated buffers for each slice covering the all the global space i.e. the entire image.static <S,T> void IterateVoxelsObjectMaskOptional.withTwoBuffers(Optional<ObjectMask> objectMask, Voxels<S> voxels1, Voxels<T> voxels2, ProcessBufferBinary<S, T> process) Iterate over each voxel (or optionally only on object-mask) with two associated buffers.static <S,T> void IterateVoxelsAll.withTwoBuffersAndPoint(Voxels<S> voxels1, Voxels<T> voxels2, ProcessBufferBinary<S, T> process) Iterate over each voxel - with two associated buffers for each sliceIterateVoxelsBoundingBox.withTwoBuffersUntil(BoundingBox box, ReadableTuple3i shiftForSecond, Voxels<T> voxels1, Voxels<T> voxels2, PredicateBufferBinary<T> predicate) Iterate over each voxel in a bounding-box - with two associated buffers for each slice - until a predicate evaluates to true.static <S,T> void IterateVoxelsAll.withTwoMixedBuffers(Voxels<S> voxels1, Voxels<T> voxels2, ProcessVoxelBufferBinaryMixed<S, T> process) Iterate over each voxel in a bounding-box - with one associated voxel-buffer and one associated buffer for each slice.static <S,T> void IterateVoxelsBoundingBox.withTwoMixedBuffers(BoundingBox box, ReadableTuple3i shiftForSecond, Voxels<S> voxels1, Voxels<T> voxels2, ProcessBufferBinaryMixed<S, T> process) Iterate over each voxel in a bounding-box - with two associated buffers for each slice.static <S,T> void IterateVoxelsObjectMask.withTwoMixedBuffers(ObjectMask object, Voxels<S> voxels1, Voxels<T> voxels2, ProcessVoxelBufferBinaryMixed<S, T> process) Iterate over each voxel in an object-mask - with one associated voxel-buffer and one associated buffer for each slice.static <S,T> void IterateVoxelsAll.withTwoVoxelBuffers(Voxels<S> voxels1, Voxels<T> voxels2, ProcessVoxelBufferBinary<S, T> process) Iterate over each voxel in a bounding-box - with two associated voxel-buffers for each slicestatic <S,T> void IterateVoxelsObjectMask.withTwoVoxelBuffers(ObjectMask object, Voxels<S> voxels1, Voxels<T> voxels2, ProcessVoxelBufferBinary<S, T> process) Iterate over each voxel in an object-mask - with two associated voxel-buffers and for each slice.static <T> voidIterateVoxelsAll.withVoxelBuffer(Voxels<T> voxels, ProcessVoxelBufferUnary<T> process) Iterate over each voxel - with one associated voxel-buffer for each slice.static <T,E extends Exception>
voidIterateVoxelsAll.withVoxelBuffer(Voxels<T> voxels, ProcessVoxelBufferUnaryWithPoint<T, E> process) Iterate over each voxel - with one associated voxel-buffer for each slice.static <T> voidIterateVoxelsObjectMask.withVoxelBuffer(ObjectMask object, Voxels<T> voxels, Optional<BoundingBox> restrictTo, ProcessVoxelBufferUnary<T> process) Iterate over each voxel on an object-mask with one associatedVoxelBuffer.static <T> voidIterateVoxelsObjectMask.withVoxelBuffer(ObjectMask object, Voxels<T> voxels, ProcessVoxelBufferUnary<T> process) Iterate over each voxel on an object-mask with one associatedVoxelBuffer. -
Uses of Voxels in org.anchoranalysis.image.voxel.iterator.intersecting
Methods in org.anchoranalysis.image.voxel.iterator.intersecting with parameters of type VoxelsModifier and TypeMethodDescriptionstatic intCountVoxelsIntersectingBounded.countByteMasked(Voxels<UnsignedByteBuffer> maskGlobal, byte onMaskGlobal, BoundedVoxels<UnsignedByteBuffer> voxels1, BoundedVoxels<UnsignedByteBuffer> voxels2, PredicateTwoBytes predicate) Counts all voxels intersection of two bounded-voxels of typeBoundedVoxelsbut only voxels that lie on an object-mask and match a predicate.static voidIterateVoxelsIntersectingBounded.withTwoBuffers(Voxels<UnsignedByteBuffer> maskGlobal, byte onMaskGlobal, BoundedVoxels<UnsignedByteBuffer> voxels1, BoundedVoxels<UnsignedByteBuffer> voxels2, ProcessBufferBinary<UnsignedByteBuffer, UnsignedByteBuffer> process) Iterates over the intersection of two bounded-voxels of typeBoundedVoxelsbut only voxels that lie on an object-mask. -
Uses of Voxels in org.anchoranalysis.image.voxel.kernel
Constructors in org.anchoranalysis.image.voxel.kernel with parameters of type VoxelsModifierConstructorDescriptionLocalSlices(int z, int windowSize, Voxels<UnsignedByteBuffer> voxels) Create with focus around a particular slice. -
Uses of Voxels in org.anchoranalysis.image.voxel.object
Methods in org.anchoranalysis.image.voxel.object that return VoxelsModifier and TypeMethodDescriptionObjectMask.voxels()The underlying voxel memory buffers for the object-mask, exposed viaVoxels.Methods in org.anchoranalysis.image.voxel.object with parameters of type VoxelsModifier and TypeMethodDescriptionObjectMask.replaceVoxels(Voxels<UnsignedByteBuffer> voxelsToAssign) Replaces the voxels in the object-mask.Constructors in org.anchoranalysis.image.voxel.object with parameters of type VoxelsModifierConstructorDescriptionObjectMask(Voxels<UnsignedByteBuffer> voxels) Creates from aVoxelsmask that is cornered at the origin.ObjectMask(BoundingBox box, Voxels<UnsignedByteBuffer> voxels) ObjectMask(BoundingBox box, Voxels<UnsignedByteBuffer> voxels, BinaryValuesByte binaryValues) LikeObjectMask(BoundingBox, Voxels, BinaryValuesInt)but specifies the binary-values as bytes.ObjectMask(BoundingBox box, Voxels<UnsignedByteBuffer> voxels, BinaryValuesInt binaryValues) -
Uses of Voxels in org.anchoranalysis.image.voxel.projection
Fields in org.anchoranalysis.image.voxel.projection declared as VoxelsModifier and TypeFieldDescriptionprotected final Voxels<FloatBuffer> CountedProjectableBuffer.voxelsSumAccumulates the sum of voxel values.Methods in org.anchoranalysis.image.voxel.projection that return VoxelsModifier and TypeMethodDescriptionCountedProjectableBuffer.flattenFrom(Voxels<FloatBuffer> voxels) Flattens the accumulated voxels to the target type.Methods in org.anchoranalysis.image.voxel.projection with parameters of type VoxelsModifier and TypeMethodDescriptionvoidprotected voidCountedProjectableBuffer.divideVoxelsByCount(Voxels<FloatBuffer> voxels) Divides all voxel values by the count of added voxels.CountedProjectableBuffer.flattenFrom(Voxels<FloatBuffer> voxels) Flattens the accumulated voxels to the target type. -
Uses of Voxels in org.anchoranalysis.image.voxel.thresholder
Methods in org.anchoranalysis.image.voxel.thresholder with parameters of type VoxelsModifier and TypeMethodDescriptionstatic voidVoxelsThresholder.thresholdByte(Voxels<UnsignedByteBuffer> voxels, int level, BinaryValuesByte binaryValues) Applies thresholding toVoxelsof unsigned byte data type.static BinaryVoxels<UnsignedByteBuffer> VoxelsThresholder.thresholdFloat(Voxels<FloatBuffer> voxels, float level, BinaryValuesByte binaryValues) Applies thresholding toVoxelsof float data type. -
Uses of Voxels in org.anchoranalysis.io.bioformats.copyconvert
Constructor parameters in org.anchoranalysis.io.bioformats.copyconvert with type arguments of type VoxelsModifierConstructorDescriptionConvertTo(Function<VoxelsUntyped, Voxels<T>> functionCast, IntFunction<T> allocateBuffer, Function<T, VoxelBuffer<T>> wrapBuffer) Creates a newConvertToinstance. -
Uses of Voxels in org.anchoranalysis.io.imagej.convert
Methods in org.anchoranalysis.io.imagej.convert with parameters of type VoxelsModifier and TypeMethodDescriptionstatic ij.ImagePlusConvertToImagePlus.fromSlice(Voxels<UnsignedByteBuffer> voxels, int sliceIndex, String name) Creates anImagePlusfrom one slice of aVoxels<UnsignedByteBuffer> voxels. -
Uses of Voxels in org.anchoranalysis.mpp.overlap
Methods in org.anchoranalysis.mpp.overlap with parameters of type VoxelsModifier and TypeMethodDescriptionintCountIntersectingVoxels.countMasked(BoundedVoxels<UnsignedByteBuffer> voxels1, BoundedVoxels<UnsignedByteBuffer> voxels2, Voxels<UnsignedByteBuffer> maskGlobal, byte onMaskGlobal) Counts the number of intersecting voxels between two bounded voxel sets, considering a global mask.static doubleOverlapUtilities.overlapWithMaskGlobal(VoxelizedMarkMemo memo1, VoxelizedMarkMemo memo2, int regionID, Voxels<UnsignedByteBuffer> globalMask, byte onGlobalMask) Counts the number of overlapping voxels between twoVoxelizedMarkMemoobjects, considering a global mask. -
Uses of Voxels in org.anchoranalysis.plugin.fiji.bean.channel.provider.distance
Methods in org.anchoranalysis.plugin.fiji.bean.channel.provider.distance that return VoxelsModifier and TypeMethodDescriptionDistanceTransform3D.createDistanceMapForVoxels(BinaryVoxels<UnsignedByteBuffer> voxels, Optional<Resolution> resolution, float multiplyByZRes) Creates a distance map for binary voxels. -
Uses of Voxels in org.anchoranalysis.plugin.image.segment.thresholder.slice
Methods in org.anchoranalysis.plugin.image.segment.thresholder.slice with parameters of type VoxelsModifier and TypeMethodDescriptionabstract voidSliceThresholder.segmentAll(Voxels<?> voxelsIn, Voxels<?> voxelsThreshold, Voxels<UnsignedByteBuffer> voxelsOut) Segments all slices in the input voxels.voidSliceThresholderMask.segmentAll(Voxels<?> voxelsIn, Voxels<?> voxelsThreshold, Voxels<UnsignedByteBuffer> voxelsOut) voidSliceThresholderWithoutMask.segmentAll(Voxels<?> voxelsIn, Voxels<?> voxelsThreshold, Voxels<UnsignedByteBuffer> voxelsOut) -
Uses of Voxels in org.anchoranalysis.plugin.image.segment.watershed.encoding
Methods in org.anchoranalysis.plugin.image.segment.watershed.encoding that return VoxelsModifier and TypeMethodDescriptionEncodedVoxels.voxels()The voxels containing encoded information.Constructors in org.anchoranalysis.plugin.image.segment.watershed.encoding with parameters of type VoxelsModifierConstructorDescriptionEncodedVoxels(Voxels<UnsignedIntBuffer> voxels) Creates a newEncodedVoxelsinstance. -
Uses of Voxels in org.anchoranalysis.plugin.opencv.convert
Methods in org.anchoranalysis.plugin.opencv.convert with parameters of type VoxelsModifier and TypeMethodDescriptionstatic org.opencv.core.MatConvertToMat.fromVoxelsByte(Voxels<UnsignedByteBuffer> voxels) static org.opencv.core.MatConvertToMat.fromVoxelsFloat(Voxels<FloatBuffer> voxels) static org.opencv.core.MatConvertToMat.fromVoxelsShort(Voxels<UnsignedShortBuffer> voxels) -
Uses of Voxels in org.anchoranalysis.test.image
Methods in org.anchoranalysis.test.image with parameters of type VoxelsModifier and TypeMethodDescriptionvoidWriteIntoDirectory.writeVoxels(String outputName, Voxels<UnsignedByteBuffer> voxels) Writes Voxels to the output directory.