net.sourceforge.javaocr.plugin.cluster.extractor
Class AspectRatioExtractor

java.lang.Object
  extended by net.sourceforge.javaocr.plugin.cluster.extractor.AspectRatioExtractor
All Implemented Interfaces:
FeatureExtractor

public class AspectRatioExtractor
extends Object
implements FeatureExtractor

extract aspect ratio out of image


Constructor Summary
AspectRatioExtractor()
           
 
Method Summary
 double[] extract(Image image)
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectRatioExtractor

public AspectRatioExtractor()
Method Detail

getSize

public int getSize()
Specified by:
getSize in interface FeatureExtractor

extract

public double[] extract(Image image)
Specified by:
extract in interface FeatureExtractor


Copyright © -2012. All Rights Reserved.