public class EquivalentEllipse extends RegionAnalyzer2D<Ellipse>
EquivalentEllipsoid
Constructor and Description |
---|
EquivalentEllipse()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Ellipse[] |
analyzeRegions(ij.process.ImageProcessor image,
int[] labels,
ij.measure.Calibration calib)
Computes the equivalent ellipse of each region within the input label
image.
|
ij.measure.ResultsTable |
createTable(Map<Integer,Ellipse> map)
Utility method that transforms the mapping between labels and equivalent
ellipses instances into a ResultsTable that can be displayed with ImageJ.
|
static Ellipse[] |
equivalentEllipses(ij.process.ImageProcessor image,
int[] labels,
ij.measure.Calibration calib)
Computes equivalent ellipse of each region in input label image.
|
analyzeRegions, analyzeRegions, computeTable
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public static final Ellipse[] equivalentEllipses(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
image
- the input image containing region labelslabels
- the array of labels within the imagecalib
- the calibration of the imagepublic ij.measure.ResultsTable createTable(Map<Integer,Ellipse> map)
map
- the mapping between labels and Inertia Ellipsespublic Ellipse[] analyzeRegions(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
analyzeRegions
in class RegionAnalyzer2D<Ellipse>
image
- the input image containing region labelslabels
- the array of labels within the imagecalib
- the calibration of the imageCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.