Uses of Class
org.anchoranalysis.image.voxel.BoundedVoxels
Packages that use BoundedVoxels
Package
Description
Data-structures to store and manipulate image raster-data or voxels.
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.The fundamental data class that is an
ObjectMask
and related structures.A mark after a voxel-representation has been inferred.
Calculating overlaps between two
Mark
s.-
Uses of BoundedVoxels in org.anchoranalysis.image.voxel
Methods in org.anchoranalysis.image.voxel that return BoundedVoxelsModifier and TypeMethodDescriptionBoundedVoxels.duplicate()
A deep-copy of the current structure.BoundedVoxels.extractSlice
(int sliceIndex) Extracts a particular slice.BoundedVoxels.growBuffer
(Point3i growthNegative, Point3i growthPositive, Optional<Extent> clipRegion, VoxelsFactoryTypeBound<T> factory) Grows the voxel buffer in the positive and negative directions by a certain amount.BoundedVoxels.growToZ
(int sizeZ, VoxelsFactoryTypeBound<T> factory) Grows a single z-slicedBoundedVoxels
by duplicating the slice across the z-dimensionsizeZ
number of times.BoundedVoxels.mapBoundingBoxPreserveExtent
(BoundingBox boundingBoxToAssign) Applies a function to map the bounding-box to a new-value.BoundedVoxels.projectMax()
A maximum-intensity projection (flattens in z dimension)BoundedVoxels.region
(BoundingBox box, boolean reuseIfPossible) A (sub-)region of the voxels.BoundedVoxels.regionIntersecting
(BoundingBox box, int voxelValueForRest) Likeregion(org.anchoranalysis.spatial.box.BoundingBox, boolean)
but only expects a bounding-box that intersects at least partially.BoundedVoxels.regionZ
(int zMin, int zMax, VoxelsFactoryTypeBound<T> factory) Creates an box with a subrange of the slices.BoundedVoxels.replaceVoxels
(Voxels<T> voxelsToAssign) Replaces the voxels in the box.BoundedVoxels.scale
(ScaleFactor scaleFactor, VoxelsResizer resizer, Optional<Extent> clipTo) Creates a scaled-version (in XY dimensions only) of the current bounding-box.Methods in org.anchoranalysis.image.voxel with parameters of type BoundedVoxelsModifier and TypeMethodDescriptionboolean
BoundedVoxels.equalsDeep
(BoundedVoxels<?> other) Performs a deep equality check, that includes checking that each voxel has an identical value.Constructors in org.anchoranalysis.image.voxel with parameters of type BoundedVoxels -
Uses of BoundedVoxels in org.anchoranalysis.image.voxel.factory
Methods in org.anchoranalysis.image.voxel.factory that return BoundedVoxelsModifier and TypeMethodDescriptiondefault BoundedVoxels
<T> VoxelsFactoryTypeBound.createBounded
(BoundingBox box) Creates and initializes voxels that correspond to a particular bounding-box region. -
Uses of BoundedVoxels in org.anchoranalysis.image.voxel.iterator
Methods in org.anchoranalysis.image.voxel.iterator with parameters of type BoundedVoxelsModifier and TypeMethodDescriptionIterateVoxelsEqualTo.untilFirstIntensityEqualTo
(BoundedVoxels<UnsignedByteBuffer> voxels, byte equalToValue) Iterates each voxel until a specific intensity value is found. -
Uses of BoundedVoxels in org.anchoranalysis.image.voxel.iterator.intersecting
Methods in org.anchoranalysis.image.voxel.iterator.intersecting with parameters of type BoundedVoxelsModifier and TypeMethodDescriptionstatic int
CountVoxelsIntersectingBounded.countByte
(BoundedVoxels<UnsignedByteBuffer> voxels1, BoundedVoxels<UnsignedByteBuffer> voxels2, PredicateTwoBytes predicate) Counts all voxels in the intersection of two bounded-voxels of typeBoundedVoxels
that match a predicate.static int
CountVoxelsIntersectingBounded.countByteMasked
(Voxels<UnsignedByteBuffer> maskGlobal, byte onMaskGlobal, BoundedVoxels<UnsignedByteBuffer> voxels1, BoundedVoxels<UnsignedByteBuffer> voxels2, PredicateTwoBytes predicate) Counts all voxels intersection of two bounded-voxels of typeBoundedVoxels
but only voxels that lie on an object-mask and match a predicate.static <T> void
IterateVoxelsIntersectingBounded.withTwoBuffers
(BoundedVoxels<T> voxels1, BoundedVoxels<T> voxels2, ProcessBufferBinary<T, T> process) Iterates over the intersection of two bounded-voxels of typeBoundedVoxels
.static void
IterateVoxelsIntersectingBounded.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 typeBoundedVoxels
but only voxels that lie on an object-mask.IterateVoxelsIntersectingBounded.withTwoBuffersUntil
(BoundedVoxels<T> voxels1, BoundedVoxels<T> voxels2, PredicateBufferBinary<T> predicate) Iterates over the intersection of two bounded-voxels of typeBoundedVoxels
until a predicate is satisfied. -
Uses of BoundedVoxels in org.anchoranalysis.image.voxel.object
Methods in org.anchoranalysis.image.voxel.object that return BoundedVoxelsModifier and TypeMethodDescriptionObjectMask.boundedVoxels()
The underlying voxel memory buffers for the object-mask, exposed viaBoundedVoxels
.Constructors in org.anchoranalysis.image.voxel.object with parameters of type BoundedVoxelsModifierConstructorDescriptionObjectMask
(BoundedVoxels<UnsignedByteBuffer> voxels) Creates from aBoundedVoxels
withUnsignedByteBuffer
.ObjectMask
(BoundedVoxels<UnsignedByteBuffer> voxels, BinaryValuesInt binaryValues) Creates fromBoundedVoxels
and correspondingBinaryValuesInt
. -
Uses of BoundedVoxels in org.anchoranalysis.mpp.mark.voxelized
Methods in org.anchoranalysis.mpp.mark.voxelized that return BoundedVoxelsModifier and TypeMethodDescriptionVoxelizedMark.voxels()
Gets the voxel representation of the mark.VoxelizedMark.voxelsMaximumIntensityProjection()
Gets the maximum intensity projection of the voxelized mark. -
Uses of BoundedVoxels in org.anchoranalysis.mpp.overlap
Methods in org.anchoranalysis.mpp.overlap with parameters of type BoundedVoxelsModifier and TypeMethodDescriptionint
CountIntersectingVoxels.count
(BoundedVoxels<UnsignedByteBuffer> voxels1, BoundedVoxels<UnsignedByteBuffer> voxels2) Counts the number of intersecting voxels between two bounded voxel sets.int
CountIntersectingVoxels.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.