Ask Your Question

Android Java versions of CV_TERMCRIT_EPS, CV_TERMCRIT_ITER

asked 2013-01-14 13:34:08 -0500

matt.hammer gravatar image

I can't figure out/find what CV_TERMCRIT_EPS & CV_TERMCRIT_ITER are in Java for Android OpenCV. I've grepped the Java source code folder with a bunch of terms and come up with nothing.

Do they even exist, or do I need to use integer values from the C++ instead?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-01-15 00:56:48 -0500

You need to use org.opencv.core.TermCriteria class for it. There is javadoc page for this class in Open SDK for Android.

edit flag offensive delete link more


So, CV_TERMCRIT_EPS in C++ becomes TermCritera.EPS in Java? And CV_TERMCRIT_ITER in C++ becomes TermCritera.MAX_ITER in Java?

matt.hammer gravatar imagematt.hammer ( 2013-01-15 08:35:22 -0500 )edit

Yes That's right.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-01-15 12:14:32 -0500 )edit

Question Tools


Asked: 2013-01-14 13:34:08 -0500

Seen: 1,449 times

Last updated: Jan 15 '13