Another update to my histogram match script. Now with a whole bunch of channel options - In addition to Value and RGB, there is now HSV, HS, LAB, AB, YCrCb, and CrCb. If the images are real close, like two exposures of the same scene, try RGB. To transfer the colours, try AB (preserve L) or CrCb (preserve Y).
EDIT: One more change to the uploaded file, the script not decides if rescaling is needed and does it automatically to an optimal size.
A few improvements have been made to my histogram match script. The big new features include histogram interpolation, and adjustments for saturation and contrast. Special thanks to Isomage who helped with some of the scheme subroutines.
For some bizarre reason I needed to transfer the histogram profile from one image to another image. Turning to Gimp, I decided to script it. I used script-fu, as I am still trying to learn python. The basic premise is to sample the histogram of both images, then convert them into an incremental function. Following that, you determine the transfer function to convert back from the one to the other. I realize that sounds complicated, but it isn't that bad. Here is a diagram:
So all I had to do was write a gimp script to do this. No Problem!