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
 
(4 intermediate revisions by the same user not shown)
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://wiki.openrtk.org/images/0/0c/Gammex_RMI465.txt Gammex.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] and boxes, exceptions ( parabolic cylinder and paraboloid family ).
 
RTK accepts all geometries shown in [http://en.wikipedia.org/wiki/Quadric Wiki Quadric], exceptions ( parabolic cylinder and paraboloid family )

Latest revision as of 12:27, 8 October 2014

Error creating thumbnail: File missing

This script uses the file Gammex.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 and boxes, exceptions ( parabolic cylinder and paraboloid family ).