Fix typo in matchTemplate description

This commit is contained in:
MaximSmolskiy 2025-01-19 17:31:03 +03:00
parent 3effe195cb
commit 500e1ff763

View File

@ -3909,7 +3909,7 @@ is \f$W \times H\f$ and templ is \f$w \times h\f$ , then result is \f$(W-w+1) \t
of channels as template or only one channel, which is then used for all template and
image channels. If the data type is #CV_8U, the mask is interpreted as a binary mask,
meaning only elements where mask is nonzero are used and are kept unchanged independent
of the actual mask value (weight equals 1). For data tpye #CV_32F, the mask values are
of the actual mask value (weight equals 1). For data type #CV_32F, the mask values are
used as weights. The exact formulas are documented in #TemplateMatchModes.
*/
CV_EXPORTS_W void matchTemplate( InputArray image, InputArray templ,