% condition Homography see PCV (6.138) Usage: Pc = condition_Homography(H, Tl, Tr) H - homogeneous Homography Tl - condition matrix point set 1 Tr - condition matrix point set 2 Hc - Homography, conditioned Wolfgang Förstner 2/2013 wfoerstn@uni-bonn.de See also condition_Points, uncondition_Points, uncondition_Homography
0001 %% condition Homography 0002 % see PCV (6.138) 0003 % 0004 % Usage: 0005 % Pc = condition_Homography(H, Tl, Tr) 0006 % 0007 % H - homogeneous Homography 0008 % Tl - condition matrix point set 1 0009 % Tr - condition matrix point set 2 0010 % 0011 % Hc - Homography, conditioned 0012 % 0013 % Wolfgang Förstner 2/2013 0014 % wfoerstn@uni-bonn.de 0015 % 0016 % See also condition_Points, uncondition_Points, uncondition_Homography 0017 0018 function Hc = condition_Homography(H, Tl, Tr) 0019 0020 % conditioned Homography 0021 Hc = Tl * H * inv(Tr); %#ok<MINV> 0022 0023