- All Implemented Interfaces:
- Runnable, MultipleResults, org.scijava.command.Command, org.scijava.plugin.SciJavaPlugin
@HelpPath(path="plugins/regions.html#excl")
public class RegionStatsNChanExclusion
extends SlideSetPlugin
implements MultipleResults
This is a modification of RegionStatsNChan designed to exclude
pixels below the given threshold.
Thresholds specified as space separated text with one value for each channel (i.e. "10 15 20")
If the pixel value is less than the threshold (greater than if invert is true),
it is not counted for the mean or area.
Unlike RegionStatsNChan, thresholds are not subtracted from pixel values.
If no pixels in the ROI are greater than or equal to the threshold, the result is -1.
Note that thresholds are considered separately for each channel. For example,
if the specified threshold is `10 25 102`, a pixel with values of 100 on each
channel will be counted in the statistics computed for channels 1 and 2, but
will not be counted in the statistics computed for channel 3.
- Author:
- Benjamin Nanes