Go to the documentation of this file.
24 #ifndef _CONFIG_DEFAULTS_H
25 #define _CONFIG_DEFAULTS_H
27 #include <hugin_config.h>
32 #define HUGIN_ASS_NCONTROLPOINTS 20l
33 #define HUGIN_ASS_MAX_NORMAL_FOV 100.0
34 #define HUGIN_ASS_PANO_DOWNSIZE_FACTOR 0.7
35 #define HUGIN_ASS_AUTO_ALIGN 0l
36 #define HUGIN_ASS_AUTO_CPCLEAN 1l
37 #define HUGIN_ASS_LINEFIND 1l
40 #define HUGIN_CELESTE_AUTO 0l
41 #define HUGIN_CELESTE_THRESHOLD 0.5
42 #define HUGIN_CELESTE_FILTER 1l
43 #define HUGIN_CELESTE_MODEL "celeste.model"
46 #define HUGIN_FT_TEMPLATE_SIZE 21l
47 #define HUGIN_FT_SEARCH_AREA_PERCENT 10l
48 #define HUGIN_FT_LOCAL_SEARCH_WIDTH 14l
49 #define HUGIN_FT_CORR_THRESHOLD 0.8
50 #define HUGIN_FT_CURV_THRESHOLD 0.0
52 #define HUGIN_FT_ROTATION_SEARCH 0l
53 #define HUGIN_FT_ROTATION_START_ANGLE -30.0
54 #define HUGIN_FT_ROTATION_STOP_ANGLE 30.0
55 #define HUGIN_FT_ROTATION_STEPS 12l
59 #define HUGIN_IMGCACHE_UPPERBOUND 268435456
60 #define HUGIN_IMGCACHE_MAPPING_INTEGER 0l
61 #define HUGIN_IMGCACHE_MAPPING_FLOAT 1l
63 #define HUGIN_CAPTURE_TIMESPAN 60l
66 #define HUGIN_LANGUAGE wxLANGUAGE_DEFAULT
68 #define HUGIN_GUI_SORT_NEW_IMG_ON_ADD 1l
70 #define HUGIN_LENS_ASSUME_SIMILAR 1l
73 #define HUGIN_DEFAULT_PROJECT_NAME "%firstimage - %lastimage"
74 #define HUGIN_DEFAULT_OUTPUT_NAME "%projectname"
77 #define HUGIN_SMART_UNDO 0l
80 #define HUGIN_SHOW_PROJECTION_HINTS 1l
83 #define HUGIN_USE_EXIFTOOL 1l
84 #define HUGIN_EXIFTOOL_CREATE_GPANO 1l
89 #define HUGIN_PT_SCRIPTFILE "PT_script.txt"
91 #define HUGIN_PT_MENDER_EXE "PTmender.exe"
92 #define HUGIN_PT_BLENDER_EXE "PTblender.exe"
93 #define HUGIN_PT_MASKER_EXE "PTmasker.exe"
94 #define HUGIN_PT_ROLLER_EXE "PTroller.exe"
96 #define HUGIN_SMARTBLEND_EXE "smartblend.exe"
98 #define HUGIN_ENBLEND_EXE "enblend.exe"
99 #define HUGIN_ENFUSE_EXE "enfuse.exe"
101 #define HUGIN_ENBLEND_EXE_CUSTOM false
102 #define HUGIN_ENFUSE_EXE_CUSTOM false
104 #elif defined __WXMAC__
106 #define HUGIN_PT_SCRIPTFILE "PT_script.txt"
108 #define HUGIN_PT_MENDER_EXE "PTmender"
109 #define HUGIN_PT_BLENDER_EXE "PTblender"
110 #define HUGIN_PT_MASKER_EXE "PTmasker"
111 #define HUGIN_PT_ROLLER_EXE "PTroller"
113 #define HUGIN_SMARTBLEND_EXE "smartblend.exe"
114 #define HUGIN_ENBLEND_EXE "enblend"
115 #define HUGIN_ENFUSE_EXE "enfuse"
117 #ifdef MAC_SELF_CONTAINED_BUNDLE
119 #define HUGIN_ENBLEND_EXE_CUSTOM false
120 #define HUGIN_ENFUSE_EXE_CUSTOM false
124 #define HUGIN_ENBLEND_EXE_CUSTOM true
125 #define HUGIN_ENFUSE_EXE_CUSTOM true
129 #else // for unix like systems
131 #define HUGIN_PT_SCRIPTFILE "PT_script.txt"
133 #define HUGIN_PT_MENDER_EXE "PTmender"
134 #define HUGIN_PT_BLENDER_EXE "PTblender"
135 #define HUGIN_PT_MASKER_EXE "PTmasker"
136 #define HUGIN_PT_ROLLER_EXE "PTroller"
138 #define HUGIN_SMARTBLEND_EXE "smartblend.exe"
140 #define HUGIN_ENBLEND_EXE "enblend"
141 #define HUGIN_ENFUSE_EXE "enfuse"
143 #define HUGIN_ENBLEND_EXE_CUSTOM true
144 #define HUGIN_ENFUSE_EXE_CUSTOM true
150 #define HUGIN_ENBLEND_ARGS ""
151 #define HUGIN_ENFUSE_ARGS ""
154 #define HUGIN_SMARTBLEND_ARGS ""
157 #define HUGIN_NONA_INTERPOLATOR 0l
158 #define HUGIN_NONA_CROPPEDIMAGES 1l
159 #define HUGIN_NONA_USEGPU 0l
162 # define HUGIN_LDR_OUTPUT_FORMAT 0l
163 # define HUGIN_TIFF_COMPRESSION 2l
164 # define HUGIN_JPEG_QUALITY 90l
165 # define HUGIN_HDR_OUTPUT_FORMAT 0l
168 #define HUGIN_DEFAULT_BLENDER HuginBase::PanoramaOptions::ENBLEND_BLEND
171 #define HUGIN_HDRMERGE_ARGS "-m avg -c"
174 #define HUGIN_MASK_COLOUR_POLYGON_NEGATIVE "#FF0000"
175 #define HUGIN_MASK_COLOUR_POLYGON_POSITIVE "#00FF00"
176 #define HUGIN_MASK_COLOUR_POINT_SELECTED "#0000FF"
177 #define HUGIN_MASK_COLOUR_POINT_UNSELECTED "#FFFFFF"
180 #define HUGIN_PREVIEW_BACKGROUND "#000000"
183 #define HUGIN_PROCESSOR_GUI 0l // first in the list in the xrc file
184 #define HUGIN_PROCESSOR_START 1l // boolean
185 #define HUGIN_PROCESSOR_OVERWRITE 0l // boolean
186 #define HUGIN_PROCESSOR_VERBOSE 1l // boolean
189 #define HUGIN_PHOTOMETRIC_OPTIMIZER_NRPOINTS 200l
191 #endif // _CONFIG_DEFAULTS_H