Merge pull request #26805 from MaximSmolskiy:fix-typo-in-matchTemplate-description

Fix typo in matchTemplate description
This commit is contained in:
Alexander Smorkalov 2025-01-20 09:28:12 +03:00 committed by GitHub
commit 16cbdcf582
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,