[Gate-users] Importing XCAT files as modules into Gate to simulate CT errors

David Boersma david.boersma at igp.uu.se
Mon Oct 30 09:49:26 CET 2017


Dear Xianoan Li,

I have no experience with XCAT phantoms, but I see that "Nb of planes" 
and "Slice thickness" are both reported as zero. That looks very 
suspicious to me, and it looks related to the error message. Does one or 
both of the header file give the same numbers for these quantities?

/DavidB

Den 29/10/2017 kl. 08:18, skrev Xiaonan Li:
> Dear All,
> 
>      I try import XCAT file as phantom into Gate to CT simulate. 
> However,  one of the matrix dimensions is zero! error occurs.just like 
> the flowing,
> #--------------------------------------------
> Header read from       
> '/home/lxn/soft/gate/gate_v8.0/example/test/veinenhanced2.h33'
>   Data file name         
> '/home/lxn/soft/gate/gate_v8.0/example/test/veinenhanced'.i33
>   Nb of planes:           0
>   Nb of pixels per plane: 256 256
>   Pixel size:             1 1
>   Slice thickness:        0
>   Matrix size:            256 256
>   Data type:
>   Bytes per pixel:        4
>   Data byte order:        BIGENDIAN
>   Machine byte order:     LITTLEENDIAN
> 
> ', assuming default BIGENDIANyte order 'LITTLEENDIAN
> 
> 
> [G4-cerr] Error: one of the matrix dimensions is zero!
> 
> -------- EEEE ------- G4Exception-START -------- EEEE -------
> *** G4Exception : NoHeaderInformation
>        issued by : GateInterfileHeader.cc:ReadData
> call GateInterfileHeader::ReadHeader first!
> *** Fatal Exception *** core dump ***
> -------- EEEE -------- G4Exception-END --------- EEEE -------
> 
> [G4-cerr]
> [G4-cerr] *** G4Exception: Aborting execution ***
> Aborted (core dumped)
> #----------------------------
>   I gusse maybe  the attenuation-range.dat doesn't match, my is
>    4
>    0     0     Air         false 0.0  0.0  0.0  0.2
>    4     4     Water       true 1.0  0.0  0.0  0.2
>    5     5     Water       true 0.0  1.0  0.0  0.2
>    14    15    Water       true 0.0  0.0  1.0  0.2
> ,I want to known if there has an error,can any body can tell me ?
> 
> 
> 
> 
> 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> 


More information about the Gate-users mailing list