public class CEDD extends AbstractFeatureDescriptor
CEDD
Descriptor.Supports
pcs
DOES_ALL
Constructor and Description |
---|
CEDD()
Constructor with default parameters
|
CEDD(double Th0,
double Th1,
double Th2,
double Th3,
boolean compactDescriptor)
Constructs new CEDD descriptor
|
Modifier and Type | Method and Description |
---|---|
net.semanticmetadata.lire.imageanalysis.CEDD |
getCedd()
Returns the cedd instance from LIRE.
|
boolean |
getCompact()
Compact output of results
|
String |
getDescription()
Returns a short plain Text description about the Descriptor and the
semantics of the double array obtained from
FeatureDescriptor.getFeatures() . |
double |
getT0()
Treshold for edge detection
|
double |
getT1()
Treshold for non-directional edges
|
double |
getT2()
Treshold for horizontal and vertical edges
|
double |
getT3()
Treshold for diagonal edges
|
void |
run(ij.process.ImageProcessor ip)
Start processing of this algorithm on the given image processor.
|
void |
setCedd(net.semanticmetadata.lire.imageanalysis.CEDD cedd) |
void |
setCompact(boolean compact)
Compact output of results
|
void |
setProperties(LibProperties properties)
Injects the properties class that can be used to retrieve several
properties.
|
void |
setT0(double t0)
Treshold for edge detection
|
void |
setT1(double t1)
Treshold for non-directional edges
|
void |
setT2(double t2)
Treshold for horizontal and vertical edges
|
void |
setT3(double t3)
Treshold for diagonal edges
|
EnumSet<Descriptor.Supports> |
supports()
Determine the capabilities of this algorithm.
|
addData, addData, addData, addPropertyChangeListener, endProgress, firePropertyChange, getFeatures, getMask, inMask, setMask, startProgress
public CEDD()
public CEDD(double Th0, double Th1, double Th2, double Th3, boolean compactDescriptor)
Th0
- Treshold for edge detectionTh1
- Treshold for non-directional edgesTh2
- Treshold for horizontal and vertical edgesTh3
- Treshold for diagonal edgescompactDescriptor
- Compact output of resultspublic 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)
Descriptor
public net.semanticmetadata.lire.imageanalysis.CEDD getCedd()
public void setCedd(net.semanticmetadata.lire.imageanalysis.CEDD cedd)
public String getDescription()
FeatureDescriptor
FeatureDescriptor.getFeatures()
.
May return null if no description is implemented - even though this
should be avoided by any means.public EnumSet<Descriptor.Supports> supports()
Descriptor
supports
in interface Descriptor
supports
in class AbstractFeatureDescriptor
public double getT0()
public void setT0(double t0)
t0
- Treshold for edge detectionpublic double getT1()
public void setT1(double t1)
t1
- Treshold for non-directional edgespublic double getT2()
public void setT2(double t2)
t2
- Treshold for horizontal and vertical edgespublic double getT3()
public void setT3(double t3)
t3
- Treshold for diagonal edgespublic boolean getCompact()
public void setCompact(boolean compact)
compact
- Compact output of resultsCopyright © 2013. All Rights Reserved.