How to convert a .tif file into a .mat file?
조회 수: 54 (최근 30일)
이전 댓글 표시
I intend to get the haar wavelet coefficients of an user specified .tif image using the dwt2 command.However, dwt2 command requires that the variable depicting the image be loaded into the workspace.Now the load command can load variables only from a .mat file.Hence,I need to convert the user specified .tif file into a .mat file.Kindly help. Other solutions for the above problem will also be appreciated
댓글 수: 0
채택된 답변
Junaid
2011년 12월 1일
If it is so, then you simply convert that tiff into mat file like this..
let say tif file name is "Example.tiff";
A = imread('Example.tiff');
save('myTiff2mat','A');
Where 'myTiff2mat' is file name you want to be...
추가 답변 (3개)
primrose khaleed
2014년 5월 20일
i want to create .mat files of multyply images..this files consist of testing and traning images then enter this files into neural network...how can do it ???how to creat input matrix and target matrix in .mat files?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Multiresolution Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!