Ask Your Question

Revision history [back]

you can find a good example code showing usage of LineIterator here

and see the difference when LineIterator defined 4-connected instead of 8-connected

LineIterator it(ocv, cen, p2, 4);

image description image description