Counting objects in binary image

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

KSSV
KSSV 2018년 5월 12일
Can you attach your image, so that we can help you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2018년 5월 12일

0 개 추천

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?

질문:

2018년 5월 11일

답변:

2018년 5월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by