Counting objects in binary image

4 次查看(过去 30 天)
Anonymous
Anonymous 2018-5-11
How can I count the number of objects in a binary image without using built in functions? I know that regionprops does that, but I am not allowed to use built in functions.

回答(1 个)

Image Analyst
Image Analyst 2018-5-12
You can probably find connected components labeling pseudocode on the internet somewhere. Of course, if you do find that, could it be considered a "built-in function" that you're not allowed to use since someone else wrote it?

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by