This repository provides source code to reproduce the experiments that are done in Karaimer and Brown[1]. The first is individual camera accuracy which is presented in Table 1. Another is multi-camera consistency that is shown in Table 2.
individual camera accuracy:
To reproduce Table1’s CC(colorchart) columns please run run_test_on_colorchart.m which can be found in code/singlecam_experiments_code/ . Parameters will be loaded with the cameramodelParametersCC.m file. cameramodel should be replaced with the following:
cameramodel
Camera
iphone
Apple iPhone 7
pixel
Google Pixel
lg
LG-G4
canon
Canon1D
nikon
NikonD40
sony
Sony α57
olympus
Olympus E-PL6
For example, for Apple Iphone 7 correct function to call is iphoneParametersCC.
Similarly Table1’s I(image) columns can be reproduced with run_test_on_images.m which can be found in code/singlecam_experiments_code/ . Parameters will be loaded with the cameramodelParametersI.m file. cameramodel should be replaced as explained above.
multi-camera consistency:
To reproduce Table2’s columns please change the current directory to one of the following directories:
cameramodel
iphone
pixel
lg
canon
nikon
sony
olympus
code/singlecam_experiments_code/dslrs_3000K/dslr_3000K.m
code/singlecam_experiments_code/dslrs_3500K/dslr_3500K.m
code/singlecam_experiments_code/dslrs_4300K/dslr_4300K.m
code/singlecam_experiments_code/dslrs_5200K/dslr_5200K.m
code/singlecam_experiments_code/mobiles_2900K/mobile_2900K.m
code/singlecam_experiments_code/mobiles_4500K/mobile_4500K.m
code/singlecam_experiments_code/mobiles_5500K/mobile_5500K.m
code/singlecam_experiments_code/mobiles_6000K/mobile_6000K.m