Projects per year
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 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 sensor, 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.
Original language | English |
---|---|
Journal | Journal of Open Hardware |
Volume | 4 |
Issue number | 1 |
DOIs | |
Publication status | Published - 13 Apr 2020 |
Fingerprint
Dive into the research topics of 'Flat-Field and Colour Correction for the Raspberry Pi Camera Module'. Together they form a unique fingerprint.Projects
- 5 Finished
-
UR Fellowship - Robotic microscopy for globally accessible science & healthcare
Bowman, R. (PI)
1/10/18 → 25/08/24
Project: Research council
-
Robotic microscopy for globally accessible science and healthcare
Bowman, R. (PI), Harrington, K. (Researcher) & Stirling, J. (Researcher)
1/10/18 → 31/08/22
Project: Research council
-
Automated microscopy for high-throughput malaria research.
Bowman, R. (PI) & Campbell, N. (CoI)
Engineering and Physical Sciences Research Council
1/07/18 → 30/06/21
Project: Research council
Datasets
-
Dataset for "Flat-field and colour correction for the Raspberry Pi camera module"
Bowman, R. (Creator), Stirling, J. (Creator), Collins, J. (Creator) & Vodenicharski, B. (Creator), University of Bath, 2 Apr 2020
DOI: 10.15125/BATH-00764, https://gitlab.com/bath_open_instrumentation_group/picamera_cra_compensation and one more link, https://github.com/rwb27/picamera (show fewer)
Dataset