Find X and Y coordinates of white pixels in a grayscale image
1 view (last 30 days)
Show older comments
Hi, I want to find the x and y coordinates of all the pixels corresponding to the white pixels in this image and store them in an array. Later I want to find the equation of the best fitting curve passing through these coordinates. Can someone please help me with how this can be done?
PS I am very new to MATLAB and programming in general.
Thank you in advance
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1171433/image.png)
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!