필터 지우기
필터 지우기

How to club different images together?

조회 수: 1 (최근 30일)
Mohammad Bhat
Mohammad Bhat 2017년 11월 18일
편집: Bshara Murr 2017년 11월 18일
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
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
Mohammad Bhat
Mohammad Bhat 2017년 11월 18일
Thank You, Imfuse resolved my part of the question....I got the following image as a result:- But my second part of the question is How can I add white pixels along the path between two succesive white pixels in an image....?
Bshara Murr
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 CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by