mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 12:12:06 -06:00
2d668dabc23919d34390a6335d7991882f62c4f4
* imgproc: improve blur and box filter with combined row+column separable filter - Combined row+column separable filter for small filter sizes (3x3 and 5x5) added to avoid intermediate row buffer storage. - FilterEngine has been modified to use combined rowColumnFilter. - Vectorize separable row sums. - Fix normalized 8U/16U/16S/32S scaling in ColumnSum. - Pass an inner-region flag to row and column filters. - Use the fused path on x86 for out-of-place, centered-anchor 3x3/5x5. - Add AVX512_ICL dispatch for box_filter. * imgproc: fix in-place boxFilter on ROI - Drop unused kcn/processInnerRegion column-filter args - Skip fused path when src and dst overlap - Add Imgproc_Blur.inplace_roi test * imgproc: deduplicate box filter kernels - Share row-slide helpers between RowSum and templates - Merge ColumnSum specializations - Share Sum3x3/Sum5x5 setup and tails - Round CV_16S power-of-two normalization - Use ptrdiff_t for dst row offsets - Initialize Cn4 row-sum carry in native lane order - Keep scalar int -> short column sum on RISC-V (GCC 13 ICE) * imgproc: run fused box filter on row bands on all platforms - Split the fused 3x3/5x5 pass into bands of ~256 KB of rows (min 8) - Fixes the large-image slowdowns vs 4.x; output unchanged - Route out-of-place 3x3/5x5 32F/64F boxFilter/blur to the fused kernels everywhere, not only x86 - Fixes the 32F slowdowns vs 4.x on Mac M5 * imgproc: address box filter review comments - Drop always-true processInnerRegion arg from row filters and fillRowData - Gate 8U/16U/16S fused box kernels on !CV_NEON instead of x86-only * imgproc: run fused box filter bands in parallel - Split fused 3x3/5x5 bands across threads when there is >= 1 MB of work per thread - Fix false src/dst overlap detection that sent the fused path to the row-buffered fallback
Optimized Blur and Box filters by implementing a combined row-and-column separable approach (#28224)
OpenCV: Open Source Computer Vision Library
Resources
- Homepage: https://opencv.org
- Courses: https://opencv.org/courses
- Docs: https://docs.opencv.org/4.x/
- Q&A forum: https://forum.opencv.org
- previous forum (read only): https://answers.opencv.org
- Issue tracking: https://github.com/opencv/opencv/issues
- Additional OpenCV functionality: https://github.com/opencv/opencv_contrib
- Donate to OpenCV: https://opencv.org/support/
Contributing
Please read the contribution guidelines before starting work on a pull request.
Summary of the guidelines:
- One pull request per issue;
- Choose the right base branch;
- Include tests and documentation;
- Clean up "oops" commits before submitting;
- Follow the coding style guide.
Additional Resources
- Submit your OpenCV-based project for inclusion in Community Friday on opencv.org
- Subscribe to the OpenCV YouTube Channel featuring OpenCV Live, an hour-long streaming show
- Follow OpenCV on LinkedIn for daily posts showing the state-of-the-art in computer vision & AI
- Apply to be an OpenCV Volunteer to help organize events and online campaigns as well as amplify them
- Follow OpenCV on Mastodon in the Fediverse
- Follow OpenCV on X
- OpenCV.ai: Computer Vision and AI development services from the OpenCV team.
Description
Languages
C++
87.7%
C
3.1%
Python
2.9%
CMake
2%
Java
1.5%
Other
2.6%