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

Xiaonan Li 506567442 at qq.com
Sun Oct 29 08:18:44 CET 2017


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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171029/eb4d47e7/attachment.html>


More information about the Gate-users mailing list