updated StereoBP docs & comments
authorAlexey Spizhevoy <no@email>
Mon, 27 Sep 2010 13:30:50 +0000 (13:30 +0000)
committerAlexey Spizhevoy <no@email>
Mon, 27 Sep 2010 13:30:50 +0000 (13:30 +0000)
modules/gpu/include/opencv2/gpu/gpu.hpp

index c3dfcd7..51abde7 100644 (file)
@@ -591,7 +591,10 @@ namespace cv
 \r
             //! the full constructor taking the number of disparities, number of BP iterations on each level,\r
             //! number of levels, truncation of data cost, data weight,\r
-            //! truncation of discontinuity cost and discontinuity single jump\r
+            //! truncation of discontinuity cost and discontinuity single jump            \r
+            //! DataTerm = data_weight * min(fabs(I2-I1), max_data_term)\r
+            //! DiscTerm = min(disc_single_jump * fabs(f1-f2), max_disc_term)\r
+            //! please see paper for more details\r
             StereoBeliefPropagation(int ndisp, int iters, int levels,\r
                                     float max_data_term, float data_weight,\r
                                     float max_disc_term, float disc_single_jump,\r