Home > General-Functions > SUGR > General > sugr_INIT.m

sugr_INIT

PURPOSE ^

% sugr_INIT

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

% sugr_INIT
 
 set global variables

 wf 1/2011
 sw 6/16 added global param for numerical precision

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% sugr_INIT
0002 %
0003 % set global variables
0004 %
0005 % wf 1/2011
0006 % sw 6/16 added global param for numerical precision
0007 
0008 % function sugr_INIT
0009 
0010 % names of types of geometric elements and transformations
0011 global type_name
0012 
0013 % numericla precision for comparing elements
0014 global Threshold_numerical_precision
0015 
0016 % for checking homogeneous part
0017 global Threshold_Euclidean_Normalization
0018 
0019 % radus of disk around origin for qzuasi affine transformations
0020 global Threshold_preimage_line_infinity
0021 
0022 
0023 % minimal redundancy for estimating sigma_0
0024 global min_redundancy
0025 
0026 % option for printing and plotting
0027 % 0=non, 1=minimum, 2=average, 3=maximum (including tests)
0028 %results of estimations
0029 global print_option_estimation
0030 % plots
0031 global plot_option
0032 % print in general
0033 global print_option
0034 
0035 
0036 %% Entities
0037 type_name{1} = 'Point_2D';
0038 type_name{2} = 'Line_2D';
0039 type_name{3} = 'Point_3D';
0040 type_name{4} = 'Line_2D';
0041 type_name{5} = 'Plane';
0042 type_name{6} = 'Conic';
0043 type_name{7} = 'Quadric';
0044 type_name{8} = 'Point_Pair_2D';
0045 type_name{9} = 'Circle';
0046 type_name{10} = 'Ellipse';
0047 
0048 type_name{11} = 'Point_Pair_3D_3D';
0049 type_name{12} = 'Point_Pair_3D_2D';
0050 type_name{12} = 'Plane_Pair';
0051 
0052 
0053 %% Transformations 2D
0054 type_name{20} = 'Homography_2D';
0055 type_name{21} = 'Affinity 2D';
0056 type_name{22} = 'Similarity 2D';
0057 type_name{23} = 'Motion 2D';
0058 
0059 type_name{25} = 'Essential_Matrix';
0060 type_name{27} = 'Fundamental_Matrix';
0061 
0062 %% Transformations 3D
0063 type_name{30} = 'Homography_3D';
0064 type_name{31} = 'Affinity 2D';
0065 type_name{32} = 'Similarity 2D';
0066 type_name{33} = 'Motion 2D';
0067 
0068 %% Projections
0069 type_name{123} = 'Point_Projection_2D_1D';
0070 type_name{134} = 'Point_Projection_3D_2D';
0071 type_name{143} = 'Point_Projection_2D_3D';
0072 type_name{136} = 'Line_Projection_3D_2D';
0073 type_name{163} = 'Line_Projection_2D_3D'; 
0074 
0075 %% Korrelations
0076 type_name{205} = 'Essential_Matrix';
0077 type_name{207} = 'Fundamental_Matrix';
0078 
0079 Threshold_Euclidean_Normalization = 10^(-8);
0080 Threshold_preimage_line_infinity  = 100;
0081 Threshold_numerical_precision = 10^(-12);
0082 print_option_estimation = 2;
0083 min_redundancy = 30;
0084 
0085 plot_option = 2;
0086 print_option = 2;
0087

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