LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

imaq image control click 2get coordinates

Hello!

 

I am using a thermal camera to get the pixel values (temperatures) of the recorded objects.

Doing some image processing (thresholding, erode&dilate, etc...) and then getting the coordinates using the image control (returns coordinates using a mouse click control). Similar as this https://decibel.ni.com/content/docs/DOC-18105.

 

My problem is as follows:

 

Using the ROI "SELECTION" tool (looks like a mouse pointer) the coordinates do not initialize!

 

But when using the ROI "POINT" tool (crosshair) the coordinates initialize just fine!

 

I f you take a look at the above example (https://decibel.ni.com/content/docs/DOC-18105) both tools initialize the coordinates on the image using a click contrtol.

 

Does anyone have any idea what is happening here?

 

p.s.: I am also using Region of Interest and Overlay VI's.

 

Thank you and best regards,

 

K

 

 


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 1 of 2
(2,759 Views)

Dear Klemen,

 

As I understood you want to select a part of your picture and use as ROI?

Or you just want that you point a coordinate, and get the RGB values?

I tested the mentioned example, and if you want to select a rectangle as a region of interest, I suggest you to use rectangle tool instead of selection tool to select your ROI.

As I experienced: The selection tool puts only x,y coordinates of your current mouse position.

 

The rectangle tool sends also the starting and ending coordinates.

 

Best Regards,

Tamas

0 Kudos
Message 2 of 2
(2,708 Views)