# RGB2Bayer
**Repository Path**: redpower/RGB2Bayer
## Basic Information
- **Project Name**: RGB2Bayer
- **Description**: 转换 RGB文件到 BayerBG格式文件 Convert RGB image to Bayer BG image.
- **Primary Language**: Unknown
- **License**: MulanPSL-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2020-11-18
- **Last Updated**: 2024-05-31
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# RGB image to Bayer image
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.
#### [中国镜像](https://gitee.com/redpower/RGB2Bayer) ####
#### System Requirements ####
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)
#### Run ####
```
>> RGBToBayer