27 #ifndef DISPARITY_MAP_EVALUATION_H_
28 #define DISPARITY_MAP_EVALUATION_H_
46 0.001, 2.01, 5.01, 10.01};
Declares class to store headers with data corresponding to current program run and evaluation.
Class to store disparity map evaluation results. Specifically comparison between two disparity maps s...
std::array< float, 2 > average_disp_abs_diff_no_max_w_max_
Total and average value of the absolute difference between the disparity values for all pixels in dis...
float disparity_error_max_
std::map< float, unsigned int > num_sig_diff_pixels_at_thresholds_
Stores the number of pixels where the difference between the disparity values in disparity images 1 a...
void InitializeWithEvalParams(const beliefprop::DisparityMapEvaluationParams &eval_params)
Initialize evaluation results with evaluation parameters.
RunData AsRunData() const
Retrieve evaluation results as RunData.
std::map< float, float > prop_sig_diff_pixels_at_thresholds_
Proportion of pixels where the difference between the disparity values in disparity images 1 and 2 is...
Class to store headers with data corresponding to current program run and evaluation.
Namespace for enums, constants, structures, and functions specific to belief propagation processing.
constexpr float kMaxDiffCap
Max difference in disparity for evaluation where disparity difference for each pixel is capped to min...
constexpr std::array< float, 4 > kDisparityDiffThresholds
Difference thresholds in output disparity for a computed disparity at a pixel to be considered a "bad...
constexpr std::string_view kAvgRMSErrorHeader
Constant string view for header of average RMS error in evaluation.
Struct to store parameters for evaluation of disparity map from stereo processing.
const std::vector< float > output_diff_thresholds
Difference thresholds for comparing disparity maps.