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.

 Réponse acceptée

Grzegorz Knor
Grzegorz Knor le 12 Sep 2011

1 vote

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

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by