gerbilvis / gerbil

Gerbil Hyperspectral Visualization and Analysis Framework
http://gerbilvis.org
GNU General Public License v3.0
43 stars 15 forks source link

crash opening hyperspectral image ubuntu 18.04 #39

Open fp30 opened 6 years ago

fp30 commented 6 years ago

After fixing the build issue I try to open a (largish 16GB) hyperspectral file. Terminal says its loading but laptop crashes. Opening a small RGB file works fine but the large file crashes. Is there any way to debug or is there a file size limit?

ypnos commented 6 years ago

I am afraid currently when you load a 16bit image into Gerbil you need roughly four times the RAM (internally stored as float in two different representations). Partial image loading is supported whereas only the ROI is fully loaded into RAM, but only for band-series with descriptor file, not for RAW/ENVI files.

Partial loading of these files needs to be implemented and I would also rework the internal storage to do away with one of the representations. However right now I do not have time to implement new features.