4 and 8-connected pixels

Hello everyone! I need to solve the detection of 4 and 8 connected pixels neighborhood of a object in an image. Any ideeas or source code?
Thanks!

2 Commenti

José-Luis
José-Luis il 31 Gen 2017
Your question is not clear.
i rewritten

Accedi per commentare.

Risposte (1)

Andres Fonts
Andres Fonts il 6 Lug 2017

0 voti

Try using regionprops matlab function

Community Treasure Hunt

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

Start Hunting!

Translated by