how to locate blobs upper middle and lower middle points and plot it
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Anandakumar Selvaraj
il 7 Dic 2013
Modificato: Anandakumar Selvaraj
il 8 Gen 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 Commenti
Risposta accettata
Image Analyst
il 9 Dic 2013
I answered this in your duplicate question: http://www.mathworks.com/matlabcentral/answers/109002#answer_117775
1 Commento
Anandakumar Selvaraj
il 8 Gen 2014
Modificato: Anandakumar Selvaraj
il 8 Gen 2014
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!