From 7452f9a56e2810fe9d7733f51e485a95edfa92c4 Mon Sep 17 00:00:00 2001 From: Rok Mandeljc Date: Tue, 24 Mar 2015 21:12:54 +0100 Subject: [PATCH] cudastereo: document lack of fractional bits in 16-bit signed format for StereoBeliefPropagation --- modules/cudastereo/include/opencv2/cudastereo.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/cudastereo/include/opencv2/cudastereo.hpp b/modules/cudastereo/include/opencv2/cudastereo.hpp index 0f16e176fd..c734f5cca3 100644 --- a/modules/cudastereo/include/opencv2/cudastereo.hpp +++ b/modules/cudastereo/include/opencv2/cudastereo.hpp @@ -138,7 +138,8 @@ public: @param data User-specified data cost, a matrix of msg_type type and Size(\\*ndisp, \) size. @param disparity Output disparity map. If disparity is empty, the output type is CV_16SC1 . - Otherwise, the type is retained. + Otherwise, the type is retained. In 16-bit signed format, the disparity values do not have + fractional bits. @param stream Stream for the asynchronous version. */ virtual void compute(InputArray data, OutputArray disparity, Stream& stream = Stream::Null()) = 0;