how can i draw small circles on several specific pixels and count all the pixels inside these circles
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a road map and i am trying to put circles on each road pixel (which defined the accessibility from the road) and then count all the pixels inside these circles. Can someone help me with this
thanks Mojtaba
0 Kommentare
Antworten (1)
Image Analyst
am 22 Mai 2017
You can use viscircles() to draw circles in the overlay above the image. From the radius, you know how many complete pixels and partial pixels will be in a circle of that radius.
2 Kommentare
Image Analyst
am 23 Mai 2017
I see blue, red, and white pixels. No black pixels. To find centroids of blobs, use regionprops(). See my Image Segmentation Tutuorial. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!