LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

auto extracting a ROI

I am trying to test custom LCD displays using vision.  I can not find one easy way to perform some basic testing (contrast ratio, ghost images, missing segments...).  I am trying to use OCR to read back the LCD text.  The problem I am having is the LCD edge and plastic housing edge are very close.  If I manually set a ROI it sometimes catches the plastic edge of the housing and the software thinks its an unrecognized character.  How can I use edge detection to determine the top/bottom, left/right edges of the LCD and extract it as an ROI automatically?
0 Kudos
Message 1 of 2
(3,195 Views)
Hi,

Thanks for posting to the NI forums!  There are many VIs that convert a shape to an ROI.  You can use the points you find from the edge detection to create a rectangle, then convert it to an ROI using the rectangle to ROI VI.

Regards,
Maclean G.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,166 Views)