public class Haralick extends AbstractFeatureDescriptor
Descriptor.Supports
pcs
DOES_ALL
Constructor and Description |
---|
Haralick()
Constructs a haralick detector with default parameters.
|
Haralick(int haralickDist)
Constructs a haralick detector.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns information about the getFeature
|
int |
getHaralickDist()
Getter for haralick distributions
|
void |
run(ij.process.ImageProcessor ip)
Starts the haralick detection.
|
void |
setHaralickDist(int haralickDist)
Setter for haralick distributions
|
void |
setProperties(LibProperties properties)
Injects the properties class that can be used to retrieve several
properties.
|
EnumSet<Descriptor.Supports> |
supports()
Defines the capability of the algorithm.
|
addData, addData, addData, addPropertyChangeListener, endProgress, firePropertyChange, getFeatures, getMask, inMask, setMask, startProgress
public Haralick()
public Haralick(int haralickDist)
haralickDist
- Integer for haralick distribution (>= 1)public EnumSet<Descriptor.Supports> supports()
supports
in interface Descriptor
supports
in class AbstractFeatureDescriptor
PlugInFilter
,
supports()
public void setProperties(LibProperties properties) throws IOException
FeatureDescriptor
setProperties
in interface FeatureDescriptor
setProperties
in class AbstractFeatureDescriptor
IOException
- if something went wrongpublic void run(ij.process.ImageProcessor ip)
ip
- ImageProcessor of the source imagepublic String getDescription()
public int getHaralickDist()
public void setHaralickDist(int haralickDist)
haralickDist
- int for haralick distributions (must be >= 1)Copyright © 2013. All Rights Reserved.