public class EdgeDirectionCoherenceVector extends Object implements ImageAnalyser<FImage>, FeatureVectorProvider<DoubleFV>
Modifier and Type | Class and Description |
---|---|
class |
EdgeDirectionCoherenceVector.EdgeDirectionCoherenceHistogram
An edge direction histogram.
|
Constructor and Description |
---|
EdgeDirectionCoherenceVector()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(FImage image)
Analyse an image.
|
CannyEdgeDetector2 |
getCannyEdgeDetector()
Get the edge detector used.
|
double |
getCoherenceFactor()
Get the edge coherence factor.
|
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
EdgeDirectionCoherenceVector.EdgeDirectionCoherenceHistogram |
getHistogram()
Returns the edge direction coherence histogram that was calculated.
|
EdgeDirectionCoherenceVector.EdgeDirectionCoherenceHistogram |
getLastHistogram() |
int |
getNumberOfDirBins() |
void |
setCoherenceFactor(double coherenceFactor)
Set the edge coherence factor.
|
void |
setNumberOfBins(int nb)
Set the number of bins.
|
public EdgeDirectionCoherenceVector()
public int getNumberOfDirBins()
public void setNumberOfBins(int nb)
nb
- the number of binspublic EdgeDirectionCoherenceVector.EdgeDirectionCoherenceHistogram getLastHistogram()
public void analyseImage(FImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
image
- The image to process in place.public EdgeDirectionCoherenceVector.EdgeDirectionCoherenceHistogram getHistogram()
public DoubleFV getFeatureVector()
getFeatureVector
in interface FeatureVectorProvider<DoubleFV>
FeatureVectorProvider.getFeatureVector()
public CannyEdgeDetector2 getCannyEdgeDetector()
public double getCoherenceFactor()
public void setCoherenceFactor(double coherenceFactor)
coherenceFactor
- the coherence factor value