From 2a30d8c9f9d968d97eb56f42f48d632a8c5e4619 Mon Sep 17 00:00:00 2001 From: Fangjun KUANG Date: Fri, 10 Mar 2017 17:53:12 +0100 Subject: [PATCH] Update documentation for cv::accumulate. Make it more clear for the type of input argument. --- modules/imgproc/include/opencv2/imgproc.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 9914f63ff7..aeeb1d9a74 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -2588,9 +2588,8 @@ The function supports multi-channel images. Each channel is processed independen The functions accumulate\* can be used, for example, to collect statistics of a scene background viewed by a still camera and for the further foreground-background segmentation. -@param src Input image as 1- or 3-channel, 8-bit or 32-bit floating point. -@param dst %Accumulator image with the same number of channels as input image, 32-bit or 64-bit -floating-point. +@param src Input image of type CV_8UC(n), CV_16UC(n), CV_32FC(n) or CV_64FC(n), where n is a positive integer. +@param dst %Accumulator image with the same number of channels as input image, and a depth of CV_32F or CV_64F. @param mask Optional operation mask. @sa accumulateSquare, accumulateProduct, accumulateWeighted