How can I find pixel coordinates of a perimeter in a binary image?
23 Ansichten (letzte 30 Tage)
I have a binary image which I have extracted the perimeter with bwperim() function. Now that I have the perimeter image I am trying to extract the coordinates of pixels in this perimeter.Here are the images:
The white perimeter illustrated in the second image is where I want to find the coordinates. Any Suggestions is appreciated.
Weitere Antworten (2)
Dishant Arora am 1 Apr. 2014
If you have a single blob the above answer would suffice but in case you have multiple objects use bwboundaries. It gives you the coordinates of boundary pixels.