net.sourceforge.javaocr.plugin.cluster
Class CompositeExtractor
java.lang.Object
net.sourceforge.javaocr.plugin.cluster.CompositeExtractor
- All Implemented Interfaces:
- FeatureExtractor
public class CompositeExtractor
- extends Object
- implements FeatureExtractor
composite feature extractor - combines several extractors into one
- Author:
- Konstantin Pribluda
|
Method Summary |
double[] |
extract(Image image)
delegate feature extraction from multiple backend extractors |
int |
getSize()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size
int size
extractors
FeatureExtractor[] extractors
CompositeExtractor
public CompositeExtractor(FeatureExtractor... extractors)
getSize
public int getSize()
- Specified by:
getSize in interface FeatureExtractor
extract
public double[] extract(Image image)
- delegate feature extraction from multiple backend extractors
- Specified by:
extract in interface FeatureExtractor
- Parameters:
image - image to process
- Returns:
- combined feature vector
Copyright © -2012. All Rights Reserved.