Ask Your Question

Revision history [back]

The documentation is here: http://docs.opencv.org/modules/core/doc/basic_structures.html#termcriteria

Are you sure that your constructor is well formed? As fas as I read, your algorithm would end after 3 iterations. Since you only use CV_TERMCRIT_ITER, the 1 is ignored. (The second parameter would be the minimal accuracy needed before terminating).