4 and 8-connected pixels

2 次查看(过去 30 天)
Marius Lucian Mihaila
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!

回答(1 个)

Andres Fonts
Andres Fonts 2017-7-6
Try using regionprops matlab function

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by