Skip to content

HTTPS clone URL

Subversion checkout URL

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