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.

 Accepted Answer

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!