⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orthoestmirrordistratio.m

📁 Matlab程序
💻 M
📖 第 1 页 / 共 3 页
字号:
    
    greenCamDirRefBlue = poseBlue(1:3,1:3) *...
        inv( poseGreen(1:3,1:3) ) * [0;0;1];
    
    blueCamDirRefGreen = poseGreen(1:3,1:3) *...
        inv( poseBlue(1:3,1:3) ) * [0;0;1];
    
    
    crossDir = cross( inv( poseBlue(1:3,1:3) ) * [0;0;1], inv( poseGreen(1:3,1:3) ) * [0;0;1] );
    %This is a direction perpendicular to the two viewing directions that
    %will be used to specify the correspondence between the two pairs of
    %tangencies. The tangencies on the same side of the object (as specified
    %by crossDir) correspond
    
    crossDirRefGreen = poseGreen(1:3,1:3) * crossDir;
    crossDirRefBlue = poseBlue(1:3,1:3) * crossDir;
    
    
    [aIndBlue,bIndBlue] = OrthoTangencies( polyBoundaryVecCell{imgLoop}{3}, greenCamDirRefBlue(1:2) );    
    
    if [-greenCamDirRefBlue(2),greenCamDirRefBlue(1)] * crossDirRefBlue(1:2) < 0 
        [aIndBlue,bIndBlue] = swap(aIndBlue,bIndBlue);
    end
    
    [aIndGreen,bIndGreen] = OrthoTangencies(  polyBoundaryVecCell{imgLoop}{2}, blueCamDirRefGreen(1:2) );
    
    if [-blueCamDirRefGreen(2),blueCamDirRefGreen(1)] * crossDirRefGreen(1:2) < 0 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -