Synchornized cv::moments documentation with actual implementation.

This commit is contained in:
Alexander Smorkalov 2024-05-09 08:30:36 +03:00
parent 1f1ba7e402
commit 55eebe81c3

View File

@ -3793,8 +3793,8 @@ CV_EXPORTS_W void demosaicing(InputArray src, OutputArray dst, int code, int dst
The function computes moments, up to the 3rd order, of a vector shape or a rasterized shape. The The function computes moments, up to the 3rd order, of a vector shape or a rasterized shape. The
results are returned in the structure cv::Moments. results are returned in the structure cv::Moments.
@param array Raster image (single-channel, 8-bit or floating-point 2D array) or an array ( @param array Single chanel raster image (CV_8U, CV_16U, CV_16S, CV_32F, CV_64F) or an array (
\f$1 \times N\f$ or \f$N \times 1\f$ ) of 2D points (Point or Point2f ). \f$1 \times N\f$ or \f$N \times 1\f$ ) of 2D points (Point or Point2f).
@param binaryImage If it is true, all non-zero image pixels are treated as 1's. The parameter is @param binaryImage If it is true, all non-zero image pixels are treated as 1's. The parameter is
used for images only. used for images only.
@returns moments. @returns moments.