public class LabelThresholder_ extends Object implements ij.plugin.filter.PlugInFilter
Modifier and Type | Field and Description |
---|---|
static int |
max |
static int |
min |
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
Constructor and Description |
---|
LabelThresholder_() |
Modifier and Type | Method and Description |
---|---|
static void |
commit() |
static void |
rollback()
reverts to label image before last threshold was applied
|
void |
run(ij.process.ImageProcessor ip) |
int |
setup(String arg,
ij.ImagePlus imp) |
static void |
threshold(Roi roi,
int min,
int max,
ij.process.ImageProcessor imageData,
ij.process.ImageProcessor labelData,
int label) |
public int setup(String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
public static void rollback()
public static void commit()
public static void threshold(Roi roi, int min, int max, ij.process.ImageProcessor imageData, ij.process.ImageProcessor labelData, int label)
Copyright © 2015–2021 Fiji. All rights reserved.