Home > General-Functions > SUGR > Homography_2D > sugr_get_isquasiaffine_Homography_2D.m

sugr_get_isquasiaffine_Homography_2D

PURPOSE ^

% Test whether homography is quasi affine

SYNOPSIS ^

function isquasiaffine = sugr_get_isquasiaffine_Homography_2D(H)

DESCRIPTION ^

% 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Sat 21-Jul-2018 20:56:10 by m2html © 2005