-
Notifications
You must be signed in to change notification settings - Fork 0
ghaliahemrit/Tool-to-find-and-extract-Macbeth-color-chart-patches
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Run the files in this order: 1. raw2tiff.bat convert the camera Raw images to .tiff without further processing. 2. filelist.bat writes the list of images names in a .txt file. 3. RuntheMethod calculates the illuminant colour from the ColoChecker placed in your image, and saves other data. Note if you are a Linux user then you need to install the appropriate package to run windows batch files. Outputs are: * png images after demosaicing * png images of the cropped and 'untransformed' selection of the chart * white_points contains: a.RGB white points b.Normalised rgb white points c.Average RGB of every patch * coordinates contains: a.Rectangle selection, b.Coordinates in the selection c.Coordinates in the whole image * The chart slections parameters in cc_struct files ColorChecker dataset Raw images from https://www2.cs.sfu.ca/~colour/data/shi_gehler/ The processed images and masks accessible from https://drive.google.com/drive/folders/1tKrL3pMV1tdAEtmeWGKlHoUU6UfpUSKZ Colour Correction Toolbox by Fufu Fang https://github.com/fangfufu/Colour_Correction_Toolbox Reference: G. Hemrit et al. “Providing a single ground-truth for illuminant estimation for the colorchecker dataset,” IEEE transactions on pattern analysis and machine intelligence, 2019, pp. 1286-1287. https://ieeexplore.ieee.org/abstract/document/8751985
About
This is a Matlab code to calculate the ground-truth illuminants from the ColorChecker dataset. The code also saves the charts images and other data.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published