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 TypeMethodDescriptionvoid
segmentAll
(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
- theObjectMask
defining the region for thresholdingbinaryValues
- theBinaryValuesByte
to use for output
-
-
Method Details
-
segmentAll
public void segmentAll(Voxels<?> voxelsIn, Voxels<?> voxelsThreshold, Voxels<UnsignedByteBuffer> voxelsOut) Description copied from class:SliceThresholder
Segments all slices in the input voxels.- Specified by:
segmentAll
in classSliceThresholder
- Parameters:
voxelsIn
- the inputVoxels
voxelsThreshold
- the thresholdVoxels
voxelsOut
- the outputVoxels
-