Where is the moments class in the OpenCV 3.0 Java API

asked 2015-02-04 21:17:26 -0600

updated 2015-02-05 12:11:48 -0600

berak gravatar image

I have been working with OpenCV 3.0 (beta) in Java and everything seems to be working but cannot find the Moments class. I know it used to be located under the Imgproc class in the 2.4.x versions. I have looked all over for it in the 3.0 Java jar files and can't find it. Am I missing something?

edit retag flag offensive close merge delete

Comments

oh, the script generator skipped it: (build/modules/java/imgproc.log:)

FUNC <void cv..HuMoments [ARG Moments m=, ARG Mat hu=]>
SKIP:void HuMoments(Moments m, Mat& hu)  due to ARG typeMoments/I
FUNC <Moments cv..moments [ARG Mat array=, ARG bool binaryImage=false]>
SKIP:Moments moments(Mat array, bool binaryImage = false)    due to RET typeMoments

make an issue here ?

berak gravatar imageberak ( 2015-02-05 01:52:05 -0600 )edit

berak, is there any chance to get Java libraries of OpenCV 3.0 including Moments support? Can I build this on my own or download from some nightly builds?

jtarnowski gravatar imagejtarnowski ( 2015-05-19 16:16:20 -0600 )edit

unfortunately, it is not fixed yet. ;(

berak gravatar imageberak ( 2015-05-20 03:20:38 -0600 )edit