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

답변 (1개)

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

댓글 수: 4

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"

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

2013년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by