A question about hold images

3 ビュー (過去 30 日間)
john vattic
john vattic 2013 年 10 月 28 日
コメント済み: Image Analyst 2013 年 10 月 28 日
hi,
i have 2 images, I1 and I2 and i hold I1 and I2 by using hold on, i would like to save the new
image that contain information from I1 and I2 and use it directly for building
frames of a video
thanks,
  1 件のコメント
Image Analyst
Image Analyst 2013 年 10 月 28 日
Explain what "building frames of a video" means. Why do you need to retain those images in axes? Most likely you won't be able to store all of the frames in the axes, so I need to see what you're planning on doing.

サインインしてコメントする。

回答 (1 件)

Arturo Moncada-Torres
Arturo Moncada-Torres 2013 年 10 月 28 日
編集済み: Arturo Moncada-Torres 2013 年 10 月 28 日
If I understand correctly, you could just average the images (assuming they have the same dimensions):
IAverage = (I1 + I2) ./ 2;
figure();
imshow(IAverage, []);
You can then use IAverage for whatever you want.

Community Treasure Hunt

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

Start Hunting!

Translated by