Optimized Belief Propagation (CPU and GPU)
|
Class to store disparity map evaluation results. Specifically comparison between two disparity maps such as output disparity map from bp processing and ground truth disparity map. More...
#include <DisparityMapEvaluation.h>
Public Member Functions | |
void | InitializeWithEvalParams (const beliefprop::DisparityMapEvaluationParams &eval_params) |
Initialize evaluation results with evaluation parameters. More... | |
RunData | AsRunData () const |
Retrieve evaluation results as RunData. More... | |
Public Attributes | |
std::array< float, 2 > | average_disp_abs_diff_no_max_w_max_ {0, 0} |
Total and average value of the absolute difference between the disparity values for all pixels in disparity images 1 and 2 with and without maximum disparity difference at each pixel. More... | |
float | disparity_error_max_ {std::numeric_limits<float>::max()} |
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 greater than SIG_DIFF_THRESHOLD_STEREO_EVAL (not including border regions) More... | |
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 and 2 is greater than SIG_DIFF_THRESHOLD_STEREO_EVAL. More... | |
Class to store disparity map evaluation results. Specifically comparison between two disparity maps such as output disparity map from bp processing and ground truth disparity map.
Definition at line 74 of file DisparityMapEvaluation.h.
RunData DisparityMapEvaluation::AsRunData | ( | ) | const |
Retrieve evaluation results as RunData.
Definition at line 42 of file DisparityMapEvaluation.cpp.
void DisparityMapEvaluation::InitializeWithEvalParams | ( | const beliefprop::DisparityMapEvaluationParams & | eval_params | ) |
Initialize evaluation results with evaluation parameters.
eval_params |
Definition at line 30 of file DisparityMapEvaluation.cpp.
std::array<float, 2> DisparityMapEvaluation::average_disp_abs_diff_no_max_w_max_ {0, 0} |
Total and average value of the absolute difference between the disparity values for all pixels in disparity images 1 and 2 with and without maximum disparity difference at each pixel.
Definition at line 94 of file DisparityMapEvaluation.h.
float DisparityMapEvaluation::disparity_error_max_ {std::numeric_limits<float>::max()} |
Definition at line 95 of file DisparityMapEvaluation.h.
std::map<float, unsigned int> DisparityMapEvaluation::num_sig_diff_pixels_at_thresholds_ |
Stores the number of pixels where the difference between the disparity values in disparity images 1 and 2 is greater than SIG_DIFF_THRESHOLD_STEREO_EVAL.
Definition at line 105 of file DisparityMapEvaluation.h.
std::map<float, float> DisparityMapEvaluation::prop_sig_diff_pixels_at_thresholds_ |
Proportion of pixels where the difference between the disparity values in disparity images 1 and 2 is greater than SIG_DIFF_THRESHOLD_STEREO_EVAL (not including border regions)
Definition at line 100 of file DisparityMapEvaluation.h.