MATLAB: Combine RGB image and thermal image

image processingImage Processing Toolboxthermal image

Hey there,
I have 2 image one is RGB image the other one is its thermal version. I wanted to combine those 2 images. Thermal areas should be stay original RGB colors. In literature is there any special keyword to this operation. I search it on the IEEXPLORE and i didn't find it. I wanted to see some algoritms to implement it.
Thanks

Best Answer

combinedImage = RGBImage;
mask = repmat(ThermalImage >= some_threshold, 1, 1, 3);
combinedImage(mask) = repmat(ThermalImage(mask), 1, 1, 3);