stcevaluate.cpp

来自「这是一个用于立体匹配的程序。 可以用来进行立体匹配!」· C++ 代码 · 共 25 行

CPP
25
字号
///////////////////////////////////////////////////////////////////////////
//
// NAME
//  StcEvaluate.cpp -- evaluate the quality of the matching score
//
// DESCRIPTION
//  Evaluate the quality of the computed disparity map m_float_disparities using
//  the ground truth m_true_disparity.  Compute statistics and print them to stderr.
//  Also compute occlusion map from the ground truth disparities and include
//  statistics for non-occluded pixels.
// 
//  Relationship between float disparities d and "actual" (scaled) disparities s_d
//  for occlusion computation and warping:
//      s_d  =  m_frame_diff_sign * d
//  The coordinate of a pixel x_m in the matching frame corresponding
//  to a reference pixel x_r in the reference frame is given by
//      x_m = x_r - s_d
//  (this is because input images are ordered left to right, so that pixel
//  motion is leftward).
//
// SEE ALSO
//  StereoMatcher.h
//  StereoMatcher.cpp
//
// Copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?