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.
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 (2024). 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 .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Get Started with Image Processing Toolbox >
Find more on Get Started with Image Processing Toolbox in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |