public class CentroidBoundaryDistance extends AbstractFeatureDescriptor
Descriptor.Supports
pcs
DOES_ALL
Constructor and Description |
---|
CentroidBoundaryDistance()
Constructs a CentroidBoundaryDistance object with distances measured all
22,5°
|
CentroidBoundaryDistance(int angles)
Constructs a CentroidBoundaryDistance object
|
Modifier and Type | Method and Description |
---|---|
double |
distance(int x1,
int y1,
int x2,
int y2) |
void |
generateFeatures() |
String |
getDescription()
Returns a short plain Text description about the Descriptor and the
semantics of the double array obtained from
FeatureDescriptor.getFeatures() . |
ArrayList |
getDistances() |
void |
run(ij.process.ImageProcessor ip)
Start processing of this algorithm on the given image processor.
|
EnumSet<Descriptor.Supports> |
supports()
Determine the capabilities of this algorithm.
|
ij.process.ImageProcessor |
thicken(ij.process.ImageProcessor ip) |
addData, addData, addData, addPropertyChangeListener, endProgress, firePropertyChange, getFeatures, getMask, inMask, setMask, setProperties, startProgress
public CentroidBoundaryDistance()
public CentroidBoundaryDistance(int angles)
angles
- Number of angles, i.e. 36 for measurements all 10°public ArrayList getDistances()
public double distance(int x1, int y1, int x2, int y2)
public ij.process.ImageProcessor thicken(ij.process.ImageProcessor ip)
public void run(ij.process.ImageProcessor ip)
Descriptor
public void generateFeatures()
public EnumSet<Descriptor.Supports> supports()
Descriptor
supports
in interface Descriptor
supports
in class AbstractFeatureDescriptor
public String getDescription()
FeatureDescriptor
FeatureDescriptor.getFeatures()
.
May return null if no description is implemented - even though this
should be avoided by any means.Copyright © 2013. All Rights Reserved.