#=============== INPUT PARAMETERS ===============
DepthType                              0                # 0...Depth from camera, 1...Depth from the origin of 3D space
SourceWidth                            1280             # Input frame width
SourceHeight                           960              # Input frame height
StartFrame                             0                # Starting frame #
TotalNumberOfFrames                    500                # Total number of input frames
LeftCameraName                         param_ptm38      # Name of left camera
CenterCameraName                       param_ptm39      # Name of center camera
RightCameraName                        param_ptm40      # Name of right camera
MinimumValueOfDisparitySearchRange     1                # Minimum value of disparity search range. This value is not always same as all pairs of views.
MaximumValueOfDisparitySearchRange     20               # Maximum value of disparity search range. This value is not always same as all pairs of views.
MinimumValueOfDisparityRange           0                # Minimum value of disparity range. This value is smaller than or equal to minimum value of disparity search ranges for all views.
MaximumValueOfDisparityRange           20               # Maximum value of disparity range. This value is larger than or equal to maximum value of disparity search ranges for all views.
SmoothingCoefficient                   1.0              # Smoothing coefficient to compute depth maps
FileLeftViewImage                      ../../../../00.Inputs/ptm_38.yuv           # Name of left input video
FileCenterViewImage                    ../../../../00.Inputs/ptm_39.yuv           # Name of center input video
FileRightViewImage                     ../../../../00.Inputs/ptm_40.yuv           # Name of right input video
FileOutputDepthMapImage                depth_pantomime_39.yuv     # Name of output depth map file
FileCameraParameter                    ../../../../00.Inputs/cam_param_pantomime.txt    # Name of text file which includes camera parameters

BaselineBasis                          1                  # 0...minimum baseline, 1...maximum baseline, 2...left baseline, 3...right baseline
Precision                              2                  # 1...Integer-pel, 2...Half-pel, 4...Quater-pel
SearchLevel                            2                  # 1...Integer-pel, 2...Half-pel, 4...Quater-pel
Filter                                 1                  # 0...(Bi)-linear, 1...(Bi)-Cubic, 2...MPEG-4 AVC 6-tap
MatchingMethod                         0                  # 0...Conventional, 1...Disparity-based, 2...Homography-based

#========== Temporal Enhancement ==========
TemporalEnhancement                    1                  # 0...Off, 1...On
Threshold                              2.00               # Threshold of MAD

#========== Size of Matching Block ==========
MatchingBlock                         3                   # 1...Pixel matching, 3...3x3 block matching

#========== Segmentation ==========
ImageSegmentation                     0                   # 0...Off, 1...On
SmoothingCoefficient2                1.00                 # Smoothing coefficient to compute depth maps
SegmentationMethod                   3                    # 1...mean shift algorithm, 2...phyramid segmentation, 3...K mean clustering
MaxCluster                           32                   # Positive Integer Value

#=====================================================
#========== Semi-automatic Depth Estimation ==========
#=====================================================
DepthEstimationMode                  1                    # 0...automatic Depth Estimation; 1...Semi-automatic Nagoya; 2...Semi-automatic ETRI

#---- For DepthEstimationMode = 1  ------
TemporalWeight                       0.6                  # Temporal mode Cost weight; (weight)*cost_current_frame + (1.0-weight)*cost_previous_frame
FileCenterManual                     ../../../../00.Inputs/pantomime_39    #Path and filename prefix of the manual input files

#---- For DepthEstimationMode = 2  ------
RefreshFrame                           10              # Period of refresh frame
ThresholdOfDepthDifference             10              # Threshold value of depth difference
MovingObjectsBSize                     1               # 0: small  1: medium  2: large
MotionSearchBSize                      0               # 0: narrow 1: medium 2: wide
FileDepthKeyFrame                      DepthKeyFrame_XX.txt            # Descriptor Filename of Predefined(Keyframe) depth information
FileDepthPrefix                        prefix\\XX_cam10_               # "000.yuv" must be included
