We wish to design and build software that allows for the consistent colour correction of samples photographed by a variety of mobile phone cameras, specifically for the purpose of quantitatively measuring colorimetric test reactions (e.g. urine tests for things like glucose, in strip form) in the home. The scientific measurement of colour, using an uncontrolled camera and lighting system presents many possible sources of error (lighting levels, lighting colour, camera sensitivity, camera linearity, differential colour sensitivity, differences between cameras on what the dyes for the Bayer layer are, etc). We want to bypass the issue of every camera phone being different in terms of hardware, internal algorithms, etc by ensuring a series of standards are contained within the image field to allow for the generation of a processed, colour calibrated JPG using the data in the image itself. In this way the JPG contains all the calibration information we need (i.e. we don't actually need to know anything about the phone at all) as well as (potentially) the encoded colour / concentration dependence curve which allows for the quantification of the colorimetric reaction.
DELIVERABLE 1: “QR” code or other calibration image, in jpg or other form; pref suitable for printing in commercial photo shops
2) Build, test and optimize the system including:
a. Software to generate a calibration object (e.g. photograph for printing)
b. Software to generate a spatially corrected, colour-corrected calibrated image from a mobile phone photo of the calibration object
c. Software to determine placement of reaction zone within image (this may be a simple known offset into the spatially calibrated image)
3) Demonstrate proof of principal using actual test reaction result
DELIVERABLE 2: Demonstrated proof of principle that mobile phone images of the same test in a number of lighting conditions and with different models of phone camera can be corrected as described in the scope