<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Hi Kurt,
<div dir="auto">have you tried opening the image (h33/i33) file externally, say with some compatible image viewer? It seems there is a problem with the i33 file. I guess you are familiar with them, right? The header (.h33) contains information about the image while the raw file (.i33) contains the actual data. The reader does not find as many pixels in the data file as the header anticipated. That’s way I suggest opening the file externally and check it. Sorry if I am writing obvious stuff here. </div>
</div>
</div>
<div name="messageSignatureSection"><br />
<div dir="auto">Cheers,<br />
Nils</div>
</div>
<div name="messageReplySection">On 30 Jul 2019 at 02:55 +0200, Kurt V <kurtv1@hotmail.com>, wrote:<br />
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div class="WordSection1">
<p class="MsoNormal">Dear GATE Community,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am attempting to run the example in phantom source, voxellized phantom/source but, it does not work.</p>
<p class="MsoNormal">I am using vGate 8.2 (Gate 8.2).</p>
<p class="MsoNormal">I haven’t changed anything and am just running the built in example but an error occurs saying a reader is outdated.</p>
<p class="MsoNormal">I also downloaded the same but, updated example in the Gate Github account but, that one has an error also.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Does anyone have any updated working example that incorporates a voxellized phantom and a voxellized source?</p>
<p class="MsoNormal">I am trying to learn how these commands work but, nothing is functioning correctly.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have included the error at the bottom, that occurs with the built-in example.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">As always thanks all and I appreciate all suggestions,</p>
<p class="MsoNormal">Kurt Van Delinder, M.Sc., M.Sc. RT(T)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[Core-0] Initialization of geometry</p>
<p class="MsoNormal">### WARNING ### setSkipEqualMaterials at false !! The Geant4 method is not safe since the release 9.5 - Need to be fixed</p>
<p class="MsoNormal">### WARNING ### SetImage is obsolete and will be removed from the next release. Please use setImage</p>
<p class="MsoNormal">Header read from 'brain_phantom.h33'</p>
<p class="MsoNormal">Data file name 'brain_phantom.i33'</p>
<p class="MsoNormal">Nb of planes: 16</p>
<p class="MsoNormal">Nb of pixels per plane: 32 32</p>
<p class="MsoNormal">Pixel size: 8.8 8.8</p>
<p class="MsoNormal">Slice thickness: 11.2</p>
<p class="MsoNormal">Matrix size: 281.6 281.6</p>
<p class="MsoNormal">Data type: UNSIGNED INTEGER</p>
<p class="MsoNormal">Bytes per pixel: 2</p>
<p class="MsoNormal">Data byte order: LITTLEENDIAN</p>
<p class="MsoNormal">Machine byte order: LITTLEENDIAN</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[G4-cerr]</p>
<p class="MsoNormal">[G4-cerr] Error: the number of pixels that were read from the data file (130)</p>
<p class="MsoNormal">is inferior to the number computed from its header file (16384)!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">-------- EEEE ------- G4Exception-START -------- EEEE -------</p>
<p class="MsoNormal">*** G4Exception : InterfileTooShort</p>
<p class="MsoNormal"> issued by : GateInterfileHeader.cc InterfileTooShort</p>
<p class="MsoNormal">Correct problem then try again... Sorry!</p>
<p class="MsoNormal">*** Fatal Exception *** core dump ***</p>
<p class="MsoNormal">[G4-cerr] **** Track information is not available at this moment</p>
<p class="MsoNormal">[G4-cerr] **** Step information is not available at this moment</p>
<p class="MsoNormal">[G4-cerr]</p>
<p class="MsoNormal">-------- EEEE -------- G4Exception-END --------- EEEE -------</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p>
<p class="MsoNormal"> </p>
</div>
_______________________________________________<br />
Gate-users mailing list<br />
Gate-users@lists.opengatecollaboration.org<br />
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br /></blockquote>
</div>
</body>
</html>