Convert RGB image to Bayer BG image. This is a very simple conversion algorithm with only one file. You can easily copy functions directly into your program for use.
The reference code is tested on windows 10, Ubuntu 18.04 and requires:
- C++ (Any version of C++, GCC, Clang, Visual Studio 2019 community currently)
- OpenCV (4.3 currently, any other version should be ok)
>> RGBToBayer <input RGB image> <output Bayer BG image>
None
MulanPSL2 License. See LICENSE.txt and LICENSE_CHS.txt for further details.