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

Konstantinos P. Chatzipapas, MSc konhat88 at yahoo.gr
Mon Oct 30 12:42:03 CET 2017


Hello,
Try the metadata format for your phantom (.mhd).
Regards,
Konstantinos ----------------------------------------------------- Konstantinos Chatzipapas
    Medical Physicist, MSc
       University of Patras
    web page: Physics Magazine 

    Στις 10:49 π.μ. Δευτέρα, 30 Οκτωβρίου 2017, ο/η David Boersma <david.boersma at igp.uu.se> έγραψε:
 

 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
> 
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171030/786a5ed5/attachment.html>


More information about the Gate-users mailing list