11-18-2010 10:28 AM
I have hundreds of images (png) that I want to convert into templates to be used in "IMAQ Match Pattern 2".
I don't care about the angle the template was captured as and such, I will set them to default values.
Is there anyway to open the images (1 at a time) in LabVIEW and then save as a template image (png)?
Many Thanks,
A.
11-19-2010 10:28 AM
ADL,
If possible I would store all of the images in a single file with incrementing file names. For example have a folder of images called Images that contains img1.png, img2.png, img3.png ...
Then you can use a for loop to load each image and process it accordingly. The example below shows how to load the images one a time, but does not do any processing:
Regards,
Sam K
Applications Engineer
National Instruments
11-19-2010 01:51 PM
11-19-2010 02:41 PM
ADL,
You will need to use the IMAQ Learn Pattern 2 VI.
IMAQ Learn Pattern 2 VI
http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_learn_pattern_2/
-Sam K
Applications Engineer
National Instruments