mahmoudnafifi / C5

Reference code for the paper "Cross-Camera Convolutional Color Constancy" (ICCV 2021)
Apache License 2.0
104 stars 18 forks source link

I can't understand (In src/ops.py, the function add_camera_name(dataset_dir) can be used to rename image filenames and corresponding ground-truth JSON files. Each JSON file should include a key named either illuminant_color_raw or gt_ill that has the ground-truth illuminant color of the corresponding image).Can you help me ? #6

Open ToChangeBetter opened 2 years ago

mahmoudnafifi commented 2 years ago

Thanks for your question. Yes, the function add_camera_name renames training files to help in retrieving examples taken by the same camera model. The JSON file should have either illuminant_color_raw or gt_ill field that include the illuminant ground truth color.