In remote sensing to add 7 band images to form one image what is the function in matlab. to combine all band images to one image

2 次查看(过去 30 天)
In remote sensing to add 7 bands of images will get to form one image what is the function in matlab. To combine all band images to one image what is procedure?

回答(1 个)

Image Analyst
Image Analyst 2016-12-18
You'd have to do a weighted sum to create red, green, and blue channels. The 7 weights will be different for each RGB channel.
Here is a paper that may be useful to you: http://my.ece.msstate.edu/faculty/du/JSTARS-VIS.pdf
  5 个评论
venkata prasad sista
sir i am in basic level so i am not understanding your answer sir please understand sir. by using which function in MATLAB i can mix or add these spectral images into RGB false color image ? EXAMLE by concat function can i do if not what is function... please tell in a basic way thanking you sir.
Image Analyst
Image Analyst 2016-12-18
You can use the addition and multiplication operators. For example
redChannel = wr1 * specImag1 + wr2 * specImag2 + wr3 * specImag3 + wr4 * specImag4 + wr5 * specImag5 + wr6 * specImag6 + wr7 * specImag7
Then do the same for green channel and blue channel:
greenChannel = wg1 * specImag1 + wg2 * specImag2 + wg3 * specImag3 + wg4 * specImag4 + wg5 * specImag5 + wg6 * specImag6 + wg7 * specImag7
blueChannel = wb1 * specImag1 + wb2 * specImag2 + wb3 * specImag3 + wb4 * specImag4 + wb5 * specImag5 + wb6 * specImag6 + wb7 * specImag7
Finally, use cat to create an RGB image from the component channels:
% Recombine separate color channels into a single, true color RGB image.
rgbImage = cat(3, redChannel, greenChannel, blueChannel);
I don't know what you want to use for the weights wr, wg, and wb. You might start off with the chromaticity curves if all your spectral channels are in the visible region.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by