RTK/Scripts/CreateGammexPhantom: Difference between revisions

From Openrtk
Jump to navigation Jump to search
(Created page with "<div class="floatcenter">300px 300px</div> This script uses the file [http://midas3.kitware.com/midas/download?folders=...")
 
No edit summary
Line 1: Line 1:
<div class="floatcenter">[[File:NewGeometries.jpg|300px]] [[File:NewGeometries2.jpg|300px]]</div>
<div class="floatcenter">[[File:gammex.png|400px]]</div>


This script uses the file [http://midas3.kitware.com/midas/download?folders=7981 GeometricPhantom.txt] as input in order to create a cone inside a cylinder.  
This script uses the file [http://midas3.kitware.com/midas/download?folders=7981 Gammex_RMI465.txt] as configuration file which creates a Gammex phantom.  


<source lang="bash">
<source lang="bash">
  # Create a 3D geometric phantom
  # Create a 3D Gammex phantom
  rtkdrawgeometricphantom --phantomfile GeometricPhantom.txt -o newPhantom.mha
  rtkdrawgeometricphantom --phantomfile Gammex_RMI465.txt -o gammex.mha
  </source>
  </source>


This script is a short example that allows you to create a previously specified geometric phantom.
RTK accepts all geometries shown in [http://en.wikipedia.org/wiki/Quadric Wiki Quadric], exceptions ( parabolic cylinder and paraboloid family ) and boxes.
 
RTK accepts all geometries shown in [http://en.wikipedia.org/wiki/Quadric Wiki Quadric], exceptions ( parabolic cylinder and paraboloid family )

Revision as of 11:24, 8 October 2014

Error creating thumbnail: File missing

This script uses the file Gammex_RMI465.txt as configuration file which creates a Gammex phantom.

 # Create a 3D Gammex phantom
 rtkdrawgeometricphantom --phantomfile Gammex_RMI465.txt -o gammex.mha

RTK accepts all geometries shown in Wiki Quadric, exceptions ( parabolic cylinder and paraboloid family ) and boxes.