Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Sep 20, 2006
Messages
18
Location
CA
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.
 
Found what Im looking for, the "ginput" function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top