how to get pixel coordinates

1 view (last 30 days)
kash
kash on 14 Feb 2013
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)

Community Treasure Hunt

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

Start Hunting!