Combine RGB image and thermal image
2 views (last 30 days)
Show older comments
Fabio Corres
on 3 Mar 2019
Commented: Fabio Corres
on 4 Mar 2019
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
2 Comments
Image Analyst
on 3 Mar 2019
There are an infinite number of ways you could "combine" them. For example you could add them, subtract them, divide them, etc. There is not just one way to combine them so until you explain what "combine" means to you, no one can answer.
The only way to "combine them" and have the thermal image "stay original" pseudocolored image colors is to not have the visible light image show up at all in the combination.
Accepted Answer
Walter Roberson
on 4 Mar 2019
combinedImage = RGBImage;
mask = repmat(ThermalImage >= some_threshold, 1, 1, 3);
combinedImage(mask) = repmat(ThermalImage(mask), 1, 1, 3);
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!