From 992485c532a56a4a4f7384fdd5b8954a9bb52bf5 Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Mon, 27 Sep 2010 13:30:50 +0000 Subject: [PATCH] updated StereoBP docs & comments --- modules/gpu/include/opencv2/gpu/gpu.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/gpu/include/opencv2/gpu/gpu.hpp b/modules/gpu/include/opencv2/gpu/gpu.hpp index c3dfcd744b..51abde787c 100644 --- a/modules/gpu/include/opencv2/gpu/gpu.hpp +++ b/modules/gpu/include/opencv2/gpu/gpu.hpp @@ -591,7 +591,10 @@ namespace cv //! the full constructor taking the number of disparities, number of BP iterations on each level, //! number of levels, truncation of data cost, data weight, - //! truncation of discontinuity cost and discontinuity single jump + //! truncation of discontinuity cost and discontinuity single jump + //! DataTerm = data_weight * min(fabs(I2-I1), max_data_term) + //! DiscTerm = min(disc_single_jump * fabs(f1-f2), max_disc_term) + //! please see paper for more details StereoBeliefPropagation(int ndisp, int iters, int levels, float max_data_term, float data_weight, float max_disc_term, float disc_single_jump,