net.sourceforge.javaocr.plugin.moment
Class HuMoments

java.lang.Object
  extended by net.sourceforge.javaocr.plugin.moment.HuMoments
All Implemented Interfaces:
FeatureExtractor

public class HuMoments
extends Object
implements FeatureExtractor

class encapsulate Hu moment computations. See Gonzalez/Woods, Digital Image Processing, Prentice Hall or Theodoridis/Koutroumbas, Pattern Recognition, Academic Press

http://www.informatik.haw-hamburg.de/fileadmin/Homepages/ProfMeisel/Vorlesungen/WP_RobotVision/V/RV06.pdf pages 44-46


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

Constructor Detail

HuMoments

public HuMoments()
Method Detail

extract

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

getSize

public int getSize()
tehre are 7 momemts defined

Specified by:
getSize in interface FeatureExtractor
Returns:


Copyright © -2012. All Rights Reserved.