Get coordinated of user drawn rectangle in image
Fri, 03/09/2018 - 03:55 am
I have a seemingly simple problem, however I could not find a solution in the Igor documentation.
I have an image that is displayed vie NewImage. The user has to draw a rectangular ROI in the image. This can be easily done by utilizing the standard ROI-Panel. What I need is a way to get the coordinates of the user drawn rectangle. Either in pixels or some other arbitrary scaling.
Is there a way to get the rectangle coordinates inside the image?