资源简介
DLT 全称Direct Linear Transformation
这个资源是Matlab版本 获取相机参数 (C/C++版本的也实现了 但是没有在这个资源里, 想要的童鞋可以联系我)

代码片段和文件信息
% [New_ANew_R_t]=My_DLT_Fcn(Imag_cornerWorld_points)%
% **************************************************************
% ******* 用一个单视图共点的点来校准摄像机 *******
% **************************************************************
% 8/5/2013 Joseph Chen
% 1240803839@qq.com cgw@xjtu.edu.cn
% Input: Imag_corner is a N*2 vector while world_points is a N*3 vector
% every row of the related two vector must refer to the same point
%
% 备注: Xf Yf xw yw zw 都是列向量
%
% (Xd Yd) 由于镜头畸变,实际的图像坐标与(XuYu)不同
% (Xf Yf) is the coordinate used in the computer is the number of
% pixels for the discrete image in the frame memory 坐标系用来计算
% R 是一个3*3的旋转矩阵
% = [r1 r2 r3; r4 r5 r6; r7 r8 r9]; (2)
% [x y z]‘ = R * [xw yw zw]‘ + T (1)
% T 这是一个平移向量
% = [Tx Ty Tz]‘ (3)
% f 是有效的焦距
% Dx = Xd*( k1*r^2 + k2*r^4 + ... ) P327
% Xd+Dx=Xu (5a)
% Dy = Yd*( k1*r^2 + k2*r^4 + ... ) P327
% Yd+Dy=Yu (5b)
% r = (Xd^2 + Yd^2)^(0.5) P327
% k1 是畸变系数
% Xf = sx * dxp^(-1) * Xd + Cx (6a)
% Yf = dy^(-1) * Yd + Cy (6b)
% dxp = dx * Ncx / Nfx (6d)
% dx is the center to center distance between adjacent sensor elements in X (scan line) diretion
% dy is the center to center distance between adjacent CCD sensor in the Y direction
% Ncx is the number of sensor elements in the X direction
% Nfx is the number of pixels in a line as sampled by the computer
% sx 不确定性图像尺度因子
% X = (Xd * Nfx) / (dx * Ncx) P328
% X = Xf - Cx P328
% Y = Yf - Cy P328
% s_x^(-1) * d_x‘ * X + s_z^(-1) * d_x‘ * X * k1 * r^2 = f*x/z (7a)
% d_x‘ * Y + d_y * Y * k1 * r^2 = f * y/z (7b)
% r = ( ( s_x^(-1)*d_x‘* X )^2 + (d_x * Y)^2 )^(0.5)
% s_x^(-1)*d_x‘* X + s_x^(-1) * d_x‘* X * k1 * r^2 = f*( r1*x_w + r2 * y_w + r3 * z_w +
% T_x) / (r7 * x_w + r8 * y_w + r9 * z_w + Tz) (8a)
% dy * Y + dy * Y * k1 * r^2 = f * (r1 * x_w + r2 * y_w + r3 * z_w +
% Tx) / (r7*xw + r8*yw + r9*zw +Tz) (8b)
% Since the calibration points are on a common plane the (xw yw zw) coordinate system can be chosen such that zw=0 and the
% corigin is not lose to the center of the view or y axis of t
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4936 2017-09-04 19:54 DLT(matlab版本)\My_DLT_Fcn.m
文件 1826 2017-08-28 10:02 DLT(matlab版本)\testPoint.mat
目录 0 2017-09-06 10:53 DLT(matlab版本)
----------- --------- ---------- ----- ----
6762 3
相关资源
- 卡尔曼定位程序
- 基于VC、MATLAB的汽车制动性能仿真
- MATLAB通信仿真及应用详解附超星阅读
- filtfilt C语言实现,可直接运行验证
- 台湾林智仁开发的libsvm-3.0.1
- Matlab与C++混合程序设计第三版
- 粒子群算法及其代码实现
- 九轴姿态解算matlab源代码 两种方法代
- 经纬度坐标转换为平面坐标的matlab实
- 数字图像处理与机器视觉——Visual
- 利用FFT计算频谱图
- 用matlab编的基于DTW和MFC算法的语音识
-
从Matlab_Simuli
nk模型到代码实现 - MUSIC算法C语言+MATLAB
- MATLAB科学计算及分析唐培培源代码
- 灰色预测模型资料和程序.rar
- matcom4.5绿色破解版
- matlab下的基于高斯混合模型的说话人
- Matlab中峰值计算函数findpeaks()的c
- 图像去雾代码集合
- 电容恒流充电模糊控制matlab仿真与实
- 基于mfcc的说话人语音识别matlb
- 图像识别算法,相关matlab编程
- Miguel的二维解包裹算法Matlab程序及C程
- 点云数据txt格式
- MATLAB Demystified中文版.最好的matlab自学
- 基于MFCC的GMM的语音识别
- Matlab6.5 与 VC6 利用动态链接库实现混
- 有限差分模拟电磁波场
- MATLAB图论工具箱,matlabBGL
评论
共有 条评论