Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[d250de]: src / hugin1 / hugin / config_defaults.h Maximize Restore History

Download this file

config_defaults.h    187 lines (138 with data), 6.4 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
// -*- c-basic-offset: 4 -*-
/** @file config_defaults.h
*
* @author Pablo d'Angelo <pablo.dangelo@web.de>
*
* $Id$
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this software; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef _CONFIG_DEFAULTS_H
#define _CONFIG_DEFAULTS_H
// contains various configuration defaults
// assistant panel
#define HUGIN_ASS_NCONTROLPOINTS 20l
#define HUGIN_ASS_MAX_NORMAL_FOV 100.0
#define HUGIN_ASS_PANO_DOWNSIZE_FACTOR 0.7
#define HUGIN_ASS_AUTO_ALIGN 0l
#define HUGIN_ASS_AUTO_CPCLEAN 1l
#define HUGIN_ASS_LINEFIND 1l
// celeste panel
#define HUGIN_CELESTE_AUTO 0l
#define HUGIN_CELESTE_THRESHOLD 0.5
#define HUGIN_CELESTE_FILTER 1l
#define HUGIN_CELESTE_MODEL "celeste.model"
// template matching
#define HUGIN_FT_TEMPLATE_SIZE 21l
#define HUGIN_FT_SEARCH_AREA_PERCENT 10l
#define HUGIN_FT_LOCAL_SEARCH_WIDTH 14l
#define HUGIN_FT_CORR_THRESHOLD 0.8
#define HUGIN_FT_CURV_THRESHOLD 0.0
#define HUGIN_FT_ROTATION_SEARCH 0l
#define HUGIN_FT_ROTATION_START_ANGLE -30.0
#define HUGIN_FT_ROTATION_STOP_ANGLE 30.0
#define HUGIN_FT_ROTATION_STEPS 12l
// Image cache defaults
#define HUGIN_IMGCACHE_UPPERBOUND 268435456
#define HUGIN_IMGCACHE_MAPPING_INTEGER 0l
#define HUGIN_IMGCACHE_MAPPING_FLOAT 1l
#define HUGIN_CAPTURE_TIMESPAN 60l
// GUI defaults
#define HUGIN_LANGUAGE wxLANGUAGE_DEFAULT
// sort by filename (1), sort by date (2)
#define HUGIN_GUI_SORT_NEW_IMG_ON_ADD 1l
#define HUGIN_LENS_ASSUME_SIMILAR 1l
// project naming convention
#define HUGIN_DEFAULT_PROJECT_NAME "%firstimage - %lastimage"
#define HUGIN_DEFAULT_OUTPUT_NAME "%projectname"
// smart undo
#define HUGIN_SMART_UNDO 0l
// show hints in fast preview window
#define HUGIN_SHOW_PROJECTION_HINTS 1l
// Exiftool
#define HUGIN_EXIFTOOL_COPY_ARGS "-ImageDescription -Make -Model -Artist -WhitePoint -Copyright -GPS:all -AllDates -UserComment -ColorSpace -OwnerName -SerialNumber"
// Program defaults
#if defined WIN32
#define HUGIN_PT_SCRIPTFILE "PT_script.txt"
#define HUGIN_PT_MENDER_EXE "PTmender.exe"
#define HUGIN_PT_BLENDER_EXE "PTblender.exe"
#define HUGIN_PT_MASKER_EXE "PTmasker.exe"
#define HUGIN_PT_ROLLER_EXE "PTroller.exe"
#define HUGIN_SMARTBLEND_EXE "smartblend.exe"
#define HUGIN_ENBLEND_EXE "enblend.exe"
#define HUGIN_ENFUSE_EXE "enfuse.exe"
#define HUGIN_ENBLEND_EXE_CUSTOM false
#define HUGIN_ENFUSE_EXE_CUSTOM false
#elif defined __WXMAC__
#define HUGIN_PT_SCRIPTFILE "PT_script.txt"
#define HUGIN_PT_MENDER_EXE "PTmender"
#define HUGIN_PT_BLENDER_EXE "PTblender"
#define HUGIN_PT_MASKER_EXE "PTmasker"
#define HUGIN_PT_ROLLER_EXE "PTroller"
#define HUGIN_SMARTBLEND_EXE "smartblend.exe"
#define HUGIN_ENBLEND_EXE "enblend"
#define HUGIN_ENFUSE_EXE "enfuse"
#ifdef MAC_SELF_CONTAINED_BUNDLE
#define HUGIN_ENBLEND_EXE_CUSTOM false
#define HUGIN_ENFUSE_EXE_CUSTOM false
#else
#define HUGIN_ENBLEND_EXE_CUSTOM true
#define HUGIN_ENFUSE_EXE_CUSTOM true
#endif
#else // for unix like systems
#define HUGIN_PT_SCRIPTFILE "PT_script.txt"
#define HUGIN_PT_MENDER_EXE "PTmender"
#define HUGIN_PT_BLENDER_EXE "PTblender"
#define HUGIN_PT_MASKER_EXE "PTmasker"
#define HUGIN_PT_ROLLER_EXE "PTroller"
#define HUGIN_SMARTBLEND_EXE "smartblend.exe"
#define HUGIN_ENBLEND_EXE "enblend"
#define HUGIN_ENFUSE_EXE "enfuse"
#define HUGIN_ENBLEND_EXE_CUSTOM true
#define HUGIN_ENFUSE_EXE_CUSTOM true
#endif
// enblend args
#define HUGIN_ENBLEND_ARGS ""
#define HUGIN_ENFUSE_ARGS ""
// smartblend args
#define HUGIN_SMARTBLEND_ARGS ""
// nona defaults
#define HUGIN_NONA_INTERPOLATOR 0l
#define HUGIN_NONA_CROPPEDIMAGES 1l
#define HUGIN_NONA_USEGPU 0l
// output defaults
# define HUGIN_LDR_OUTPUT_FORMAT 0l
# define HUGIN_TIFF_COMPRESSION 2l
# define HUGIN_JPEG_QUALITY 90l
# define HUGIN_HDR_OUTPUT_FORMAT 0l
// hdrmerge defaults
#define HUGIN_HDRMERGE_ARGS "-m avg -c"
// default colours for mask editor
#define HUGIN_MASK_COLOUR_POLYGON_NEGATIVE "#FF0000"
#define HUGIN_MASK_COLOUR_POLYGON_POSITIVE "#00FF00"
#define HUGIN_MASK_COLOUR_POINT_SELECTED "#0000FF"
#define HUGIN_MASK_COLOUR_POINT_UNSELECTED "#FFFFFF"
// default colors for fast preview
#define HUGIN_PREVIEW_BACKGROUND "#000000"
// processor
#define HUGIN_PROCESSOR_GUI 0l // first in the list in the xrc file
#define HUGIN_PROCESSOR_START 1l // boolean
#define HUGIN_PROCESSOR_PARALLEL 0l // boolean
#define HUGIN_PROCESSOR_OVERWRITE 0l // boolean
#define HUGIN_PROCESSOR_VERBOSE 1l // boolean
//photometric optimizer
#define HUGIN_PHOTOMETRIC_OPTIMIZER_NRPOINTS 200l
#endif // _CONFIG_DEFAULTS_H