Uses of Class
org.anchoranalysis.image.voxel.binary.BinaryVoxels
-
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.binary
Methods in org.anchoranalysis.image.voxel.binary that return BinaryVoxels Modifier and Type Method Description protected abstract BinaryVoxels<T>BinaryVoxels. binaryVoxelsFor(Voxels<T> voxels, BinaryValuesInt binaryValues)Creates aBinaryVoxelscorresponding 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.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<T>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 BinaryVoxels Modifier and Type Method Description ObjectCollectionObjectsFromConnectedComponentsFactory. createUnsignedByte(BinaryVoxels<UnsignedByteBuffer> voxels)Finds the connected-components in unsigned byte voxels.ObjectCollectionObjectsFromConnectedComponentsFactory. 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 BinaryVoxels Modifier and Type Method Description static voidIterateVoxelsAll. withCursor(BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters, ProcessKernelPointCursor process)Iterate over each voxel using aKernelPointCursor.static voidIterateVoxelsBoundingBox. withCursor(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor process)Iterate over each voxel in a bounding-box using aKernelPointCursor.static booleanIterateVoxelsBoundingBox. withCursorUntil(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, PredicateKernelPointCursor predicate)Iterate over each voxel in a bounding-box using aKernelPointCursoruntil 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 BinaryVoxels Modifier and Type Method Description static voidIterateKernelHelper. overAll(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters, ProcessKernelPointCursor processor)Iterates over all voxels.static voidIterateKernelHelper. overBox(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor processor)Iterates over only voxels contained within a bounding-box.static booleanIterateKernelHelper. 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 BinaryVoxels Modifier and Type Method Description static BinaryVoxels<UnsignedByteBuffer>ApplyKernel. apply(BinaryKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters)Apply the kernel toBinaryVoxels<UnsignedByteBuffer>using the same binary-values asvoxelsto calculate a value for each voxel.Methods in org.anchoranalysis.image.voxel.kernel with parameters of type BinaryVoxels Modifier and Type Method Description static BinaryVoxels<UnsignedByteBuffer>ApplyKernel. apply(BinaryKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters)Apply the kernel toBinaryVoxels<UnsignedByteBuffer>using the same binary-values asvoxelsto calculate a value for each voxel.static intApplyKernel. applyForCount(BinaryKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters)Applies aBinaryKernelto voxels and counts how many true values occur en aggregate.static intApplyKernel. applyForCount(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, KernelApplicationParameters parameters)Applies the kernel to voxels and sums the returned value.static intApplyKernel. applyForCount(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters)Applies the kernel to voxels and sums the returned value.static booleanApplyKernel. 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 BinaryVoxels Constructor Description OutlineKernelNeighborMatchValue(BinaryVoxels<UnsignedByteBuffer> mask)Creates for an object. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.object
Methods in org.anchoranalysis.image.voxel.object that return BinaryVoxels Modifier and Type Method Description BinaryVoxels<UnsignedByteBuffer>ObjectMask. binaryVoxels()The underlying voxel memory buffers for the object-mask, exposed via aBinaryVoxels.Methods in org.anchoranalysis.image.voxel.object with parameters of type BinaryVoxels Modifier and Type Method Description static ObjectCollectionObjectCollectionFactory. of(BinaryVoxels<UnsignedByteBuffer>... masks)Creates a new collection with elements from the parameter-list ofBinaryVoxelsconverting the voxels in their entirety to an object-mask at the origin.Constructors in org.anchoranalysis.image.voxel.object with parameters of type BinaryVoxels Constructor Description ObjectMask(BinaryVoxels<UnsignedByteBuffer> voxels)Creates from aBinaryVoxelsto be located at the origin.ObjectMask(BoundingBox box, BinaryVoxels<UnsignedByteBuffer> voxels)Creates from aBinaryVoxelsand a corresponding bounding-box. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.object.morphological
Methods in org.anchoranalysis.image.voxel.object.morphological that return BinaryVoxels Modifier and Type Method Description static 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 BinaryVoxels Modifier and Type Method Description static 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 BinaryVoxels Modifier and Type Method Description booleanAcceptIterationList. accept(BinaryVoxels<UnsignedByteBuffer> voxels)booleanAcceptIterationPredicate. accept(BinaryVoxels<UnsignedByteBuffer> voxels)Whether a particularvoxelsfulfills the condition or not. -
Uses of BinaryVoxels in org.anchoranalysis.image.voxel.thresholder
Methods in org.anchoranalysis.image.voxel.thresholder that return BinaryVoxels Modifier and Type Method Description static 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 toVoxelsof float data type.