public class Convexity extends RegionAnalyzer2D<Convexity.Result>
| Modifier and Type | Class and Description |
|---|---|
class |
Convexity.Result
Simple class for storing the results of convexity computations.
|
| Constructor and Description |
|---|
Convexity() |
| Modifier and Type | Method and Description |
|---|---|
Convexity.Result[] |
analyzeRegions(ij.process.ImageProcessor image,
int[] labels,
ij.measure.Calibration calib)
Computes an instance of the generic type T for each region in input label image.
|
static ij.process.ImageProcessor |
convexify(ij.process.ImageProcessor binaryImage)
Computes the binary image representing the convex hull of the input
binary image.
|
ij.measure.ResultsTable |
createTable(Map<Integer,Convexity.Result> results)
Utility method that converts the detailed results of the
RegionAnalyzer.analyzeRegions(ImagePlus) method into an instance of
ResultsTable to facilitate display by ImageJ. |
analyzeRegions, analyzeRegions, computeTableaddAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic static final ij.process.ImageProcessor convexify(ij.process.ImageProcessor binaryImage)
binaryImage - the binary image of a regionPolygons2Dpublic ij.measure.ResultsTable createTable(Map<Integer,Convexity.Result> results)
RegionAnalyzerRegionAnalyzer.analyzeRegions(ImagePlus) method into an instance of
ResultsTable to facilitate display by ImageJ.results - the mapping between each region label and the result of the
analysispublic Convexity.Result[] analyzeRegions(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
RegionAnalyzer2DanalyzeRegions in class RegionAnalyzer2D<Convexity.Result>image - the input image containing label of particleslabels - the array of labels within the imagecalib - the spatial calibration of the imageCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.