convert two .jpg files into a single .mat file

1 次查看(过去 30 天)
How to convert two .jpg files into a single .mat file in matlab

回答(1 个)

Jan
Jan 2012-11-29
pic1 = imread('Picture1.jpg');
pic2 = imread('Picture2.jpg');
save('BothPics.mat', 'pic1', 'pic2');
  4 个评论
Yogesh Awate
Yogesh Awate 2017-11-28
sorry to not mentioning, they are .tif images
Yogesh Awate
Yogesh Awate 2017-11-28
Thank you,you code was very helpful, thanks a lot!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by