how can i draw small circles on several specific pixels and count all the pixels inside these circles
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Image Analyst
el 22 de Mayo de 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 comentarios
Image Analyst
el 23 de Mayo de 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
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!