Skip to content

[Draft] Pass valid mask to OpenCV's template matching#202

Draft
cfs-data wants to merge 2 commits intomainfrom
add-mask-to-template
Draft

[Draft] Pass valid mask to OpenCV's template matching#202
cfs-data wants to merge 2 commits intomainfrom
add-mask-to-template

Conversation

@cfs-data
Copy link
Copy Markdown
Collaborator

@cfs-data cfs-data commented Mar 19, 2026

Update: 7/142 unit tests for surface comparison are failing in this branch even though the approach should be "more" correct.

It seems by ignoring NaNs in the ACCF template score calculation, more spurious correlations occur near mask boundaries leading to mismatched templates

@cfs-data cfs-data marked this pull request as draft March 19, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant