File Exchange

image thumbnail

Convert white pixels in a binary image to coordinates

version 1.0.0.0 (911 Bytes) by Sathyanarayan Rao
This function forms coordinate array [x,y] of white pixels based on user defined range.

3 Downloads

Updated 13 Apr 2018

View License

Suppose a binary image encompasses a square of 1 cm x 1cm, then providing the xlim as [0,1] and ylim as [0,1], this function converts all white pixel from the input image pixel coordinate to real physical coordinate [c1,c2].

Cite As

Sathyanarayan Rao (2020). Convert white pixels in a binary image to coordinates (https://www.mathworks.com/matlabcentral/fileexchange/66901-convert-white-pixels-in-a-binary-image-to-coordinates), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux