READ ME
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:
Path to experiment
Experiment
code/singlecam_experiments_code/dslrs_3000K/dslr_3000K.m
DSLRs 3000 °K
code/singlecam_experiments_code/dslrs_3500K/dslr_3500K.m
DSLRs 3500 °K
code/singlecam_experiments_code/dslrs_4300K/dslr_4300K.m
DSLRs 4300 °K
code/singlecam_experiments_code/dslrs_5200K/dslr_5200K.m
DSLRs 5200 °K
code/singlecam_experiments_code/mobiles_2900K/mobile_2900K.m
Mobile Phones 2900 °K
code/singlecam_experiments_code/mobiles_4500K/mobile_4500K.m
Mobile Phones 4500 °K
code/singlecam_experiments_code/mobiles_5500K/mobile_5500K.m
Mobile Phones 5500 °K
code/singlecam_experiments_code/mobiles_6000K/mobile_6000K.m
Mobile Phones 6000 °K
which can be found in code/multicam_consistency_code/. For example, for Apple Iphone 7 correct function to call is iphoneParametersI.
[1] H. C. Karaimer and M. S. Brown. Improving Color Reproduction Accuracy on Cameras. In CVPR, 2018.