public class BoundingBox extends RegionAnalyzer2D<Box2D>
| Constructor and Description |
|---|
BoundingBox()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Box2D[] |
analyzeRegions(ij.process.ImageProcessor image,
int[] labels,
ij.measure.Calibration calib)
Computes bounding box of each region in input label image.
|
static Box2D[] |
boundingBoxes(ij.process.ImageProcessor labelImage,
int[] labels,
ij.measure.Calibration calib)
Compute bounding box of each region in input image and returns the result
as an array of Box2D for each label.
|
ij.measure.ResultsTable |
createTable(Map<Integer,Box2D> map)
Utility method that transforms the mapping between labels and bounding
boxes instances into a ResultsTable that can be displayed with ImageJ.
|
analyzeRegions, analyzeRegions, computeTableaddAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic static final Box2D[] boundingBoxes(ij.process.ImageProcessor labelImage, int[] labels, ij.measure.Calibration calib)
labelImage - the input image containing label of regionlabels - an array of unique labels in imagecalib - the calibration of the imagepublic Box2D[] analyzeRegions(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
analyzeRegions in class RegionAnalyzer2D<Box2D>image - the input image containing label of particleslabels - the array of labels within the imagecalib - the calibration of the imagepublic ij.measure.ResultsTable createTable(Map<Integer,Box2D> map)
map - the mapping between labels and bounding BoxesCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.