Commit 29d7874
authored
Merge pull request #3787 from fengyuentau:imgproc/warpaffine_opt
slightly alter threshold for warpAffine optimization #3787
Merge with opencv/opencv#25984
New`onfusionMatrixes[1]` is
```
[[45 0 0 0 0 0 0 0 0 0]
[ 0 57 0 0 0 0 0 0 0 0]
[ 0 0 58 2 0 0 0 0 1 0]
[ 0 0 0 43 0 0 0 1 0 0]
[ 0 0 0 0 39 0 0 0 0 1]
[ 0 0 0 1 0 49 0 0 1 0]
[ 0 0 0 0 0 0 52 0 0 0]
[ 0 0 1 0 0 0 0 54 0 0]
[ 0 0 0 0 0 0 0 0 47 0]
[ 0 1 0 1 0 0 0 0 2 44]]
```
which is about of pixel value 1 shift in each 4x or 5x pixel value.
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [ ] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake1 parent a5d5e93 commit 29d7874
File tree
2 files changed
+5
-5
lines changed- modules
- ml/misc/python/test
- xfeatures2d/test
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
| 196 | + | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
| 301 | + | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
0 commit comments