Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Use OpenCV to convert a raw bayer image from a sensor to rgb
C
Branch: master
Failed to load latest commit information.
.gitignore Initial commit
Makefile
README.md
bayer2rgb.c Default size now 2560x1920

README.md

bayer2rgb

Convert a raw bayer image from mt9p031 at full size into a rgb (bgr) image for display and also save a jpg version.

A 10 -> 8 bit down sampling is necessary to use the OpenCV built-in cvCvtColor(). The implementation of that algo is standard though and 10 bit could be conserved. This is just a quick hack for testing.

Something went wrong with that request. Please try again.