www.gusucode.com > 基于matlab的三维重建代码,提取两幅图片的匹配点源码程序 > 基于matlab的三维重建代码,提取两幅图片的匹配点源码程序/code/code/triple_product.m

    % triple product of three vectors (a x b) c 
% corresponds to the volume spanned by them
function[volume] = triple_product(a,b,c)

volume = c(1)*(a(2)*b(3) - b(2)*a(3)) + c(2)*(a(3)*b(1) - b(3)*a(1)) + ...
          c(3)*(a(1)*b(2) - b(1)*a(2));