how can i paste a cropped head of one image into another?
显示 更早的评论
I have cropped the head of the cameraman.jpeg using circular crop and have embedded watermark in it. Now i need to place this embedded head into the original cameraman.jpeg. How can i do this?
回答(2 个)
David Sanchez
2013-10-22
I = imread('cameraman.tif');
head = I( (35:85),(100:140) ); % crop of the head
% code to transform head here
I( (35:85),(100:140) ) = modified_head;
类别
在 帮助中心 和 File Exchange 中查找有关 Watermarking 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!