From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Examples of use with IMAQ ROTATE and IMAQ PATTERN MATCH or IMAQ FIND PATTERN 2

Hello everyone. Anyone have an example of using the control IMAQ ROTATE and IMAQ PATTERN MATCH or IMAQ ROTATE with IMAQ FIND PATTERN 2?.
Thank you very much.

0 Kudos
Message 1 of 12
(6,616 Views)
0 Kudos
Message 2 of 12
(6,609 Views)

You can similarly extract the angle from the patternmatching cluster and feed it to imaq rotate

 

20463iB58C52A0B018469E

0 Kudos
Message 3 of 12
(6,608 Views)

Hello again. Even I have problem with detecting the angle of inclination of an image on a template. I based the code that generates the VISION ASSISTANT. In the VISION ASSISTANT detected the angle of inclination, but not when it implemented a code from LabVIEW with the webcam.
Attached some pictures to tell me where I can be making the error.

 

anglevass0.jpg

* front panel created by Vision assistant, works with an image file stored on the hard disk.
* block diagram generated by Vision assistant works with an image file stored on the hard disk.


anglewebcam0.jpg:
 * front panel adapted to work with the webcam.
* block diagram adapted to work with the webcam.

 


Thank you.

Download All
0 Kudos
Message 4 of 12
(6,575 Views)

Can you attch a couple of original images so that I can try pattern matching and rotation at my end?

0 Kudos
Message 5 of 12
(6,556 Views)

Hello and thank you for answering muks. Attached files: pattern and the sample image.

0 Kudos
Message 6 of 12
(6,541 Views)

Try the attached vi with the attached template

Download All
0 Kudos
Message 7 of 12
(6,531 Views)

Try opening the file but does not place the control labview IVA MATCH PATTERN ALGORITHM.vi
I'm using, LabVIEW 8.5

Thank you.

0 Kudos
Message 8 of 12
(6,506 Views)

I created IVA MATCH PATTERN ALGORITHM.vi using vision assistant.

0 Kudos
Message 9 of 12
(6,489 Views)

In the next block of functions perform continuous capture of images and show it in the indicator function RGB images using Vision Express (parameters to control zoom, focus, contrast, etc.), then extract the image plane Original leaving a grayscale image (8 bits)

 

3.png

0 Kudos
Message 10 of 12
(5,208 Views)