10-01-2006 10:32 PM
10-02-2006 08:27 AM
Can do it but CPU intensive. Look at image calibration functions in IMAQ. You basically shot a picture of a calibrated image then let IMAQ figure out how to make it square again. We tied it, it worked nice, but cost too much CPU for our application. We used it to take the bend out of a wide angle lens. You are better off shooting it straight on if possible.
http://digital.ni.com/public.nsf/allkb/5FC615E2B4CFE8FA86256AC4007C9A42
10-02-2006 09:21 AM
Wow. Ok I went through the example VIs and see what you mean about it taking some time to compute... I don't know if that'll work after all if I'm trying to get this to work on a video feed.
Do you know though, if I did the calibration stuff on the first image (or few images averaged) from the ccd, couldn't I just use that info to cal the rest of the ccd feed and thus reduce cpu time?
Thanks!
jonathan
10-02-2006 09:25 AM
Don't know. I just tied and successful used the calibrate function. Let me know if you find a better way.
10-02-2006 01:30 PM
Hello IEC,
Thank you for contacting National Instruments. When you calibrate an image for the first time, the perspective information from the reference image is stored to save processing time. Therefore you do not need to calibrate from a template each time you acquire an image. However those images will still involve CPU time because the pixels must be adjusted. The best way to reduce thee CPU time is to correct the camera's position if possible.
Regards,
Mike T
National Instruments