A C++ utility to convert a RAW12 file to PPM with seperating individual channels and debayering for a Color Image.
To install the application:
cd build
cmake ..
make
./convert
Output files are generated in PGM_OUT folder
References:
Indentation Style : K&R (https://en.wikipedia.org/wiki/Indentation_style#K.26R)
Nearest Neighbour Interpolation: https://wiki.apertus.org/index.php/OpenCine.Nearest_Neighbor_and_Bilinear_Interpolation