Flat-Field and Colour Correction for the Raspberry Pi Camera Module

  • Bowman R
  • Vodenicharski B
  • Collins J
  • et al.
N/ACitations
Citations of this article
60Readers
Mendeley users who have this article in their library.

Abstract

The Raspberry Pi camera module is widely used in open source hardware projects as a low cost camera sensor. However, when the stock lens is removed and replaced with other custom optics the sensor will return a non-uniform background and colour response which hampers the use of this excellent and popular image sensor. This effect is found to be due to the sensor's optical design as well as due to built-in corrections in the GPU firmware, which is optimised for a short focal length lens. In this work we characterise and correct the vignetting and colour crosstalk found in the Raspberry Pi camera module v2, presenting two measures that greatly improve the quality of images using custom optics. First, we use a custom "lens shading table" to correct for vignetting of the image, which can be done in real time in the camera's existing processing pipeline (i.e. the camera's low-latency preview is corrected). The second correction is a colour unmixing matrix, which enables us to reverse the loss in saturation at the edge of the image, though this requires post-processing of the image. With both of these corrections in place, it is possible to obtain uniformly colour-corrected images, at the expense of slightly increased noise at the edges of the image.

Cite

CITATION STYLE

APA

Bowman, R. W., Vodenicharski, B., Collins, J. T., & Stirling, J. (2020). Flat-Field and Colour Correction for the Raspberry Pi Camera Module. Journal of Open Hardware, 4(1). https://doi.org/10.5334/joh.20

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free