Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Defining coordinate points from an image

Status
Not open for further replies.

ohagan

Electrical
Sep 20, 2006
18
Hi I am trying to define x,y coordinates from an image. I would like to be able to just click a series of points on the image (after displaying it) and have the x,y coordinates recorded from each click automatically. Is there a way to do this?

My end goal is semi automatic segmentation of an image, my idea is to define a variety of points by click on the image and then fitting a spline or something between the points to define the boundaries that I am interested in. I have tried using the data cursor in the picture window to see the x,y coords and then input them manually but this is not the way I want to do it.

Thanks.
 
Replies continue below

Recommended for you

Found what Im looking for, the "ginput" function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor