<div dir="ltr">Hi Gate Users,<div><br></div><div>I am trying to incorporate an XCAT phantom into my SPECT simulation. I have converted the .bin XCAT file to interfile format using (X)MedCon. However, when GATE reads the header there is a problem. The header states there are 500 images, 256 pixels by 256 pixels, but the output when the simulation is run says the number of planes is 0, with 256 x 256 pixels per plane. I then get the following:</div><div><br></div><div> Header read from       'data/test_atn.h33'<br> Data file name         'm000-out_test_atn_1.i33'<br> Nb of planes:           0<br> Nb of pixels per plane: 256 256<br> Pixel size:             1 1<br> Slice thickness:        0<br> Matrix size:            256 256<br> Data type:              UNSIGNED INTEGER<br> Bytes per pixel:        4<br> Data byte order:        LITTLEENDIAN<br> Machine byte order:     LITTLEENDIAN<br><br>[G4-cerr] <br>[G4-cerr] Error: one of the matrix dimensions is zero!<br><br>-------- EEEE ------- G4Exception-START -------- EEEE -------<br>*** G4Exception : NoHeaderInformation<br>      issued by : GateInterfileHeader.cc:ReadData<br>call GateInterfileHeader::ReadHeader first!<br>*** Fatal Exception *** core dump ***<br>[G4-cerr]  **** Track information is not available at this moment<br>[G4-cerr]  **** Step information is not available at this moment<br>[G4-cerr] <br>-------- EEEE -------- G4Exception-END --------- EEEE -------<br><br>Is this due to the file converting incorrectly? If so, do you have a suggestion on how to convert it correctly? And if not, do you have a suggestion of what I can try to correct this error?</div><div><br></div><div>I have included more information from the header below, if that is of use.</div><div><br></div><div>Cheers,</div><div>Miriam</div><div><br></div><div>!INTERFILE :=<br>!imaging modality := nucmed<br>!originating system := (X)MedCon<br>!version of keys := 3.3<br>date of keys := 1996:09:24<br>conversion program := (X)MedCon<br>program author := Erik Nolf<br>program version := 0.14.1<br>program date := 2015:12:26<br>;<br>!GENERAL DATA :=<br>original institution := NucMed<br>!data offset in bytes := 0<br>!name of data file := m000-out_test_atn_1.i33<br>patient name := Unknown<br>!patient ID := Unknown<br>patient dob := 0000:00:00<br>patient sex := Unknown<br>!study ID := Unknown<br>exam type := Unknown<br>data compression := none<br>data encode := none<br>organ := Unknown<br>isotope := Unknown<br>dose := 0<br>NUD/Patient Weight [kg] := 0.00<br>NUD/imaging modality := NM<br>NUD/activity := 0<br>NUD/activity start time := 00:00:00<br>NUD/isotope half life [hours] := 0.000000<br>;<br>!GENERAL IMAGE DATA :=<br>!type of data := Static<br>!total number of images := 500<br>study date := 0000:00:00<br>study time := 00:00:00<br>imagedata byte order := LITTLEENDIAN<br>process label := Unknown<br>;<br>number of energy windows := 1<br>;<br>energy window [1] :=<br>energy window lower level [1] :=<br>energy window upper level [1] :=<br>flood corrected := N<br>decay corrected := N<br>;<br>!STATIC STUDY (General) :=<br>number of images/energy window := 500<br>;<br>!Static Study (each frame) :=<br>!image number := 1<br>!matrix size [1] := 256<br>!matrix size [2] := 256<br>!number format := unsigned integer<br>!number of bytes per pixel := 4<br>scaling factor (mm/pixel) [1] := +1.000000e+00<br>scaling factor (mm/pixel) [2] := +1.000000e+00<br>image duration (sec) := 0.000000e+00<br>image start time := 00:00:00<br>label := Unknown<br>!maximum pixel count := +0.000000e+00<br>!minimum pixel count := +0.000000e+00<br>total counts := 0<br></div></div>