config_defaults.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00024 #ifndef _CONFIG_DEFAULTS_H
00025 #define _CONFIG_DEFAULTS_H
00026 
00027 #include <hugin_config.h>
00028 
00029 // contains various configuration defaults
00030 
00031 // assistant panel
00032 #define HUGIN_ASS_NCONTROLPOINTS             20l
00033 #define HUGIN_ASS_MAX_NORMAL_FOV            100.0
00034 #define HUGIN_ASS_PANO_DOWNSIZE_FACTOR        0.7
00035 #define HUGIN_ASS_AUTO_ALIGN                  0l
00036 #define HUGIN_ASS_AUTO_CPCLEAN                1l
00037 #define HUGIN_ASS_LINEFIND                    1l
00038 
00039 // celeste panel
00040 #define HUGIN_CELESTE_AUTO                    0l
00041 #define HUGIN_CELESTE_THRESHOLD               0.5
00042 #define HUGIN_CELESTE_FILTER                  1l
00043 #define HUGIN_CELESTE_MODEL                   "celeste.model"
00044 
00045 // template matching
00046 #define HUGIN_FT_TEMPLATE_SIZE                21l
00047 #define HUGIN_FT_SEARCH_AREA_PERCENT          10l
00048 #define HUGIN_FT_LOCAL_SEARCH_WIDTH           14l
00049 #define HUGIN_FT_CORR_THRESHOLD               0.8
00050 #define HUGIN_FT_CURV_THRESHOLD               0.0
00051 
00052 #define HUGIN_FT_ROTATION_SEARCH              0l
00053 #define HUGIN_FT_ROTATION_START_ANGLE         -30.0
00054 #define HUGIN_FT_ROTATION_STOP_ANGLE           30.0
00055 #define HUGIN_FT_ROTATION_STEPS               12l
00056 
00057 
00058 // Image cache defaults
00059 #define HUGIN_IMGCACHE_UPPERBOUND             268435456
00060 #define HUGIN_IMGCACHE_MAPPING_INTEGER        0l
00061 #define HUGIN_IMGCACHE_MAPPING_FLOAT          1l
00062 
00063 #define HUGIN_CAPTURE_TIMESPAN                60l
00064 
00065 // GUI defaults
00066 #define HUGIN_LANGUAGE                        wxLANGUAGE_DEFAULT
00067 // sort by filename (1), sort by date (2)
00068 #define HUGIN_GUI_SORT_NEW_IMG_ON_ADD         1l
00069 
00070 #define HUGIN_LENS_ASSUME_SIMILAR             1l
00071 
00072 // project naming convention
00073 #define HUGIN_DEFAULT_PROJECT_NAME            "%firstimage - %lastimage"
00074 #define HUGIN_DEFAULT_OUTPUT_NAME             "%projectname"
00075 
00076 // smart undo
00077 #define HUGIN_SMART_UNDO                      0l
00078 
00079 // show hints in fast preview window
00080 #define HUGIN_SHOW_PROJECTION_HINTS           1l
00081 
00082 // Exiftool
00083 #define HUGIN_USE_EXIFTOOL                    1l
00084 #define HUGIN_EXIFTOOL_CREATE_GPANO           1l
00085 
00086 // Program defaults
00087 #if defined WIN32
00088 
00089 #define HUGIN_PT_SCRIPTFILE                   "PT_script.txt"
00090 
00091 #define HUGIN_PT_MENDER_EXE                   "PTmender.exe"
00092 #define HUGIN_PT_BLENDER_EXE                  "PTblender.exe"
00093 #define HUGIN_PT_MASKER_EXE                   "PTmasker.exe"
00094 #define HUGIN_PT_ROLLER_EXE                   "PTroller.exe"
00095 
00096 #define HUGIN_SMARTBLEND_EXE                  "smartblend.exe"
00097 
00098 #define HUGIN_ENBLEND_EXE                     "enblend.exe"
00099 #define HUGIN_ENFUSE_EXE                      "enfuse.exe"
00100 
00101 #define HUGIN_ENBLEND_EXE_CUSTOM              false
00102 #define HUGIN_ENFUSE_EXE_CUSTOM               false
00103 
00104 #elif defined __WXMAC__
00105 
00106 #define HUGIN_PT_SCRIPTFILE                   "PT_script.txt"
00107 
00108 #define HUGIN_PT_MENDER_EXE                   "PTmender"
00109 #define HUGIN_PT_BLENDER_EXE                  "PTblender"
00110 #define HUGIN_PT_MASKER_EXE                   "PTmasker"
00111 #define HUGIN_PT_ROLLER_EXE                   "PTroller"
00112 
00113 #define HUGIN_SMARTBLEND_EXE                  "smartblend.exe"
00114 #define HUGIN_ENBLEND_EXE                     "enblend"
00115 #define HUGIN_ENFUSE_EXE                      "enfuse"
00116 
00117 #ifdef MAC_SELF_CONTAINED_BUNDLE
00118 
00119 #define HUGIN_ENBLEND_EXE_CUSTOM              false
00120 #define HUGIN_ENFUSE_EXE_CUSTOM               false
00121 
00122 #else
00123 
00124 #define HUGIN_ENBLEND_EXE_CUSTOM              true
00125 #define HUGIN_ENFUSE_EXE_CUSTOM               true
00126 
00127 #endif
00128 
00129 #else // for unix like systems
00130 
00131 #define HUGIN_PT_SCRIPTFILE                   "PT_script.txt"
00132 
00133 #define HUGIN_PT_MENDER_EXE                   "PTmender"
00134 #define HUGIN_PT_BLENDER_EXE                  "PTblender"
00135 #define HUGIN_PT_MASKER_EXE                   "PTmasker"
00136 #define HUGIN_PT_ROLLER_EXE                   "PTroller"
00137 
00138 #define HUGIN_SMARTBLEND_EXE                  "smartblend.exe"
00139 
00140 #define HUGIN_ENBLEND_EXE                     "enblend"
00141 #define HUGIN_ENFUSE_EXE                      "enfuse"
00142 
00143 #define HUGIN_ENBLEND_EXE_CUSTOM              true
00144 #define HUGIN_ENFUSE_EXE_CUSTOM               true
00145 
00146 
00147 #endif
00148 
00149 // enblend args
00150 #define HUGIN_ENBLEND_ARGS                    ""
00151 #define HUGIN_ENFUSE_ARGS                     ""
00152 
00153 // smartblend args
00154 #define HUGIN_SMARTBLEND_ARGS                 ""
00155 
00156 // nona defaults
00157 #define HUGIN_NONA_INTERPOLATOR                 0l
00158 #define HUGIN_NONA_CROPPEDIMAGES                1l
00159 #define HUGIN_NONA_USEGPU                       0l
00160 
00161 // output defaults
00162 # define HUGIN_LDR_OUTPUT_FORMAT              0l
00163 # define HUGIN_TIFF_COMPRESSION               2l
00164 # define HUGIN_JPEG_QUALITY                  90l
00165 # define HUGIN_HDR_OUTPUT_FORMAT              0l
00166 
00167 // default blender
00168 #define HUGIN_DEFAULT_BLENDER  HuginBase::PanoramaOptions::ENBLEND_BLEND
00169 
00170 // hdrmerge defaults
00171 #define HUGIN_HDRMERGE_ARGS                  "-m avg -c"
00172 
00173 // default colours for mask editor
00174 #define HUGIN_MASK_COLOUR_POLYGON_NEGATIVE          "#FF0000"
00175 #define HUGIN_MASK_COLOUR_POLYGON_POSITIVE          "#00FF00"
00176 #define HUGIN_MASK_COLOUR_POINT_SELECTED            "#0000FF"
00177 #define HUGIN_MASK_COLOUR_POINT_UNSELECTED          "#FFFFFF"
00178 
00179 // default colors for fast preview
00180 #define HUGIN_PREVIEW_BACKGROUND               "#000000"
00181 
00182 // processor
00183 #define HUGIN_PROCESSOR_GUI             0l    // first in the list in the xrc file
00184 #define HUGIN_PROCESSOR_START           1l    // boolean
00185 #define HUGIN_PROCESSOR_OVERWRITE       0l    // boolean
00186 #define HUGIN_PROCESSOR_VERBOSE         1l    // boolean
00187 
00188 //photometric optimizer
00189 #define HUGIN_PHOTOMETRIC_OPTIMIZER_NRPOINTS 200l
00190 
00191 #endif // _CONFIG_DEFAULTS_H

Generated on 29 Aug 2015 for Hugintrunk by  doxygen 1.4.7