Why the output for the 8-connectivity and 4-connectivity for the binary image will be different?

1 view (last 30 days)
I need to generate connected components for the binary image, both for 4- and 8-connectivity. Why both outputs are different?
  3 Comments
Adam
Adam on 22 Feb 2017
Why would you expect them to be the same? Pixels in one are connected to twice as many other pixels as in the other!
Rik
Rik on 22 Feb 2017
Which is why I assumed junnie vix doesn't fully understand the underlying concept, which is why I linked to Wikipedia.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!