LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting the global rectangle to ROI or bounding box or simple rectangle

Solved!
Go to solution

Hello, 

I am using the labview vision utilities for my project and i need to get subimages by identifying different shapes like circle and rectangle. I am trying to identify traffic signs real time. so for faster processing i'm using "IMAQ Shape Match Tool VI". but it gives the output in the form of a global rectangle which i'm not able to use. Any suggestions would be appreciated. 

0 Kudos
Message 1 of 4
(6,244 Views)

Why can't you pass your Global Rectangle to IMAQ Convert Rectangle to ROI (if you want to "convert the global rectangle to ROI")?

 

Bob Schor

0 Kudos
Message 2 of 4
(6,151 Views)
What you want to use the global rectangle or ROI for?
-If you are trying to do overlays: IMAQ IMAQ Overlay Rectangle VI is redily available http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_overlay_rectangle/
-If you are trying to extract there is IMAQ Extract VI http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_extract/
-Region Of Interest Frequently Asked Questions (FAQ) : http://digital.ni.com/public.nsf/allkb/82C6023BCC87F5CA86256F38006D2C98
Thanks
uday
Message 3 of 4
(6,145 Views)
Solution
Accepted by topic author mana25

Thank you all for the reply. 

And i needed the roi for the particle classification vi. But the global rectangle had only the coordinates of the upper left corner  and the lower right corner but no rotation. 

So i unbundled em by name and then bundled it again using 0 degrees as rotation and then used the rectangle to roi vi. And the problem was solved. Alhamdulillah. 

Again thank you. 

0 Kudos
Message 4 of 4
(6,140 Views)