JPEG file into an array
8 ビュー (過去 30 日間)
古いコメントを表示
Hi,
is it possible to convert an JPEG file into an array in Matlab? What about the reverse conversion?
Owen
0 件のコメント
採用された回答
Geoff Hayes
2015 年 3 月 29 日
4 件のコメント
Image Analyst
2015 年 3 月 30 日
移動済み: DGM
2024 年 1 月 17 日
You're checking the size on disk, which will always be less. Once it's decompressed and read into a variable in your MATLAB program, it will be its full uncompressed size. To get the compressed matrix, which virtually no one ever does or ever needs to do unless you're writing your own version of imread(), then you'd have to use fread(). Of course it's not an image at that point since you'd need to decompress it.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!