getting coordinates from a picture
Show older comments

Hi! I have an image that I would like to get the coordinates from. Its a 2D image. I need to perform some operation with the image. I need to get the coordinates of some points I choose and get them saved. I am aware of the data cursor, but since I have a huge number of points, manual operation will be of no way.
lets say, I have this basic structure of a thermal fin. I need say 1000 points from its boundary.Is there any way in matlab, I can import the image, and save the coordinates of the boundary, distributed evenly over.
I hope my question is clear.
thanks in advance!!
Accepted Answer
More Answers (1)
Venkatkumar Muneeswaran
on 15 Jun 2023
Edited: Venkatkumar Muneeswaran
on 15 Jun 2023
0 votes
3 Comments
Venkatkumar Muneeswaran
on 15 Jun 2023
As of now I am using Similar to that, but Is ther any otherway without picking the points in the image and directly recognize the line/dashed line plot in the image?
Image Analyst
on 15 Jun 2023
Edited: Image Analyst
on 15 Jun 2023
Yes, but it will be complicated. Probably too complicated for you to program up. You'd have to segment the image to find the curved line, and the axes (box) then find the limits of the axes to spatially calibrate it. Not super trivial. Why don't you just use imfreehand to trace the curve? Demo attached.
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



