ImageJ plugins

Version 2.1 by fwilde on 2016/05/27 11:54

It's highly recommended to not edit this document. Any modification made will eventually be lost because it cannot reach back the owner replication instance of that document.

Currently, at P05 a generic data format is used to store raw and reconstructed data. Generally, this is a binary format in little endian byte order with different data types (uint16, real32, ...) and a header which describes the dataset (rows and columns, data format). This data can either be imported directly in ImageJ or loaded with our plugins.

Import raw data

With ImageJ you can either import binary data directly, if you know the header length and format of of your image or you can use our plugins to open the file.

The header length is not fixed and generally depends on the image dimensions. Open the first line of the dataset (e.g. with the head command in Linux) and count all letters until the carriage return. Add 2 to this number and this is the header length - e.g. PC_2_U_2000_2000_ results in a header length of 19.

suffix

data type

header tag

 

8 bit integer

B

.img .dar .ref

16 bit unsigned integer

U

 

16 bit integer

I

 

32 bit integer

L

.sli .sin .sis

32 bit float

F

Use the ImageJ plugins

In order to read the P05 data with our plugin, you have at least to install the read_dat.class. Simply copy the file into your local ImageJ plugins folder. If you want to be able to open the data with the standard File -> Open... Menu button, you addtionally have to install the HandeExtraFileTypes.jar. With this plugin you can also import an image stack as a virtual stack.