We have a binary file that contains a large amount of data float(about 80 MB). we must process it in our Java application. Data taken from a medical scanner. One file contains data from one Rotation. One Rotationcontains 960 Views. One Viewcontains 16 Rows, and one Rowscontains 1344 Cells. These numbers (their relationship) are fixed.
We need to read ALL the floats in our application with a code structure that reflects the structure above Rotation-view-row-cell.
Now we use float[]to store data for Cells, and then using ArrayListfor Rotation, Viewand Rowto store our data.
I have two questions:
- how to fill in cell data (quickly read the floats in our float [])
- Do you have an idea to save this data?
source
share