ImageReconstruction
所属分类:模式识别(视觉/语音等)
开发工具:Visual C++
文件大小:39KB
下载次数:3
上传日期:2010-05-30 23:12:25
上 传 者:
砸锅卖铁
说明: 非常不错的有关Levenberg-Marquardt algorithms图像识别程序,欢迎下载!
(very good program about Levenberg-Marquardt algorithms.)
文件列表:
calibr\Contents.m (1013, 2000-10-17)
calibr\cacal.m (3005, 2000-10-17)
calibr\cacalw.m (3384, 2000-10-17)
calibr\cademo.mat (56489, 2000-10-17)
calibr\caldemo.m (5078, 2003-11-27)
calibr\cinit.m (907, 2000-10-17)
calibr\cmodel.m (1914, 2000-10-17)
calibr\configc.m (1536, 2000-10-17)
calibr\extcal.m (1562, 2000-10-17)
calibr\extinit.m (2265, 2000-10-17)
calibr\frames.m (1092, 2000-10-17)
calibr\imcorr.m (1026, 2000-10-17)
calibr\imdist.m (1017, 2000-10-17)
calibr\invmodel.m (1482, 2000-10-17)
calibr\jacobc.m (1424, 2000-10-17)
calibr\license.txt (1020, 2000-10-17)
calibr\lmoptc.m (1997, 2000-10-17)
calibr\caldemo.asv (5078, 2003-11-27)
calibr\license.mdb (98304, 2005-03-29)
calibr (0, 2004-01-11)
中国图象图形网下载说明.html (4862, 2006-09-29)
CAMERA CALIBRATION TOOLBOX FOR MATLAB (v3.0 10-17-00)
Installation
------------
Simply copy all the .m files into a directory 'calibr' and add it to your
MATLABPATH. Matlab version 4.0 or later is required.
Things to do
------------
If you have a 3-D calibration object, you can cope with a single image. In
order to obtain satisfactory calibration result, the object should cover the
entire image as well as possible. Also, multiple images are supported. Then,
the images should be captured from different viewpoints changing the camera
orientation and distance. In case of a coplanar calibration target a single
image is not adequate and a set of images (2-6) is needed to solve all
the camera parameters. The coordinates of the coplanar control points should
be selected so that the z coordinates become zero. The 3-D coordinate unit is
millimeter and image coordinate unit is pixel. The calibration coordinate
system is right-handed. The origin of the image coordinate system is in the
top left corner, x axis is to the right and y axis downwards.
The input data to CACAL-routine is following:
First parameter is a string that defines the camera type. The valid camera
types are listed in CONFIGC.M that is a function where the user can add his
own configuration data. The data consists of the following information:
NDX number of pixels in horizontal direction
NDY number of pixels in vertical direction
Sx effective CCD chip size in horizontal direction [mm]
Sy effective CCD chip size in vertical direction [mm]
f0 nominal focal length (needed in case of coplanar targets)
rad radius of the control points [mm]
name name of the setup
The calibration data is given in separate matrices for each image. The maximum
number of images is currently six. The data matrix structure is following:
Columns 1 to 3: x, y, and z coordinates of the control points. In case of a
a coplanar target the z-coordinates must be zero.
Columns 4 to 5: corresponding x- and y- image coordinates.
Columns 6 to 8: normal vector [nx ny nz] of the target surface around
the control point given in the world coordinate frame,
for example [0 0 1], in case of a coplanar target.
The output data is following:
- Eight intrinsic camera parameters:
par(1)=scale factor ~1
par(2)=effective focal length
par(3:4)=principal point
par(5:6)=radial distortion coefficients
par(7:8)=tangential distortion coefficients
- The position and orientation of the camera for each image:
pos(1:3)=x, y, z -coordinates (actually, the position
of the calibration coordinate frame origin with
respect to the camera coordinate frame)
pos(4:6)=w, p, r euler rotation angles around x, y, z axes.
- Number of iterations required
- Sum of squared error terms
- The remaining error in pixels. This error gives a guideline to detect
the accuracy of the calibration. The error should be non-systematic with
the standard deviation less than 0.2 pixels. If the error is larger,
something goes wrong.
- Covariance matrix of the estimated parameters. The diagonal elements gives
the variance of the estimates.
For more information about the method, see
Heikkil, J, "Geometric Camera Calibration Using Circular Control Points",
IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 22,
No. 10, Oct 2000.
Version History
---------------
Version 1.0:
* calibration with 3-D and coplanar targets
* multiple images
* two-step procedure with the direct linear transformation (DLT) in
the first step, and nonlinear optimization in the second step
Version 2.0:
* faster implementation of the nonlinear optimization step
* three-step procedure for computing the intrinsic and extrinsic
camera parameters with circular control points
* fourth step for correcting image coordinates
Version 2.1b:
* computation of the extrinsic camera parameters from 3D - 2D correspondences
Version 3.0:
* distortion model has been reversed
* new formulation for the circle geometry
* three-step procedure
* new initialization method
Questions and comments are welcome to:
Janne Heikkila
University of Oulu
Department of Electrical Engineering
FIN-90014 Oulu, Finland
email: jth@ee.oulu.fi
web: http://www.ee.oulu.fi/~jth
近期下载者:
相关文件:
收藏者: