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

 Accepted Answer

Jan
Jan on 14 Feb 2013
BW = roipoly(...);
[x,y] = find(BW);

More Answers (0)

Asked:

on 14 Feb 2013

Community Treasure Hunt

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

Start Hunting!