Gimp has a "Luminance" mode in the layer settings:
I use it to overlay a high-resolution grayscale image on an upscaled low-resolution color image to ma