% Test whether homography is quasi affine boolean = oriented in disk of radius preimage of line at infinity must have distance larger radius isquasiaffine = sugr_get_isquasiaffine_Homography(H) Wolfgang Förstner wfoerstn@uni-bonn.de wf 2/2011
0001 %% Test whether homography is quasi affine 0002 % boolean = oriented in disk of radius 0003 % preimage of line at infinity must have distance larger radius 0004 % 0005 % isquasiaffine = sugr_get_isquasiaffine_Homography(H) 0006 % 0007 % Wolfgang Förstner 0008 % wfoerstn@uni-bonn.de 0009 % 0010 % wf 2/2011 0011 0012 function isquasiaffine = sugr_get_isquasiaffine_Homography_2D(H) 0013 0014 0015 global Threshold_preimage_line_infinity 0016 0017 radius = Threshold_preimage_line_infinity; 0018 0019 isquasiaffine = norm(H.H(3,1:2)) < radius * abs(H.H(3,3)); 0020