here are the two images I want to club
How to club different images together?
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have two images, one binary image and second color image, as shown below.I want to superimpose colour image on binary image.How can we do that.?
采纳的回答
Bshara Murr
2017-11-18
Have you tried imfuse?? however imfuse will change the dimensions of the smaller image and ruin the colors of your image. You can also try this:
I = imread('kouser.jpg');
II = imread('marifat.jpg');
[rows, columns, color bands] = size(I); %or II (the image you want on top)
II(1:1+rows,1:1+columns,:) = I;
You must make sure that the image you want to put on top is of the same dimensions or smaller than the one in the "background"
2 个评论
Bshara Murr
2017-11-18
编辑:Bshara Murr
2017-11-18
I am not sure i understood the second part of your question can you explain more
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!