public class OrientedBoundingBox2D extends RegionAnalyzer2D<OrientedBox2D>
Constructor and Description |
---|
OrientedBoundingBox2D()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
OrientedBox2D[] |
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.
|
ij.measure.ResultsTable |
createTable(Map<Integer,OrientedBox2D> results)
Utility method that converts the detailed results of the
RegionAnalyzer.analyzeRegions(ImagePlus) method into an instance of
ResultsTable to facilitate display by ImageJ. |
static OrientedBox2D |
orientedBoundingBox(ArrayList<? extends Point2D> points)
Computes the object-oriented bounding box of a set of points.
|
static OrientedBox2D |
orientedBoundingBox(ArrayList<? extends Point2D> points,
ij.measure.Calibration calib)
Computes the object-oriented bounding box of a set of points, computing
convex hull in pixel coordinates.
|
analyzeRegions, analyzeRegions, computeTable
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public static final OrientedBox2D orientedBoundingBox(ArrayList<? extends Point2D> points)
points
- a list of points (not necessarily ordered)public static final OrientedBox2D orientedBoundingBox(ArrayList<? extends Point2D> points, ij.measure.Calibration calib)
points
- a list of points, in pixel coordinatescalib
- the spatial calibration of the pointspublic ij.measure.ResultsTable createTable(Map<Integer,OrientedBox2D> results)
RegionAnalyzer
RegionAnalyzer.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 OrientedBox2D[] analyzeRegions(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
RegionAnalyzer2D
analyzeRegions
in class RegionAnalyzer2D<OrientedBox2D>
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.