how to locate blobs upper middle and lower middle points and plot it
1 view (last 30 days)
Show older comments
Anandakumar Selvaraj
on 7 Dec 2013
Edited: Anandakumar Selvaraj
on 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
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 Comments
Accepted Answer
Image Analyst
on 9 Dec 2013
I answered this in your duplicate question: http://www.mathworks.com/matlabcentral/answers/109002#answer_117775
1 Comment
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!