I want to use TIFF images to efficiently store large arrays of measurement data. Setting them to mode = "I; 16" (corresponding to my 16-bit data range), they give 2 MB files (~ 1000 × 1000 pixels). It's good.
However, I am having trouble reinstalling them into arrays when it comes to analyzing them. For 32-bit data (-> "I"), the numpy.array command works fine. In the case of “I; 16”, the result is a 0D numpy array with TIFF as the record [0,0].
Is there any way to make this work? I would very much like to avoid the use of 32-bit images, since I do not need a range, and it doubles the required space on the hard disk (many and many of these measurements are planned)
source share