📄 createcdlt.m
字号:
function [CDLT, lambda] = createCDLT( Fl, b1, b2, u0, v0, T, M )%DEVELOPMENT PHASE%% CDLT = createCDLT( Fl, b1, b2, u0, v0, T, M )%% Fl - focal length% b1, b2 - models the lack of orthogonality and difference in scale of the image axes% u0, v0, coordinates of the image centre% T - translation 3x3 matrix% M - rotation 3x3 matrix%% CDLT - computed matrix% lambda - normalisation scalar%% computes the 3x3 CDLT transformation matrix from the known parametersV = [1, 0, -u0; 0, 1, -v0; 0, 0, 1];B = [1 + b1, b2, 0; b2, 1 - b1, 0; 0, 0, 1];F = [Fl, 0, 0; 0, Fl, 0; 0, 0, 1];CDLT = inv(V) * inv(B) * F * M * T;lambda = CDLT( 3, 3 );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -