public class MaxHistogramExtractor extends HistogramExtractor
GlobalFeatureType.HISTOGRAM
) find the
maximum bin. This can be interpreted as the image's dominant colour.hm
Constructor and Description |
---|
MaxHistogramExtractor()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
FeatureVector |
extract(MBFImage image,
FImage mask)
Create the feature from the image and optional mask.
|
extract
public MaxHistogramExtractor()
public FeatureVector extract(MBFImage image, FImage mask)
GlobalFeatureExtractor
extract
in class HistogramExtractor
image
- the imagemask
- the mask (be be null)