Skip to content
Browse files

examples: Update stereo.default to represent new correlator

The prefilter options have changed. I also changed the text around so
that it's little nicer.
  • Loading branch information...
1 parent ede9f55 commit f54762c93c8d7b33c4fa40c472384ed7945233f4 Zack Moratto committed Apr 4, 2012
View
40 data/CTX/stereo.map
@@ -3,27 +3,31 @@
#############################
# Pre-alignment options
-
-ALIGNMENT_METHOD NONE
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
# Normalization options
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
-PREPROCESSING_FILTER_MODE 3
+PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -37,23 +41,15 @@ SLOG_KERNEL_WIDTH 1.5
COST_MODE 0
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
-
# Initialization step: correlation kernel size
H_KERNEL 25
V_KERNEL 25
-# Initializaion step: correlation window size
+# Initializaion step: correlation search range
+#
+# Uncomment the following to use explicit search ranges. Otherwise, a
+# value will be choosen for you.
#H_CORR_MIN -100
#H_CORR_MAX 100
#V_CORR_MIN -100
View
33 data/CTX/stereo.nonmap
@@ -3,6 +3,11 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
ALIGNMENT_METHOD HOMOGRAPHY
@@ -11,19 +16,20 @@ ALIGNMENT_METHOD HOMOGRAPHY
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
-PREPROCESSING_FILTER_MODE 3
+PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -37,17 +43,6 @@ SLOG_KERNEL_WIDTH 1.5
COST_MODE 0
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
-
# Initialization step: correlation kernel size
H_KERNEL 25
View
31 data/HiRISE/stereo.nonmap
@@ -3,6 +3,11 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
ALIGNMENT_METHOD HOMOGRAPHY
@@ -11,19 +16,20 @@ ALIGNMENT_METHOD HOMOGRAPHY
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -37,17 +43,6 @@ SLOG_KERNEL_WIDTH 1.5
COST_MODE 0
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
-
# Initialization step: correlation kernel size
H_KERNEL 25
View
33 data/K10/stereo.default
@@ -3,6 +3,11 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
ALIGNMENT_METHOD EPIPOLAR
@@ -11,19 +16,20 @@ ALIGNMENT_METHOD EPIPOLAR
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
-PREPROCESSING_FILTER_MODE 3
+PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -37,17 +43,6 @@ SLOG_KERNEL_WIDTH 1.5
COST_MODE 1
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
-
# Initialization step: correlation kernel size
H_KERNEL 25
View
38 data/MER/stereo.default
@@ -3,24 +3,33 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
+
ALIGNMENT_METHOD EPIPOLAR
# Normalization options
+
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
+
PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -31,23 +40,16 @@ SLOG_KERNEL_WIDTH 1.5
# 0 - absolute difference (fast)
# 1 - squared difference (faster .. but usually bad)
# 2 - normalized cross correlation (recommended)
-COST_MODE 0
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
+COST_MODE 0
# Initialization step: correlation kernel size
+
H_KERNEL 23
V_KERNEL 23
+# Not specifying the search range so that it runs automatic
+
# Subpixel step: subpixel modes
#
# 0 - disable subpixel correlation (fastest)
View
33 data/MER/stereo.default.navcam
@@ -3,6 +3,11 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
ALIGNMENT_METHOD EPIPOLAR
@@ -11,19 +16,20 @@ ALIGNMENT_METHOD EPIPOLAR
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
-PREPROCESSING_FILTER_MODE 3
+PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -37,17 +43,6 @@ SLOG_KERNEL_WIDTH 1.5
COST_MODE 2
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
-
# Initialization step: correlation kernel size
H_KERNEL 25
View
40 data/MOC/stereo.map
@@ -3,27 +3,33 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
-ALIGNMENT_METHOD Homography
+ALIGNMENT_METHOD NONE
# Normalization options
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -35,25 +41,17 @@ SLOG_KERNEL_WIDTH 1.5
# 1 - squared difference (faster .. but usually bad)
# 2 - normalized cross correlation (recommended)
-COST_MODE 1
-
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
+COST_MODE 0
# Initialization step: correlation kernel size
H_KERNEL 25
V_KERNEL 25
-# Initializaion step: correlation window size
+# Initializaion step: correlation search range
+#
+# Uncomment the following to use explicit search ranges. Otherwise, a
+# value will be choosen for you.
#H_CORR_MIN -35
#H_CORR_MAX -15
#V_CORR_MIN -280
View
38 data/MOC/stereo.nonmap
@@ -3,6 +3,11 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
ALIGNMENT_METHOD Homography
@@ -11,19 +16,20 @@ ALIGNMENT_METHOD Homography
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -35,25 +41,17 @@ SLOG_KERNEL_WIDTH 1.5
# 1 - squared difference (faster .. but usually bad)
# 2 - normalized cross correlation (recommended)
-COST_MODE 1
-
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
+COST_MODE 0
# Initialization step: correlation kernel size
H_KERNEL 25
V_KERNEL 25
-# Initializaion step: correlation window size
+# Initializaion step: correlation search range
+#
+# Uncomment the following to use explicit search ranges. Otherwise, a
+# value will be choosen for you.
#H_CORR_MIN -35
#H_CORR_MAX -15
#V_CORR_MIN -280
View
44 stereo.default.example
@@ -3,6 +3,11 @@
#############################
# Pre-alignment options
+#
+# Available choices are (however not all are supported by all sessions):
+# NONE (Recommended for anything map projected)
+# EPIPOLAR (Recommended for Pinhole Sessions)
+# HOMOGRAPHY (Recommended for ISIS and DG Sessions)
ALIGNMENT_METHOD NONE
@@ -11,19 +16,20 @@ ALIGNMENT_METHOD NONE
FORCE_USE_ENTIRE_RANGE 1
DO_INDIVIDUAL_NORMALIZATION 0
-# Preprocessing filter mode:
+# Select a preprocessing filter:
#
# 0 - None
-# 1 - Gaussian Blur
-# 2 - Laplacian of Gaussian Blur (recommended)
-# 3 - Sign of the LoG Filter
+# 1 - Subtracted Mean
+# 2 - Laplacian of Gaussian (recommended)
PREPROCESSING_FILTER_MODE 2
-# Gaussian convolution kernel size (1-sigma) for pre-processing
-# modes 1, 2 and 3.
+# Kernel size (1-sigma) for pre-processing
+#
+# Recommend 1.4 px for Laplacian of Gaussian
+# Recommend 25 px for Subtracted Mean
-SLOG_KERNEL_WIDTH 1.5
+SLOG_KERNEL_WIDTH 1.4
#########################################################################
########################### CORRELATION ###########################
@@ -37,27 +43,19 @@ SLOG_KERNEL_WIDTH 1.5
COST_MODE 2
-# Turn this up to improve the results of the discrete correlation
-# step. This will reduce the number of missing pixels, but reduce the
-# overall accuracy of the disparity estimates.
-#
-# WARNING: Cost blurring must be used in conjunction with affine
-# adaptive window subpixel below, which are capable of achieving
-# highly accurate results even when seeded by slightly inaccurate
-# results from the initialization step.
-
-COST_BLUR 0
-
# Initialization step: correlation kernel size
H_KERNEL 25
V_KERNEL 25
-# Initializaion step: correlation window size
-H_CORR_MIN -100
-H_CORR_MAX 100
-V_CORR_MIN -100
-V_CORR_MAX 100
+# Initializaion step: correlation search range
+#
+# Uncomment the following to use explicit search ranges. Otherwise, a
+# value will be choosen for you.
+#H_CORR_MIN -100
+#H_CORR_MAX 100
+#V_CORR_MIN -100
+#V_CORR_MAX 100
# Subpixel step: subpixel modes
#

0 comments on commit f54762c

Please sign in to comment.
Something went wrong with that request. Please try again.