![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1177283/image.png)
extraction of the bright blob
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Walaa
il 2 Nov 2022
Risposto: KALYAN ACHARJYA
il 2 Nov 2022
I want to segment the bright blob and measure its major axis .
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1177113/image.png)
0 Commenti
Risposta accettata
KALYAN ACHARJYA
il 2 Nov 2022
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1177283/image.png)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!