필터 지우기
필터 지우기

I am trying to use the 'find' function to identify white blobs and thereafter their centroids in an image

조회 수: 1 (최근 30일)
function centre = whiteCentre(A)
A = imread('BallBlob.bmp');
[row,col] = find(A)
end
How do I make 'find' go through all columns of my image? Will work out the centroid part after I resolve this.

답변 (1개)

yanqi liu
yanqi liu 2021년 10월 18일
sir,may be use
bwlabel and regionprops
  댓글 수: 1
Pranav Nag
Pranav Nag 2021년 10월 18일
Yes those are better solutions but I have been challenged to use the 'find' function for this task. Any advice?

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

카테고리

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