how to locate blobs upper middle and lower middle points and plot it
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anandakumar Selvaraj
le 7 Déc 2013
Modifié(e) : Anandakumar Selvaraj
le 8 Jan 2014
i am trying to locate points like it shows in the figure 4 below were the centroid i have marked as shown in figure 2 from the binary image now i have to mark upper lower and left and right boundry point as in fig 4 ..any one help me
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153530/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153531/image.jpeg)
I have marked the centroid of the blob using
s = regionprops(binaryImage, 'centroid');
centroids = cat(1, s.Centroid);
imshow(binaryImage);
hold(imgca,'on');
plot(imgca,centroids(:,1), centroids(:,2), ...
'r*','MarkerSize', 10, 'LineWidth', 3);
0 commentaires
Réponse acceptée
Image Analyst
le 9 Déc 2013
I answered this in your duplicate question: http://www.mathworks.com/matlabcentral/answers/109002#answer_117775
1 commentaire
Anandakumar Selvaraj
le 8 Jan 2014
Modifié(e) : Anandakumar Selvaraj
le 8 Jan 2014
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!