Open Binary Files
Tutorial on how to open binary files in ImageJ
Tutorial on how to open binary files in ImageJ
- Get to know your file
- Say the file name is “recon1_724x724x193_float.dat”.
- It means the data is arranged in a 3-D matrix with a width of 724 elements, a height of 724 elements, and depth of 193 elements
- “float” means each element is a single-precision floating point number which is 4 bytes in length (or 32 bit).
- Go to ImageJ. From the drop down menu of “File”, select “Import”, and then select “Raw”
3. In the pop-up menu
- Image Type: choose 32-bit Real for single-precision floating point number
- Fill in the width
- Fill in the Height
- If there is an offset, please fill in; otherwise, leave 0
- Number of image is the depth of your 3-D matrix
- If there is a gap, please fill in; otherwise, leave 0
- Please check little-endian byte order. There are many conventions. Little-endian is used more often.