Ask Your Question
1

Android Java versions of CV_TERMCRIT_EPS, CV_TERMCRIT_ITER

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

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
1

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

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

Comments

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 -0600 )edit

Yes That's right.

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

Question Tools

Stats

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

Seen: 1,624 times

Last updated: Jan 15 '13