Skip to content

Use OpenCV to convert a raw bayer image from a sensor to rgb

Notifications You must be signed in to change notification settings

danielhongwoo/bayer2rgb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Use OpenCV to convert a raw bayer image from a sensor to rgb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.6%
  • Makefile 8.4%