*.mat file size problem
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 5 Nov 2015
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
il 5 Nov 2015
Modificato: Walter Roberson
il 5 Nov 2015
Walter Roberson
il 5 Nov 2015
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
il 5 Nov 2015
Walter Roberson
il 5 Nov 2015
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
il 5 Nov 2015
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Convert Image Type in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

