Ask Your Question
1

LineIterator

asked 2019-08-28 10:49:37 -0600

WolfG gravatar image

Greetings!

What are the LineIterator parameters 8-connected or 4-connected used for?

Could not find any hint in the doc.

Wolf

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2019-08-28 12:25:08 -0600

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-08-28 10:49:37 -0600

Seen: 447 times

Last updated: Aug 28 '19