Regarding .mat file.

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.

 Risposta accettata

Grzegorz Knor
Grzegorz Knor il 12 Set 2011

1 voto

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

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by