How to read .tif as .mat file?
2 ビュー (過去 30 日間)
古いコメントを表示
I tried to read my .tif file as .mat and my fixed model didn't accept it. Is there something wrong in this code?
if true
load z.mat
z=double(imread(z.tif));
% code
end
0 件のコメント
回答 (1 件)
Marc Jakobi
2016 年 10 月 10 日
編集済み: Marc Jakobi
2016 年 10 月 10 日
Not sure what you are trying to do. Do you have a .tif file called z.tif? Then the solution would be to specify the .tif file as a string:
z = double(imread('z.tif'));
0 件のコメント
参考
カテゴリ
Help Center および File 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!