Ask Your Question
0

LineIterator

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

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 -0500

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
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 30 times

Last updated: Aug 28