9.73. ITK Threshold Image Filter
Set image values to a user-specified value if they are below, above, or between simple threshold values.
Group (Subgroup)
ITKThresholding (Thresholding)
Description
ThresholdImageFilter sets image values to a user-specified “outside” value (by default, “black”) if the image values are below, above, or between simple threshold values.
The available methods are:
ThresholdAbove() : The values greater than the threshold value are set to OutsideValue
ThresholdBelow() : The values less than the threshold value are set to OutsideValue
ThresholdOutside() : The values outside the threshold range (less than lower or greater than upper) are set to OutsideValue
Note that these definitions indicate that pixels equal to the threshold value are not set to OutsideValue in any of these methods
The pixels must support the operators >= and <=.
Input Parameter(s)
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
---|---|---|---|
Lower |
Scalar Value |
Float64 |
Set/Get methods to set the lower threshold. |
Upper |
Scalar Value |
Float64 |
Set/Get methods to set the upper threshold. |
Outside Value |
Scalar Value |
Float64 |
The pixel type must support comparison operators. Set the ‘outside’ pixel value. The default value NumericTraits |
Input Cell Data
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
---|---|---|---|
Image Geometry |
Geometry Selection |
Image |
Select the Image Geometry Group from the DataStructure. |
Input Cell Data |
Array Selection |
Allowed Types: int8, uint8, int16, uint16, int32, uint32, int64, uint64, float32, float64 |
The image data that will be processed by this filter. |
Output Cell Data
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
---|---|---|---|
Output Cell Data |
DataObjectName |
The result of the processing will be stored in this Data Array inside the same group as the input data. |
Example Pipelines
License & Copyright
Please see the description file distributed with this plugin.
DREAM3D-NX Help
If you need help, need to file a bug report or want to request a new feature, please head over to the DREAM3DNX-Issues GitHub site where the community of DREAM3D-NX users can help answer your questions.