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

Generated on Wed Jul 16 01:25:30 2014 for Hugintrunk by  doxygen 1.3.9.1