Uses of Class
org.anchoranalysis.image.voxel.binary.BinaryVoxels
Packages that use BinaryVoxels
Package
Description
Base classes to perform binary-segmentation.
Base classes for thresholding and calculating levels for thresholding.
An image with only two permissible states.
Binary operations involving voxelwise combination of
Mask
.Non-beans pertaining to segmentation of images via model inference.
The
BinaryVoxels
class and related operations.Utilities to iterate over voxel-locations in images and sub-regions of images.
Routines for moving a
KernelPointCursor
around the
neighboring voxels of the point.Applying a kernel via
convolution to voxels.
Kernel to find outline voxels on an object.
The fundamental data class that is an
ObjectMask
and related structures.Morphological operations
applied to
ObjectMask
s.Predicates to match certain voxels as used in
org.anchoranalysis.image.voxel.object.morphological
.Thresholding operations on voxels.
Euclidean Distance Transform
implementations via FIJI.
Implementations of
Thresholder
that use FIJI.Implementations of
BinarySegmentation
.Implementations of
Thresholder
that call ImageJ.Implementations of
ChannelProvider
that call ImageJ.Non-bean classes involving
ObjectMask
that call ImageJ.-
Uses of BinaryVoxels in org.anchoranalysis.image.bean.segment.binary
Methods in org.anchoranalysis.image.bean.segment.binary that return BinaryVoxelsModifier and TypeMethodDescriptionabstract BinaryVoxels
<UnsignedByteBuffer> BinarySegmentation.segment
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) Performs a segmentation on voxels so that each voxel has an on or off state after the operation.BinarySegmentationReference.segment
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) BinarySegmentationThreshold.segment
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) BinarySegmentationUnary.segment
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) protected abstract BinaryVoxels
<UnsignedByteBuffer> BinarySegmentationUnary.segmentFromExistingSegmentation
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask, BinarySegmentation segment) Performs a binary-segmentation, in a similar manner toBinarySegmentation.segment(org.anchoranalysis.image.voxel.VoxelsUntyped, org.anchoranalysis.image.bean.nonbean.segment.BinarySegmentationParameters, java.util.Optional<org.anchoranalysis.image.voxel.object.ObjectMask>)
but with the delegate as additional argument. -
Uses of BinaryVoxels in org.anchoranalysis.image.bean.threshold
Methods in org.anchoranalysis.image.bean.threshold that return BinaryVoxelsModifier and TypeMethodDescriptionThresholder.threshold
(VoxelsUntyped voxels) LikeThresholder.threshold(VoxelsUntyped)
but using default binary-values.Thresholder.threshold
(VoxelsUntyped voxels, BinaryValuesByte binaryValues) LikeThresholder.threshold(VoxelsUntyped, BinaryValuesByte, Optional, Optional)
applying the thresholding to the entire set of voxels.abstract BinaryVoxels
<UnsignedByteBuffer> Thresholder.threshold
(VoxelsUntyped voxels, BinaryValuesByte binaryValues, Optional<Histogram> histogram, Optional<ObjectMask> objectMask) Thresholds voxels (across a range of values) so that they have only binary range (i.e. two voxel values representing on and off).ThresholderGlobal.threshold
(VoxelsUntyped inputBuffer, BinaryValuesByte bvOut, Optional<Histogram> histogram, Optional<ObjectMask> objectMask) -
Uses of BinaryVoxels in org.anchoranalysis.image.core.mask
Methods in org.anchoranalysis.image.core.mask that return BinaryVoxelsModifier and TypeMethodDescriptionMask.binaryVoxels()
The underlying voxels in the mask, exposed asBinaryVoxels
.Methods in org.anchoranalysis.image.core.mask with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionvoid
Mask.replaceBy
(BinaryVoxels<UnsignedByteBuffer> voxels) Replaces the underlying voxels in the mask with new voxels.Constructors in org.anchoranalysis.image.core.mask with parameters of type BinaryVoxelsModifierConstructorDescriptionMask
(BinaryVoxels<UnsignedByteBuffer> voxels) Creates a mask from an existing binary-voxels using default image resolution.Mask
(BinaryVoxels<UnsignedByteBuffer> voxels, Optional<Resolution> resolution) Creates a mask from an existing binary-voxels and a specific image resolution. -
Uses of BinaryVoxels in org.anchoranalysis.image.core.mask.combine
Methods in org.anchoranalysis.image.core.mask.combine with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic void
MaskXor.apply
(BinaryVoxels<UnsignedByteBuffer> voxelsFirst, BinaryVoxels<UnsignedByteBuffer> voxelsSecond) Performs a logical xor (exclusive or) operation on each voxel in twoVoxels
(considered to be masks), writing the result onto the second mask. -
Uses of BinaryVoxels in org.anchoranalysis.image.inference.segment
Methods in org.anchoranalysis.image.inference.segment that return BinaryVoxelsModifier 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 BinaryVoxels in org.anchoranalysis.image.voxel.binary
Methods in org.anchoranalysis.image.voxel.binary that return BinaryVoxelsModifier and TypeMethodDescriptionprotected abstract BinaryVoxels
<T> BinaryVoxels.binaryVoxelsFor
(Voxels<T> voxels, BinaryValuesInt binaryValues) Creates aBinaryVoxels
corresponding to a particular voxels andBinaryValuesInt
.static BinaryVoxels
<UnsignedByteBuffer> BinaryVoxelsFactory.createEmptyOff
(Extent extent) Creates binary-voxels using unsigned 8-bit byte type and with all voxels set to off (0).static BinaryVoxels
<?> BinaryVoxelsFactory.createEmptyOff
(Extent extent, VoxelDataType dataType) Creates an empty binary-voxels of a particular data-type with all voxels initialized to off. (0).static BinaryVoxels
<UnsignedByteBuffer> BinaryVoxelsFactory.createEmptyOn
(Extent extent) Creates binary-voxels using unsigned 8-bit byte type and with all voxels set to on (255).abstract BinaryVoxels
<T> BinaryVoxels.duplicate()
Deep-copy of the object, including duplicating voxel buffers in memory.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.BinaryVoxels.sliceBinary
(int z) A particular z-slice, wrapped into aBinaryVoxels
. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.binary.connected
Methods in org.anchoranalysis.image.voxel.binary.connected with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionObjectsFromConnectedComponentsFactory.createUnsignedByte
(BinaryVoxels<UnsignedByteBuffer> voxels) Finds the connected-components in unsigned byte voxels.ObjectsFromConnectedComponentsFactory.createUnsignedInt
(BinaryVoxels<UnsignedIntBuffer> voxels) Finds the connected-components in unsigned int voxels. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.iterator
Methods in org.anchoranalysis.image.voxel.iterator with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic void
IterateVoxelsAll.withCursor
(BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters, ProcessKernelPointCursor process) Iterate over each voxel using aKernelPointCursor
.static void
IterateVoxelsBoundingBox.withCursor
(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor process) Iterate over each voxel in a bounding-box using aKernelPointCursor
.static boolean
IterateVoxelsBoundingBox.withCursorUntil
(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, PredicateKernelPointCursor predicate) Iterate over each voxel in a bounding-box using aKernelPointCursor
until a predicate returns true.. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.iterator.neighbor.kernel
Methods in org.anchoranalysis.image.voxel.iterator.neighbor.kernel with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic void
IterateKernelHelper.overAll
(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters, ProcessKernelPointCursor processor) Iterates over all voxels.static void
IterateKernelHelper.overBox
(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor processor) Iterates over only voxels contained within a bounding-box.static boolean
IterateKernelHelper.overBoxUntil
(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, PredicateKernelPointCursor predicate) Iterates over only voxels contained within a bounding-box until a predicate is matched on a voxel. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.kernel
Methods in org.anchoranalysis.image.voxel.kernel that return BinaryVoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels
<UnsignedByteBuffer> ApplyKernel.apply
(BinaryKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters) Apply the kernel toBinaryVoxels<UnsignedByteBuffer>
using the same binary-values asvoxels
to calculate a value for each voxel.Methods in org.anchoranalysis.image.voxel.kernel with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels
<UnsignedByteBuffer> ApplyKernel.apply
(BinaryKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters) Apply the kernel toBinaryVoxels<UnsignedByteBuffer>
using the same binary-values asvoxels
to calculate a value for each voxel.static int
ApplyKernel.applyForCount
(BinaryKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters) Applies aBinaryKernel
to voxels and counts how many true values occur en aggregate.static int
ApplyKernel.applyForCount
(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters) Applies the kernel to voxels and sums the returned value.static int
ApplyKernel.applyForCount
(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters) Applies the kernel to voxels and sums the returned value.static boolean
ApplyKernel.applyUntilPositive
(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters) Applies the kernel to voxels until a positive value is returned, then exits with true. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.kernel.outline
Constructors in org.anchoranalysis.image.voxel.kernel.outline with parameters of type BinaryVoxelsModifierConstructorDescriptionCreates for an object. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.object
Methods in org.anchoranalysis.image.voxel.object that return BinaryVoxelsModifier and TypeMethodDescriptionObjectMask.binaryVoxels()
The underlying voxel memory buffers for the object-mask, exposed via aBinaryVoxels
.Methods in org.anchoranalysis.image.voxel.object with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic ObjectCollection
ObjectCollectionFactory.of
(BinaryVoxels<UnsignedByteBuffer>... masks) Creates a new collection with elements from the parameter-list ofBinaryVoxels
converting the voxels in their entirety to an object-mask at the origin.Constructors in org.anchoranalysis.image.voxel.object with parameters of type BinaryVoxelsModifierConstructorDescriptionObjectMask
(BinaryVoxels<UnsignedByteBuffer> voxels) Creates from aBinaryVoxels
to be located at the origin.ObjectMask
(BoundingBox box, BinaryVoxels<UnsignedByteBuffer> voxels) Creates from aBinaryVoxels
and a corresponding bounding-box. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.object.morphological
Methods in org.anchoranalysis.image.voxel.object.morphological that return BinaryVoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels
<UnsignedByteBuffer> MorphologicalDilation.dilate
(BinaryVoxels<UnsignedByteBuffer> voxels, int iterations, DilationContext context) Performs a morphological dilation operation.static BinaryVoxels
<UnsignedByteBuffer> MorphologicalErosion.erode
(BinaryVoxels<UnsignedByteBuffer> voxels, int iterations, boolean useZ, Optional<Predicate<Point3i>> precondition) Performs a morphological erosion on aBinaryVoxels<UnsignedByteBuffer> voxels
.Methods in org.anchoranalysis.image.voxel.object.morphological with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels
<UnsignedByteBuffer> MorphologicalDilation.dilate
(BinaryVoxels<UnsignedByteBuffer> voxels, int iterations, DilationContext context) Performs a morphological dilation operation.static BinaryVoxels
<UnsignedByteBuffer> MorphologicalErosion.erode
(BinaryVoxels<UnsignedByteBuffer> voxels, int iterations, boolean useZ, Optional<Predicate<Point3i>> precondition) Performs a morphological erosion on aBinaryVoxels<UnsignedByteBuffer> voxels
. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.object.morphological.predicate
Methods in org.anchoranalysis.image.voxel.object.morphological.predicate with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionboolean
AcceptIterationList.accept
(BinaryVoxels<UnsignedByteBuffer> voxels) boolean
AcceptIterationPredicate.accept
(BinaryVoxels<UnsignedByteBuffer> voxels) Whether a particularvoxels
fulfills the condition or not. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.thresholder
Methods in org.anchoranalysis.image.voxel.thresholder that return BinaryVoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels
<UnsignedByteBuffer> VoxelsThresholder.threshold
(VoxelsUntyped voxels, float level, BinaryValuesByte binaryValues, Optional<ObjectMask> objectMask, boolean alwaysDuplicate) Applies thresholding toVoxelsUntyped
.static BinaryVoxels
<UnsignedByteBuffer> VoxelsThresholder.thresholdFloat
(Voxels<FloatBuffer> voxels, float level, BinaryValuesByte binaryValues) Applies thresholding toVoxels
of float data type. -
Uses of BinaryVoxels in org.anchoranalysis.plugin.fiji.bean.channel.provider.distance
Methods in org.anchoranalysis.plugin.fiji.bean.channel.provider.distance with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionDistanceTransform3D.createDistanceMapForVoxels
(BinaryVoxels<UnsignedByteBuffer> voxels, Optional<Resolution> resolution, float multiplyByZRes) Creates a distance map for binary voxels. -
Uses of BinaryVoxels in org.anchoranalysis.plugin.fiji.bean.threshold
Methods in org.anchoranalysis.plugin.fiji.bean.threshold that return BinaryVoxelsModifier and TypeMethodDescriptionThresholderAutoIJ.threshold
(VoxelsUntyped inputBuffer, BinaryValuesByte binaryValues, Optional<Histogram> histogram, Optional<ObjectMask> objectMask) -
Uses of BinaryVoxels in org.anchoranalysis.plugin.image.bean.segment.binary
Methods in org.anchoranalysis.plugin.image.bean.segment.binary that return BinaryVoxelsModifier and TypeMethodDescriptionSequence.segment
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) ThresholdAgainstChannel.segment
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> object) Invert.segmentFromExistingSegmentation
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask, BinarySegmentation segment) Repeat.segmentFromExistingSegmentation
(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask, BinarySegmentation segment) -
Uses of BinaryVoxels in org.anchoranalysis.plugin.imagej.bean.threshold
Methods in org.anchoranalysis.plugin.imagej.bean.threshold that return BinaryVoxelsModifier and TypeMethodDescriptionThresholderSimpleFillHoles2D.threshold
(VoxelsUntyped inputBuffer, BinaryValuesByte binaryValues, Optional<Histogram> histogram, Optional<ObjectMask> objectMask) -
Uses of BinaryVoxels in org.anchoranalysis.plugin.imagej.channel.provider
Methods in org.anchoranalysis.plugin.imagej.channel.provider with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic void
FilterHelper.processEachSlice
(BinaryVoxels<UnsignedByteBuffer> voxels, Consumer<ij.process.ImageProcessor> consumer) -
Uses of BinaryVoxels in org.anchoranalysis.plugin.imagej.mask
Methods in org.anchoranalysis.plugin.imagej.mask that return BinaryVoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels
<UnsignedByteBuffer> ApplyImageJMorphologicalOperation.applyOperation
(BinaryVoxels<UnsignedByteBuffer> voxels, String command, int iterations) Applies a specified morphological operation to the given binary voxels.Methods in org.anchoranalysis.plugin.imagej.mask with parameters of type BinaryVoxelsModifier and TypeMethodDescriptionstatic BinaryVoxels
<UnsignedByteBuffer> ApplyImageJMorphologicalOperation.applyOperation
(BinaryVoxels<UnsignedByteBuffer> voxels, String command, int iterations) Applies a specified morphological operation to the given binary voxels.static void
ApplyImageJMorphologicalOperation.fill
(BinaryVoxels<UnsignedByteBuffer> voxels) Applies the fill operation to the given binary voxels.