Giter Club home page Giter Club logo

raw12-to-bitmap-avi's Introduction

Debayering of RAW12 images to obtain red, green and blue channels as PPM(P6) images and output full colour debayered image as bitmap(BMP) and single frame AVI from scratch without using any external libraries

descriptionSensors used in digital cameras lack the ability to capture color images as they lack the ability to distinguish how much of each color they are receiving. To capture color images a filter is placed above the sensor which permits only a particular color light at each sensel but as a result of this, each sensel has intensity values of only one channel which is not sufficient to produce a color image. Hence different demosaicing algorithms are used to obtain full-color RGB images from RAW images.

For more information about demosaicing refer to these links -

https://en.wikipedia.org/wiki/Demosaicing

https://en.wikipedia.org/wiki/Bayer_filter

This project is written in C++, it debayers a 12-bit RAW12 RGGB image using bilinear interpolation approach and writes 8-bit Red, Green and Blue channels into PPM(P6) files and writes the deBayered full-color RGB image into a BMP file and into a single frame riff AVI file.

This project can be easily made by using make build system. Open terminal in root directory of the project and execute the command - make (go through the make file for details)

All three channels namely red, green and blue in PPM format and debayered output image in BMP and single frame AVI is writeen inside results folder.

test_image folder contains a RAW12 file for testing purpose.

raw12-to-bitmap-avi's People

Contributors

ksraj123 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.