Put an image on another image
3 ビュー (過去 30 日間)
古いコメントを表示
May you please help me how can I put an image on another image and display a single image?
0 件のコメント
回答 (1 件)
Walter Roberson
2018 年 10 月 27 日
Have a look at image(), which permits you to pass data coordinates for lower left and upper right. Note that the coordinates are for the centers of pixels.
Example:
IM1 = randi([0 255], 60, 80, 3, 'uint8');
IM2 = checkerboard(4);
image(IM1);
hold on;
image([5 5], [36 36], IM2, 'CDataMapping', 'scaled'); colormap(gray(64));
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!