public class HorizontalIntensityDistribution extends Object implements ImageAnalyser<FImage>, FeatureVectorProvider<DoubleFV>
Constructor and Description |
---|
HorizontalIntensityDistribution()
Construct the
HorizontalIntensityDistribution feature
extractor using the default of 10 equally spaced bins. |
HorizontalIntensityDistribution(int nbins)
Construct the
HorizontalIntensityDistribution feature
extractor using the given number of equally spaced bins. |
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(FImage image)
Analyse an image.
|
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
public HorizontalIntensityDistribution()
HorizontalIntensityDistribution
feature
extractor using the default of 10 equally spaced bins.public HorizontalIntensityDistribution(int nbins)
HorizontalIntensityDistribution
feature
extractor using the given number of equally spaced bins.nbins
- number of bins to split the image intopublic DoubleFV getFeatureVector()
FeatureVectorProvider
getFeatureVector
in interface FeatureVectorProvider<DoubleFV>
public void analyseImage(FImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
image
- The image to process in place.