Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Calibrate my Gige Camera

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 .. 

0 Kudos
Message 1 of 15
(5,941 Views)

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

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 15
(5,930 Views)

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 . 

 

 

0 Kudos
Message 3 of 15
(5,920 Views)

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

Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 15
(5,914 Views)

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 

 

 vis.PNG

0 Kudos
Message 5 of 15
(5,911 Views)

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

Bruce Ammons
Ammons Engineering
0 Kudos
Message 6 of 15
(5,907 Views)

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 ? 

viss.PNG

0 Kudos
Message 7 of 15
(5,904 Views)

It looks right to me.  Do the results make sense to you?

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 8 of 15
(5,895 Views)

yes... it looks like correct ... 

0 Kudos
Message 9 of 15
(5,888 Views)

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 ? 

 

 

 

imga.grab.PNG

0 Kudos
Message 10 of 15
(5,886 Views)