Skip to content

Conversation

@asmorkalov
Copy link
Contributor

@asmorkalov asmorkalov commented Oct 22, 2025

OpenCV: opencv/opencv#27931

#3980 from pratham-mcw:opt-arm64-adaptive-manifold-unroll
#4017 from D00E:known-foreground-mask
#4020 from Roaimkhan:fix-min-disp-bug

Manually transferred from main repo:
#27443 from ritamelo06:gapi-feature
#27887 from asmorkalov:as/flacky_gapi
#27898 from asmorkalov:as/gapi_warning_fix_more
#27915 from MaximSmolskiy:fix_ml_kdtree_findNearest

Previous "Merge 4.x": #4013

Roaimkhan and others added 4 commits October 10, 2025 01:54
Fix: preserve _min_disp in DisparityWLSFilterImpl init()
…nifold-unroll ximgproc: optimize Adaptive Manifold function for ARM64 opencv#3980 ### 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 - [x] The PR is proposed to the proper branch - This PR introduces an ARM64-specific performance optimization in AdaptiveManifoldFilter::h_filter by applying loop unrolling. - The optimization is guarded with #if defined(_M_ARM64) to ensure it only affects ARM64 builds. - The optimization does not affect accuracy and maintains the same numerical behavior as the original scalar implementation. Performance Improvements : - The optimization significantly improves the performance of adaptive Manifold function on Windows ARM64 targets. - The table below shows timing comparisons before and after the optimization: <img width="1098" height="219" alt="image" src="https://github.com/user-attachments/assets/6cab9147-8ba0-4582-bdc6-e1f57989da86" />
In support of Optional Known Foreground Mask for Background Subtractors opencv#4017 Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request 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 x The PR is proposed to the proper branch x 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 x Patch to opencv_extra has the same branch name. The feature is well documented and sample code can be built with the project CMake Description Is in support to a pull request regarding, issue opencv/opencv#26476. Core paired pull request: opencv/opencv#27810 This adds function templates inline with the pure virtual overloaded apply function present for background subtraction. Supporting the build of the pull request:
@asmorkalov
Copy link
Contributor Author

Pylint fixes: opencv/opencv#27932

@asmorkalov asmorkalov merged commit f88a05c into opencv:5.x Oct 23, 2025
10 of 12 checks passed
@asmorkalov asmorkalov mentioned this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants