public class AnalyzeRegions extends Object implements ij.plugin.filter.PlugInFilter
 // creates a new Features instance to select the features to compute.  
 AnalyzeRegions.Features features = new AnalyzeRegions.Features();
 features.setAll(false);
 features.area = true;
 features.perimeter = true;
 features.centroid = true;
 // compute the features, and returns the corresponding table
 ResultsTable table = AnalyzeRegions.process(imagePlus, features);
 table.show(imagePlus.getShortTitle() + "-Morphometry");
 | Modifier and Type | Class and Description | 
|---|---|
static class  | 
AnalyzeRegions.Features
The list of features to compute. 
 | 
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 | 
|---|
AnalyzeRegions()  | 
| Modifier and Type | Method and Description | 
|---|---|
ij.measure.ResultsTable | 
process(ij.ImagePlus imagePlus)
Deprecated. 
 
replaced by static process(ImagePlus, Features) method 
 | 
static ij.measure.ResultsTable | 
process(ij.ImagePlus imagePlus,
       AnalyzeRegions.Features features)
Computes a set of descriptive features from a label image and
 concatenates the results into a ResultsTable. 
 | 
void | 
run(ij.process.ImageProcessor ip)  | 
int | 
setup(String arg,
     ij.ImagePlus imp)  | 
public static final ij.measure.ResultsTable process(ij.ImagePlus imagePlus,
                                                    AnalyzeRegions.Features features)
imagePlus - the image to analyze.features - the features to compute.public int setup(String arg, ij.ImagePlus imp)
setup in interface ij.plugin.filter.PlugInFilterpublic void run(ij.process.ImageProcessor ip)
run in interface ij.plugin.filter.PlugInFilter@Deprecated public ij.measure.ResultsTable process(ij.ImagePlus imagePlus)
imagePlus - the image to processCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.