Difference between revisions of "RTK/Scripts/DrawGeometricPhantom"

From Openrtk
Jump to navigation Jump to search
Line 10: Line 10:
 
This script is a short example that allows you to create a previously specified geometric phantom.  
 
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], 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 )

Revision as of 10:52, 19 December 2012

NewGeometries.jpg NewGeometries2.jpg

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 Wiki Quadric, exceptions ( parabolic cylinder and paraboloid family )