Madan mohan Manokar 24b378455a imgproc: fix BGR5x52GRAY tail for overlapping buffers (5.x) (#31184)
* imgproc: fix BGR5x52GRAY tail for overlapping buffers (5.x)

- RGB5x52Gray rewinds its final block only when src/dst are disjoint,
  replacing the ineffective src == dst check
- Move rgb2grayBuffersDisjoint() above RGB5x52Gray so it can be shared
- Add regression tests converting into a header aliasing the source for
  BGR(A)2GRAY (8U/16U/32F) and BGR565/555 2GRAY, widths 1..100, IPP off

* imgproc(test): use theRNG() in gray alias test
2026-11-30 18:13:18 +05:30
2026-11-27 01:57:15 -08:00
2018-10-11 17:57:51 +00:00
2026-11-18 19:15:21 +03:00
2026-11-18 19:15:21 +03:00
2025-08-07 10:35:20 +03:00

OpenCV: Open Source Computer Vision Library

Resources

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

Description
Languages
C++ 87.7%
C 3.1%
Python 2.9%
CMake 2%
Java 1.5%
Other 2.6%