how to get pixel coordinates

I have a image and have drawn,roipoly command,now i want to get the pixel coordinates,plz tell how to get these coordinates

 Akzeptierte Antwort

Jan
Jan am 14 Feb. 2013

0 Stimmen

BW = roipoly(...);
[x,y] = find(BW);

Weitere Antworten (0)

Gefragt:

am 14 Feb. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by