For a school project, I am tasked with classifying open-source images (3 band) based on surface permeability. In order to do so, I have to correct the given imagery for shadows before I classify it. My method is to create a mask where the shadows are NoData, and merge it with an image with a spectrally enhanced image. However, when I merge or mosaic the two images, the resulting image takes on the high values of the spectrally enhanced image. Is there a way to combine the images while maintaining the RGB values for the mask image, and fill the holes with the values of the enhanced image?