How do I obtain a composite of two grayscale images?

I want to make a composite of two images with "imfuse" function as follow:
imfuse(A,RA,B,RB,'ColorChannels',[1 2 0])
Is there anyway to make the Colorchannels "off"

4 commentaires

Anand
Anand le 23 Août 2013
What do you mean 'Off'?
Image Analyst
Image Analyst le 23 Août 2013
Modifié(e) : Image Analyst le 23 Août 2013
What are you starting with, gray scale or color images, and what do you want to end up with? http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Ronaldo
Ronaldo le 23 Août 2013
Modifié(e) : Ronaldo le 23 Août 2013
The images that I started with are gray scale. I want a gray scale image as the output as well. In the output image, I see green-magenta color which is related to imfuse command (The colorchannels part). I try not to have the green-magneta color in my final images.
Do you just want to average the two images?

Connectez-vous pour commenter.

 Réponse acceptée

Anand
Anand le 24 Août 2013
Have you tried this:
[C,RC] = imfuse(A,RA,B,RB,'blend');

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by