版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、 Camera Calibration Toolbox for MatlabDescription of the calibration parametersAfter calibration, the list of parameters may be stored in the matab file Calib_Results by clicking on Save. The list of variables may be se
2、parated into two categories: Intrinsic parameters and extrinsic parameters. Intrinsic parameters (camera model): The internal camera model is very similar to that used by Heikkil 伯 a> and Silven at the University of O
3、ulu in Finland. Visit their online calibration page, and their publication page. We specifically recommend their CVPR'97 paper: A Four-step Camera Calibration Procedure with Implicit Image Correction. The list of int
4、ernal parameters: ? Focal length: The focal length in pixels is stored in the 2x1 vector fc. ? Principal point: The principal point coordinates are stored in the 2x1 vector cc. ? Skew coefficient: The skew coefficient de
5、fining the angle between the x and y pixel axes is stored in the scalar alpha_c. ? Distortions: The image distortion coefficients (radial and tangential distortions) are stored in the 5x1 vector kc. Definition of the int
6、rinsic parameters: Let P be a point in space of coordinate vector XXc = [Xc;Yc;Zc] in the camera reference frame. Let us project now that point on the image plane according to the intrinsic parameters (fc,cc,alpha_c,kc).
7、 Let xn be the normalized (pinhole) image projection: Let r2 = x2 + y2. After including lens distortion, the new normalized point coordinate xd is defined as follows:Commented [微軟用戶 微軟用戶 1]: 四個內(nèi)參,包括焦距 fc,原點坐標 cc, 相機坐標系中
8、 x 和 y 軸夾角 alpha_c(接近 90°) ,幾何畸變系數(shù) kcBoth components of the vector fc are usually very similar. The ratio fc(2)/fc(1), often called “aspect ratio“, is different from 1 if the pixel in the CCD array are not square. T
9、herefore, the camera model naturally handles non-square pixels. In addition, the coefficient alpha_c encodes the angle between the x and y sensor axes. Consequently, pixels are even allowed to be non-rectangular. Some au
10、thors refer to that type of model as “affine distortion“ model. In addition to computing estimates for the intrinsic parameters fc, cc, kc and alpha_c, the toolbox also returns estimates of the uncertainties on those par
11、ameters. The matlab variables containing those uncertainties are fc_error, cc_error, kc_error, alpha_c_error. For information, those vectors are approximately three times the standard deviations of the errors of estimati
12、on. Here is an example of output of the toolbox after optimization: In this case fc = [657.30254 ; 657.74391] and fc_error = [0.28487 ; 0.28937], cc = [302.71656 ; 242.33386], cc_error = [0.59115 ; 0.55710], ... Importan
13、t Convention: Pixel coordinates are defined such that [0;0] is the center of the upper left pixel of the image. As a result, [nx-1;0] is center of the upper right corner pixel, [0;ny-1] is the center of the lower left co
14、rner pixel and [nx-1;ny-1] is the center of the lower right corner pixel where nx and ny are the width and height of the image (for the images of the first example, nx=640 and ny=480). One matlab function provided in the
15、 toolbox computes that direct pixel projection map. This function is project_points2.m. This function takes in the 3D coordinates of a set of points in space (in world reference frame or camera reference frame) and the i
16、ntrinsic camera parameters (fc,cc,kc,alpha_c), and returns the pixel projections of the points on the image plane. See the information given in the function. The inverse mapping: The inverse problem of computing the norm
17、alized image projection vector xn from the pixel coordinate x_pixel is very useful in most machine vision applications. However, because of the high degree distortion model, there exists no general algebraic expression f
18、or this inverse map (also called normalization). In the toolbox however, a numerical implementation of inverse mapping is provided in the form of a function: normalize.m. Here is the way the function should be called: xn
19、 = normalize(x_pixel,fc,cc,kc,alpha_c). In that syntax, x_pixel and xn may consist of more than one point coordinates. For an example of call, see the matlab function compute_extrinsic_init.m. Commented [微軟用戶 微軟用戶 4]: Fc
20、_error,cc_error,kc_error,alpha_c_error 這四個變量記錄四個內(nèi)參的不確定度,大小設(shè)定為三倍 標準差Commented [微軟用戶 微軟用戶 5]: 注意:圖像左上角默認為原 點[0;0] 左下角為[0;ny-1] 右上角為[nx-1;0] 右下角為[nx-1;ny-1]Commented [微軟用戶 微軟用戶 6]: 函數(shù) project_points2.m 將相機 坐標系下的三維點陣按照內(nèi)參轉(zhuǎn)化
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- matlab工具箱簡介
- matlab工具箱總匯
- matlab 工具箱函數(shù)
- matlab擬合工具箱
- matlab工具箱介紹
- matlab遺傳算法工具箱及應(yīng)用
- matlab工具箱函數(shù)匯總
- matlab工具箱函數(shù)匯總
- matlab工具箱命令匯總
- matlab統(tǒng)計工具箱
- matlab部分工具箱
- matlab的優(yōu)化工具箱
- matlab如何添加工具箱
- 實驗 matlab優(yōu)化工具箱
- matlab優(yōu)化工具箱的使用
- matlab遺傳算法工具箱函數(shù)及實例講解
- matlab遺傳算法工具箱函數(shù)及實例講解
- matlab統(tǒng)計工具箱函數(shù)大全
- matlab工具箱函數(shù)匯總表
- MATLAB數(shù)字水印工具箱實現(xiàn).pdf
評論
0/150
提交評論