Merge pull request #25566 from asmorkalov:as/moments_documentation

Synchornized cv::moments documentation with actual implementation.
pull/25590/head
Alexander Smorkalov 6 months ago committed by GitHub
commit f4e5438401
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      modules/imgproc/include/opencv2/imgproc.hpp

@ -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
results are returned in the structure cv::Moments.
@param array Raster image (single-channel, 8-bit or floating-point 2D array) or an array (
\f$1 \times N\f$ or \f$N \times 1\f$ ) of 2D points (Point or Point2f ).
@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).
@param binaryImage If it is true, all non-zero image pixels are treated as 1's. The parameter is
used for images only.
@returns moments.

Loading…
Cancel
Save