Add `MatchTemplateMethod` variant responding to `cv::TemplateMatchModes::TM_CCOEFF{,_NORMED}`
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 979
- Forks
- 181
- Avg merge
- 5m
- Merged PRs (30d)
- 4
Description
The TM_CCOEFF matching method includes a term of
$$
-\frac{1}{w\cdot h} \sum_{x'',y''}T(x'',y'')
$$
which can solve the problem of brightness difference between the template and the image.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked OpenCV documentation and locate the existing MatchTemplateMethod definition and template-matching entry point in imageproc. Compare the currently supported modes with TM_CCOEFF and TM_CCOEFF_NORMED, then use the repository's existing tests to verify the added variants.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- opencv, rust
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100