extraction of the bright blob

조회 수: 1(최근 30일)
Walaa
Walaa 2022년 11월 2일
답변: KALYAN ACHARJYA 2022년 11월 2일
I want to segment the bright blob and measure its major axis .

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2022년 11월 2일
grayImage=imread('image_test11.png');
bw_Image=imbinarize(grayImage,0.99); % Change threshold as per desired output
biggestBlob=bwareafilt(bw_Image,1);
imshow(biggestBlob);
# The resultant image is a mask, apply the mask to the gray image and get the result. To be more precise though, do more steps (such as morphological operations) on the gray image.

추가 답변(0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by