How to create a look up table

Hi everybody. I want to create a look up table. and, I don’t know how to open .lut files. Is there any software to read and write a .lut file?

Greetings,

The documentation describes the lut format. In the case of PET, see section 5.1.2, it is a binary file where each detector is defined as 3 float for position and 3 float for orientation. Thus, reading/writing is simply reading/writing N \times (3 + 3) floats, where N is the number of detectors of your system. I do not remember from the top of my head the float type but it should be written in documentation.

If you have difficulty in reading/writing binary files, this is a known and well documented task, as such, it should be easy to find on google. If you have no idea where to start, I would suggest to use python for this task since it is one of the easiest language to use for this kind of thing.

Bests,
Maxime Toussaint

1 Like