I have two images A and B, of the same object. A has distorted color, but the color of B is better. I want to correct the color of A with the help of information contained in B. How do I do this?
I am an ImageMagick fan, but also appreciate GIMP or any other tools.
I think the process should be first compare and establish a mapping between the two sets of colors, and then apply the mapping to A. The second step is straightforward utilizing the Color LUT "lookup table" with ImageMagick. But I don't find a clue of the comparing step.
While B is good in color, it may be bad in resolution. Otherwise I should just keep B and throw A to the trash.