2021-01-23, 11:33 AM
New version out!
🔍https://github.com/TomArrow/ColorMatch3D.../tag/v0.42
This can all probably still be improved but I think I've reached a little milestone. The output LUTs finally are usable without necessitating external smoothing, by using the internal smoothing. The default smoothing is a radius of 2 units. Units are basically the precision of the LUT, currently hardcoded to 32 units from 0 to 1.
More smoothing: LUT is more stable/has less artifacts, but loses precision.
Less smoothing/No smoothing: Maximum precision, but likely to produce artifacts and not generalize well to other scenes. Basically what you've already seen.
I've added a cylindrical version of the Lab color space too, this helps with matching collages. Helps preserve saturation better. Like when you have 20 different images in one collage that you want to match from one source to another. Due to grading differences this usually leads to desaturated colors (since for example a particular color in the source might be green in one reference image and magenta in another part of the reference image, and the two would cancel each other out and produce a rather neutral result). This color space is called LChab. For most scenes it will actually give slightly worse colors in my experience, but its nice for collages.
Next thing I wanna add is batch processing functionality.
🔍https://github.com/TomArrow/ColorMatch3D.../tag/v0.42
Quote: Added post match smoothing, which finally makes the resulting LUTs rather generalizable
Added very very basic and rudimentary luminance protection for the post match smoothing
Added LCHab space, the cylindrical version of Lab, which will help preserve saturation when matching collages of scenes instead of one particular scene. Seems to do slightly worse than the other color spaces with single scene images. Use at your own discretion.
Made LUT saving significantly faster by switching to StringBuilder instead of adding strings together
A few other smaller non-dramatic changes under the hood
This can all probably still be improved but I think I've reached a little milestone. The output LUTs finally are usable without necessitating external smoothing, by using the internal smoothing. The default smoothing is a radius of 2 units. Units are basically the precision of the LUT, currently hardcoded to 32 units from 0 to 1.
More smoothing: LUT is more stable/has less artifacts, but loses precision.
Less smoothing/No smoothing: Maximum precision, but likely to produce artifacts and not generalize well to other scenes. Basically what you've already seen.
I've added a cylindrical version of the Lab color space too, this helps with matching collages. Helps preserve saturation better. Like when you have 20 different images in one collage that you want to match from one source to another. Due to grading differences this usually leads to desaturated colors (since for example a particular color in the source might be green in one reference image and magenta in another part of the reference image, and the two would cancel each other out and produce a rather neutral result). This color space is called LChab. For most scenes it will actually give slightly worse colors in my experience, but its nice for collages.
Next thing I wanna add is batch processing functionality.