02-08-2015 09:07 PM
hi ,
i am using following Gige Camera and Lens . machine vision application
5MP Gige Camera
Sensor Size = 2/3"
Optical Magnification = x4
FOV = 1.65 mm x 2.20 mm
I need to calibrate my camera so that i can get real world parameter values . i have seen example it tells about stereo Calibration (with Two camera ) not about sigle Camera with this Low FOV ..
I am new to this ..
02-09-2015 11:33 AM
The simplest way to calibrate the camera is to put a dot grid with known spacing under the camera, and use the LabVIEW calibration routines.
The difficulty is getting a good dot grid at that size. I would check places like Edmund Optics and see if they have glass slides with tiny dot grids printed on them.
Since it is unlikely you need to worry about distortion at this size, another solution is to use a ronchi ruling slide and measure the line frequency on three axis (0, 45, 90 degrees). With a little bit of math, you can determine the scale with the slide in any orientation. That requires a little more programming experience and a good math background, though.
Bruce
02-09-2015 07:27 PM
hi Bruce,
Thanks a lot for your kind reply.
i can able to do calibration in vision assistant.
but not in vi file .
Do you have any vi file regarding this .
It may helps to proceed further .
02-09-2015 09:38 PM
If you have NI Vision, you have everything you need. There are examples, and there is a whole pallete for "Calibration". The easiest way is to use Vision Assistant to create the calibration image, then just load the calibration image from your program. Make sure you load the image with the VI that includes Vision data.
Bruce
02-09-2015 09:47 PM
Ya i created that Calibration Image ..using vision assitant .
i can able to apply that calibration image to other vision assistant script also working.
Dont know how to use it in labview vi file ..
if i create vi file using vision assistant also shows calibration axis info and grid discripter as input ..
i dont know how to insert calibration image into vi file .. directly
02-09-2015 09:57 PM
Look at the calibration examples. They should show how you load a calibration image and apply it to new images. If you look at the calibration pallette in LV, it is pretty straightforward.
Bruce
02-09-2015 10:02 PM
From this from this modificatioin i have added the calibration image
and i have done some caliper it gives calibrated value ..
am i doing correct ?
02-09-2015 10:55 PM
It looks right to me. Do the results make sense to you?
Bruce
02-10-2015 12:21 AM
yes... it looks like correct ...
02-10-2015 12:30 AM
hi Bruce,
I have another Doubt .
i am doing machine vision project .. in ni froum they asked me to use Producer and consumer loop for processing.
in this method i need to grab image continuosly
but i need process like
[move axis(motion control)] - [ sanp image] - [ pattern match] - [ result]
Do you have any Design Pattern for this ?