Plz any one can put the idea how to convert an jpeg or tiff image to .mat file

Answers (1)

im=imread('yourimage')
save fic im % saved in fic.mat

4 Comments

thank u Azzi but me tried this it gives error Unable to write file fic: permission denied. how is this ???
Maybe you are trying to save your file in a folder where you have not permission, try to change your current folder.
Or try this
save('D:/fic','im')
Check what your current directory is. If you are using Windows 7 or Windows 8, you cannot write under "Program Files"

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Asked:

on 1 Mar 2013

Community Treasure Hunt

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

Start Hunting!