11-18-2011 01:33 AM
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
11-29-2011 10:00 AM
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