*.mat file size problem
古いコメントを表示
Hi, I am currently processing an image using tiled-based approach. I save each tile after it is sampled from image and some features are extracted out of it. The types of features and image size is the same for all tiles but the size of *.mat file for each tile varies considerably going from 200 MB to 133 GB! Does anybody know about where things go wrong?
6 件のコメント
Walter Roberson
2015 年 11 月 5 日
Please show your code.
It is expected that the size of .mat files might vary a little for data of exactly the same original size, but not by that much.
Mehdi Ravanbakhsh
2015 年 11 月 5 日
編集済み: Walter Roberson
2015 年 11 月 5 日
Walter Roberson
2015 年 11 月 5 日
With the information you have given us, we cannot determine that b is being reset to [] between images. And we do not know what you are saving to disk.
I suggest that you go to your code that is doing the saving, and you disp() the size() of the variables you are saving.
Also if you are using the save --append flag, or if you are using matFile to do the saving, we need to know.
Mehdi Ravanbakhsh
2015 年 11 月 5 日
Walter Roberson
2015 年 11 月 5 日
Please use "whos" with the -file option to check the contents of the .mat files.
whos -file mosaic_small1_els_predict_3_15.mat
whos -file mosaic_small1_els_predict_4_12.mat
Mehdi Ravanbakhsh
2015 年 11 月 5 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

