Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 108 lines (74 sloc) 2.953 kB
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
1 #############################
3052cc4 @zmoratto Fixing last errors on holefilling code, it's now an option that can b…
zmoratto authored
2 ## PREPROCESSING ##
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
3 #############################
4
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
5 # Pre-alignment options
6
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
7 DO_INTERESTPOINT_ALIGNMENT 1
8 INTERESTPOINT_ALIGNMENT_SUBSAMPLING 1
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
9 DO_EPIPOLAR_ALIGNMENT 0
10
11
12 # Normalization options
13
dc45805 @zmoratto Changed masking so Isis special pixel types could not be used in calc…
zmoratto authored
14 FORCE_USE_ENTIRE_RANGE 0
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
15 DO_INDIVIDUAL_NORMALIZATION 0
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
16
e46bfaa @zmoratto Forcing my will upon ASP. Preprocessing filter selection has changed.…
zmoratto authored
17 # Preprocessing filter mode:
18 #
19 # 0 - None
20 # 1 - Gaussian Blur
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
21 # 2 - Laplacian of Gaussian Blur (recommended)
22 # 3 - Sign of the LoG Filter
23
e46bfaa @zmoratto Forcing my will upon ASP. Preprocessing filter selection has changed.…
zmoratto authored
24 PREPROCESSING_FILTER_MODE 3
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
25
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
26 # Gaussian convolution kernel size (1-sigma) for pre-processing
27 # modes 1, 2 and 3.
28
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
29 SLOG_KERNEL_WIDTH 1.5
30
31 #########################################################################
32 ########################### CORRELATION ###########################
33 #########################################################################
34
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
35 # Select a cost function to use for initialization:
36 #
37 # 0 - absolute difference (fast -- use in conjunction with SLoG)
38 # 1 - squared difference
39 # 2 - normalized cross correlation (recommended)
40
41 COST_MODE 2
42
43 # Turn this up to improve the results of the discrete correlation
44 # step. This will reduce the number of missing pixels, but reduce the
45 # overall accuracy of the disparity estimates.
46 #
47 # WARNING: Cost blurring must be used in conjunction with affine
48 # adaptive window subpixel below, which are capable of achieving
49 # highly accurate results even when seeded by slightly inaccurate
50 # results from the initialization step.
51
52 COST_BLUR 0
53
54 # Initialization step: correlation kernel size
55
36433df @broxtronix More tweaks to stereo.default.example.
broxtronix authored
56 H_KERNEL 25
57 V_KERNEL 25
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
58
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
59 # Initializaion step: correlation window size
36433df @broxtronix More tweaks to stereo.default.example.
broxtronix authored
60 H_CORR_MIN -100
61 H_CORR_MAX 100
62 V_CORR_MIN -100
63 V_CORR_MAX 100
64
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
65 # Subpixel step: subpixel modes
36433df @broxtronix More tweaks to stereo.default.example.
broxtronix authored
66 #
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
67 # 0 - disable subpixel correlation (fastest)
68 # 1 - parabola fitting (draft mode - not as accurate)
69 # 2 - affine adaptive window, bayes EM weighting (slower, but much more accurate)
70 # 3 - affine adaptive window, bayes EM w/ gamma window (experimental & very slow)
71
36433df @broxtronix More tweaks to stereo.default.example.
broxtronix authored
72 SUBPIXEL_MODE 0
73
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
74 # Subpixel step: correlation kernel size
75
76 SUBPIXEL_H_KERNEL 25
77 SUBPIXEL_V_KERNEL 25
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
78
74ebff3 @broxtronix Updated the stereo.default.example to have the latest and greatest st…
broxtronix authored
79
80
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
81 #########################################################################
82 ############################ FILTERING ############################
83 #########################################################################
84
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
85 # Fill in holes up to 100,000 pixels in size with an inpainting method
86
87 FILL_HOLES 1
88
89 # Automatic "erode" low confidence pixels
90
91 RM_H_HALF_KERN 5 # Note: a 5*5 halfkernel = 11*11 kernel -> 121 pixels
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
92 RM_V_HALF_KERN 5
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
93 RM_MIN_MATCHES 60 # Units = percent
9be6c16 @zmoratto Updated to the changes in bundle adjustment code in vw. Also modified…
zmoratto authored
94 RM_THRESHOLD 3
3052cc4 @zmoratto Fixing last errors on holefilling code, it's now an option that can b…
zmoratto authored
95 RM_CLEANUP_PASSES 1
96
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
97
98 #########################################################################
99 ############################# DOTCLOUD ############################
100 #########################################################################
101
af083e1 @broxtronix Tweaked the chapter about stereo.default and changed one or two defau…
broxtronix authored
102 # Size max of the universe in meters and altitude off the ground.
103 # Setting both values to zero turns this post-processing step off.
104
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
105 NEAR_UNIVERSE_RADIUS 0.0
106 FAR_UNIVERSE_RADIUS 0.0
107
Something went wrong with that request. Please try again.