Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ ROI point tool

I need to have two different ROI points (from the point tool) in a single IMAQ image.
Those two points are correlated to an XY motion system to obtain the respective position of each ROI point.
 
I believe that the easiest way to do that is to obtain the ROI point and then create my own overlays (building cross-hairs) for each of those points.
 
Using the ROI tools in an IMAQ image, I need to get the coordinates of the the user "click" when a point is placed.
Is there a way to determine if a mouse click has occurred in an image (I know it can be done in a picture).
 
If not, can someone please tell me the easiest way to determine if an ROI has been selected and to get the coordinates of the point?
 
Thanks
 
 
 
0 Kudos
Message 1 of 4
(3,721 Views)
Is this what you are searching for ?
 
 
Best regards, Guenter
0 Kudos
Message 2 of 4
(3,718 Views)

Nothing is showing up in your post.

 

I have found the way to work around it, but I would prefer if I could get two ROIs in one image and set the display for a point.

Thanks

 

0 Kudos
Message 3 of 4
(3,715 Views)

Sorry, I apologize for pasting a local link to the post. Therefore no screenshot appeares.

Now I attached the according screenshot: Create an event that handles the MouseUp event on the image. If the selected tool is the Point -> Take the property "Last Mouse Position".

Best regards, Guenter

0 Kudos
Message 4 of 4
(3,711 Views)