How do I write a function to copy an image on top of another?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rebecca Bullard
am 30 Mär. 2014
Beantwortet: Image Analyst
am 30 Mär. 2014
For class I have to write code to crop myself and a friend into four different pictures of places around the world. I'm new and have no idea how to do this and was wondering if someone could help get me started with how to copy myself onto a background.
A = imread('penguins.jpg'); %Background of penguins on a glacier B = imread('Aidan.jpg'); %My friend Aidan jumping
C = imfuse(A,B); imshow(C);
I tried imfuse but found out it is not the way I need to go. If anyone can help it would be much appreciated!
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 30 Mär. 2014
See my demo file (attached below in blue) to copy and paste a small image onto a larger image.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!