LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

For asking ROI need help urgently

I want to create a ROI which is come out from the pattern matching. Is there any ideas for this? The informations are come from the pattern matching of "Matches". I think the "bounding box" and "position" can handle to create the ROI. But now my problem is can't fix the ROI what I matched from pattern matching. Below the VI is what I have tried.

Need help urgently,

Michaelmexes

0 Kudos
Message 1 of 8
(4,387 Views)
You can use an array to cluster-->unbundle by name--->unbundle (top,left,Bottom,right).
0 Kudos
Message 2 of 8
(4,336 Views)
I dont have 8.2 lv.Can you attach your code for lv 8.0? or a screen shot of your block diagram?
0 Kudos
Message 3 of 8
(4,335 Views)

Hello Michaelmexes,

 

If you implement the code found in the "How do I extract a free shape ROI?" section of this link, you should gain the ROI control you want. I hope this helps 🙂

David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
Message 4 of 8
(4,304 Views)

I think this is not what I means. I means the image ROI is coming from after matching with "pattern matching". That's means the ROI must be the same with what we match with "pattern matching". It's seem like drawing overlay. If u can't understand please ask me again. Thanks u all..

 

Michaelmexes

0 Kudos
Message 5 of 8
(4,287 Views)
Hello Michaelmexes,

After reviewing this forum post, I found that the “IVA Match Pattern Algorithm.vi” is a custom VI that you generated using Vision Assistant. To specify a ROI within this subVI, you must use the NI Vision Assistant software.

What exactly is your application? Have you looked at the examples in Vision Assistant, specifically the “Printed Circuit Board Inspection” example? I feel that this example will help you in your development. You can then determine how to best implement the Pattern Matching step in Vision Assistant, and generate a new “IVA Match Pattern Algorithm.vi” for use in LabVIEW.

Can you post your Vision Assistant script file (.scr file) to this forum?
Message Edited by DjDaveNI on 09-04-2008 09:02 AM
David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
Message 6 of 8
(4,265 Views)

Sorry for my late reply. I think u answered is not what I'm trying to say. I means is how can i create a ROI exactly the same as overlay..
thanks for trying to answered my questions.

0 Kudos
Message 7 of 8
(4,201 Views)

Michaelmexes,

I am still not sure exactly what you are asking. Your code calls the ROI using a property node. This seems like it will work just fine. What are you trying to do with the ROI? Without the .scr file from Vision Assistant it’s really tough to pinpoint the issue. Please answer the questions in my previous posts, so that forum users can do our best to help you out.
David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
Message 8 of 8
(4,179 Views)