how can i remove the background of one image and place over the other?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have an image of the girl and the image of the tshirt which i want to place exactly near the shoulder. I tried the below code but faced problems like the tshirt image becoming transparent. I'm attaching the code, images and the final result image. Please help me in removing the transparency and getting the results.
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171518/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171519/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171520/image.jpeg)
>>A =imread('C:\Users\praveen\Desktop\Meghna\database\Blueshirt.jpg'); B=imread('C:\Users\praveen\Desktop\Meghna\database\girl.png'); RB=imref2d(size(B)); C=imresize(A,1); J=imadjust(C,[.2 .3 0;.6 .5 1],[]); RC=imref2d(size(J),[55 700],[315 950]); [D RD]= imfuse(B,RB,J,RC,'blend'); figure; imshow(D);
0 Kommentare
Antworten (1)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!