LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ROI descriptor

We want to use the IMAQ read LCD  to read the screen on a digital thermometer. We need a ROI descriptor but we do not know what is suitable for that. PLEASE HELP!

 

Thank you

Message 1 of 10
(3,726 Views)

Hi F.N,

 

I hope you are well. 

 

One of the easier ways of creating a Region of Interest (ROI) descriptor is to use the IMAQ Construct ROI VI as it allows you to select the ROI convieniently as it saves time creating code to perform the same task.

 

Essentially a dialog box will pop up allowing you to select the Region that you are interesting in analysing.

 

More information can be found here:

http://zone.ni.com/reference/en-XX/help/370281P-01/nivisionlvbasics/define_regions_of_interest/

and 

http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_constructroi/

 

 

Kind Regards,

__________________________
Aidan H

Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 10
(3,694 Views)

Thank you. We attempted that and so far it looks fine but the problem now is that we did not convert the image to grayscale. How would that be done?

0 Kudos
Message 3 of 10
(3,685 Views)

I can't see your VI, but I asume you used a 'create IMAQ.vi' in your program? You can wire a control to the Image Type input. If you use a control you can choose for grayscale.

 

Does this help you? Otherwise you will have to convert it in another way, but please let me know if this already works.

 

Kind regards

Ruts

0 Kudos
Message 4 of 10
(3,682 Views)

We have now converted to grayscale, but the problem is still the ROI - we're told to use the "IMAQ Get LCD ROI", but as an input into that icon we now need another ROI descriptor. As we are taking pictures as a sequence, it would interrupt the program if we ask every time for the user to define the ROI

0 Kudos
Message 5 of 10
(3,674 Views)

Also on this topic, would you please share your VI. This would make it a lot easier to see what's the problem.

0 Kudos
Message 6 of 10
(3,669 Views)

Why don't you use the image control to define your ROI?

 

You can use a property node from your image display to output a ROI. You can then define this ROI with the tools on the side of the image display.

0 Kudos
Message 7 of 10
(3,664 Views)

This is our vi. The problem is that we need a suitable ROI descriptor for the IMAQ get LCD ROI. Thank you

0 Kudos
Message 8 of 10
(3,662 Views)

What do you mean by image control? How would we find it?

0 Kudos
Message 9 of 10
(3,658 Views)

The thing on your front panel that is showing the picture from your camera!

Double click on it (so it takes you to the corresponding block diagram indicator), right click, create, property node, ROI.

Message 10 of 10
(3,647 Views)