Is there any way to project certain matrix into the x, y coordinate system?
2 views (last 30 days)
Show older comments
HyoJae Lee
on 15 Sep 2022
Commented: HyoJae Lee
on 16 Sep 2022
Hello,
I have a question regarding to image analysis.
Here, I have a image like this black and white image (or matrix).
I=imread(['111.png']);
imshow(I)
My final goal is find a best fit ellipse for the white area.
However, right now, I'm struggling how to find an ellipse equation, x2/a2+y2/b2=1 just in this matrix.
So, when we suppose center of the image as a center of the ellipse, is there any way to convert this image into x, y coordinate system or simpler way to find ellipse equation?
0 Comments
Accepted Answer
Walter Roberson
on 15 Sep 2022
Edited: Walter Roberson
on 15 Sep 2022
find the boundary points. Then https://www.mathworks.com/matlabcentral/fileexchange/3215-fit_ellipse or https://www.mathworks.com/matlabcentral/fileexchange/15125-fitellipse-m
3 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!