Class SliceThresholderMask
Object
SliceThresholder
SliceThresholderMask
A slice thresholder that applies thresholding within a mask region.
-
Constructor Summary
ConstructorsConstructorDescriptionSliceThresholderMask(boolean clearOutsideMask, ObjectMask object, BinaryValuesByte binaryValues) Creates a newSliceThresholderMask. -
Method Summary
Modifier and TypeMethodDescriptionvoidsegmentAll(Voxels<?> voxelsIn, Voxels<?> voxelsThreshold, Voxels<UnsignedByteBuffer> voxelsOut) Segments all slices in the input voxels.Methods inherited from class org.anchoranalysis.plugin.image.segment.thresholder.slice.SliceThresholder
writeOffByte, writeThresholdedByte
-
Constructor Details
-
SliceThresholderMask
public SliceThresholderMask(boolean clearOutsideMask, ObjectMask object, BinaryValuesByte binaryValues) Creates a newSliceThresholderMask.- Parameters:
clearOutsideMask- whether to clear voxels outside the maskobject- theObjectMaskdefining the region for thresholdingbinaryValues- theBinaryValuesByteto use for output
-
-
Method Details
-
segmentAll
public void segmentAll(Voxels<?> voxelsIn, Voxels<?> voxelsThreshold, Voxels<UnsignedByteBuffer> voxelsOut) Description copied from class:SliceThresholderSegments all slices in the input voxels.- Specified by:
segmentAllin classSliceThresholder- Parameters:
voxelsIn- the inputVoxelsvoxelsThreshold- the thresholdVoxelsvoxelsOut- the outputVoxels
-