ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I save non-linear calibration parameters?

If I do a non-linear calibration, how do I save and re-apply them to succeeding images, without having to re-do the calibration if I exit my program?
 
I am using VB and IMAQVision.
 
Thanks!
 
0 Kudos
Message 1 of 5
(3,467 Views)
Hi Steverino,
 
The calibration information is saved as Vision Information.  Once you have calibrated an image, save it to disk using WriteImageAndVisionInfo.  In your other program you can load this image using ReadImageAndVisionInfo.  To calibrate a new image, simply call SetCalibrationInformation.  It is important to note that both images must be the same size.
 
Regards,
 
Ryan M.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,452 Views)
Thanks for the help!
0 Kudos
Message 3 of 5
(3,444 Views)
Thanks for the info!
0 Kudos
Message 4 of 5
(3,442 Views)
Your welcome.
0 Kudos
Message 5 of 5
(3,435 Views)