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.

 Akzeptierte Antwort

Grzegorz Knor
Grzegorz Knor am 12 Sep. 2011

1 Stimme

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

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by