NeverarGreat said:
Okay, I've done my first color test with the software and the results are quite accurate. FYI though, I had to reverse the order of steps 1 and 2 to get it to work. The biggest problem is that the Blu-ray has such compressed gradients that the color is flattened, and no algorithm can fix that.
Correct me if I'm wrong, but as of now this program will only accept separate images, so it's rather awkward to use this for an entire shot, much less a whole scene. So for me it's back to correcting entirely by hand, at least for now ;)
Theorizing here for a minute - Say you match the color of the Star Wars Blu-ray to a source like a 35mm scan or the GOUT, and then the program compares the final result for each frame to that reference source. Any colors that are matched 100% remain, but any colors that don't match, say, because of missing gradients, are then added to the Blu-ray through some sort of color blend mode (which I've done to the Blu-ray using GOUT color in certain places). This would require first registering each frame. Thoughts?
JEDIT - Another idea, instead of cropping the reference and test images, perhaps the program could employ a system of target points that the user can place on the frame and essentially tell the program to correct to those, rather than the entire frame. So details that are important, like C-3PO's gold color, or the skintones, will be weighted more heavily in the correction than other parts.
Regardless, and echoing what others have said, it's an exciting proof of concept and I look forward to seeing where you go with it!
Actually, once you've build a model, you can select any number of frames you like for correction. Depending on the number of shots, you could accurately process 50-100 frames with one model. As I've shown it is very accurate within shots.
The model doesn't directly compare pixel colors, it compares color distributions in many different color spaces. It then matches these distributions, such that the colors match. That's why you can match colors between two sources with a different resolution. It does require that the two frames represent the same ground truth, so to speak, therefore they should be cropped in the same way.
Also the information about the gold color is embedded in the other colors. Take the C3PO frame. I built a model using only a tiny bit of the frame, which includes R2D2:
I select the same part in the reference, create a model, and predict what the rest of the frame should look like:
It is an accurate representation of the corrected frame, predicted only by the color changes on R2D2, and a tiny bit of the surroundings.