I would like to ask about this function in OpenCV:
cvTermCriteria( CV_TERMCRIT_ITER | CV_TERMCRIT_EPS, 20, .3 )
How do I get more accurate results - do I need to increase the value of epsilon
or decrease it?
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.
Sign up to join this communityI would like to ask about this function in OpenCV:
cvTermCriteria( CV_TERMCRIT_ITER | CV_TERMCRIT_EPS, 20, .3 )
How do I get more accurate results - do I need to increase the value of epsilon
or decrease it?
This termination criteria tells the algorithm to stop when it has either done
20
iterations or when epsilon is greater than .3
. You can play with these parameters for speed vs accuracy but these values work pretty well in many situations.
So if you want to improve accuracy then you will get more accurate value with more iterations but the time taken for doing such iterations will be improved , I mean speed will be reduced.