MATLAB: How to find coordinates of specific pixel l value

image processingImage Processing Toolboximage segmentation

hello all,
i want to find the x,y coordinates of specific pixel value. how i can find that.kindly guide me thanks.
see attach image. this represts the pixel values of binary image, now i want to find x,y coordinates of these pixel values only.b6f8411eb0ede0815ae2e9f9a9a6668.jpg

Best Answer

[row,col]=find(BW3==1);
depending on your image orientation, either row is x, or col is x.