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!