RTK/Scripts/DrawGeometricPhantom: 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 5: Line 5:
<source lang="bash">
<source lang="bash">
  # Create a 3D geometric phantom
  # Create a 3D geometric phantom
  rtkdrawgeometricphantom --phantomfile GeometricPhantom.txt
  rtkdrawgeometricphantom --phantomfile GeometricPhantom.txt -o newPhantom.mha
  </source>
  </source>



Revision as of 09:51, 19 December 2012

Error creating thumbnail: File missing
Error creating thumbnail: File missing

This script uses the file GeometricPhantom.txt as input in order to create a cone inside a cylinder.

 # Create a 3D geometric phantom
 rtkdrawgeometricphantom --phantomfile GeometricPhantom.txt -o newPhantom.mha

This script is a short example that allows you to create a previously specified geometric phantom.

RTK accepts all geometries shown in [1], exceptions (Parabolic cylinder and paraboloid family)