hello, I want to create a .mat file of a RGB data of .tif image.Please tell me how to create .mat file using matfile command.Example given will be much appreciated.

 採用された回答

Grzegorz Knor
Grzegorz Knor 2011 年 9 月 12 日

1 投票

[X,map] = imread('your_image.tif');
save your_mat_file X map

1 件のコメント

amey patil
amey patil 2011 年 9 月 12 日
Thank you very much
It worked!!!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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!

Translated by