public class MorphometricFeatures3D extends AlgoStub
Usage:
ResultsTable table = new MorphometricFeatures3D()
.add(Feature.VOLUME)
.add(Feature.SURFACE_AREA)
.add(Feature.CENTROID)
.computeTable(imagePlus);
MorphometricFeatures2D| Modifier and Type | Class and Description |
|---|---|
static class |
MorphometricFeatures3D.Feature
An enumeration used to identify which features have to be
computed by the MorphometricFeatures3D class.
|
| Constructor and Description |
|---|
MorphometricFeatures3D()
Creates a new MorphometricFeatures3D instance containing no feature.
|
MorphometricFeatures3D(MorphometricFeatures3D.Feature... features)
Creates a new instance of MorphometricFeatures3D from the series of selected
features.
|
| Modifier and Type | Method and Description |
|---|---|
MorphometricFeatures3D |
add(MorphometricFeatures3D.Feature f)
Adds a new feature to the collection of features to compute.
|
ij.measure.ResultsTable |
computeTable(ij.ImagePlus imagePlus)
Computes a set of descriptive features from a label image and
concatenates the results into a ResultsTable.
|
boolean |
contains(MorphometricFeatures3D.Feature f)
Checks if this MorphometricFeatures3D instance contains the specified
feature.
|
boolean |
containsAny(MorphometricFeatures3D.Feature... features)
Checks if this MorphometricFeatures3D instance contains any of the
specified features.
|
Collection<MorphometricFeatures3D.Feature> |
features()
Returns the features this MorphometricFeatures3D instance will compute.
|
int |
getConnectivity() |
int |
getDirectionNumber() |
MorphometricFeatures3D |
remove(MorphometricFeatures3D.Feature f)
Removes a feature from the collection of features to compute.
|
void |
setConnectivity(int connectivity) |
void |
setDirectionNumber(int directionNumber) |
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic MorphometricFeatures3D()
public MorphometricFeatures3D(MorphometricFeatures3D.Feature... features)
features - the features to use.public int getDirectionNumber()
public void setDirectionNumber(int directionNumber)
directionNumber - the number of directions used to compute surface area and mean
breadth (either 3 or 13, default is 13)public int getConnectivity()
public void setConnectivity(int connectivity)
connectivity - the connectivity used to compute Euler number (either 6 or 26,
default is 6)public Collection<MorphometricFeatures3D.Feature> features()
public MorphometricFeatures3D add(MorphometricFeatures3D.Feature f)
f - the feature to addpublic MorphometricFeatures3D remove(MorphometricFeatures3D.Feature f)
f - the feature to removepublic boolean contains(MorphometricFeatures3D.Feature f)
f - the feature to testpublic boolean containsAny(MorphometricFeatures3D.Feature... features)
features - the list of features to testpublic ij.measure.ResultsTable computeTable(ij.ImagePlus imagePlus)
imagePlus - the image to analyze.Copyright © 2014–2024 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.