01-16-2012 11:58 AM
I have a program that opens an image and performs pattern matching on it. How would I save the pattern matching information to a file? For example, I would like to save the location of the center of the pattern as well as the number that says how well the pattern matches the template. Thanks!
01-16-2012
12:44 PM
- last edited on
03-28-2025
02:47 PM
by
Content Cleaner
How about writing the results to an INI file? OpenG comes with support for writing clusters to an INI. MGI has a VI "Write Anything" that also writes clusters to INI files. If you do not want text files, you could write the information to a binary file which will run fastest but does not allow to read it with a text editor.
01-19-2012 01:23 PM
What about IMAQ Write File 2 VI ?
Writes an image, along with extra vision information associated with the image, to a PNG file. This extra vision information includes overlay information, pattern matching template information, and calibration information. Note that this vision information can only be saved with the PNG file format.
![]() |
Note The extra vision information can be saved only with the PNG file format. |
You can use Overlay toolbox to make the overlay information to be whatever you want.