1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 04:25:42 +08:00

3 Commits

Author SHA1 Message Date
Alexander Smorkalov
70104ed2b6 Replace deprecated tostring() with tobytes(). 2025-02-18 15:21:23 +03:00
Yuantao Feng
29d78749dd Merge pull request #3787 from fengyuentau:imgproc/warpaffine_opt
slightly alter threshold for warpAffine optimization #3787

Merge with https://github.com/opencv/opencv/pull/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 CMake
2024-10-04 11:02:20 +03:00
WU Jia
cf63a7f71f Merge pull request #3636 from kaingwade:ml_to_contrib
Move ml to opencv_contrib #3636

Main PR: opencv/opencv#25017
2024-02-27 15:54:59 +03:00