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
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="floatcenter">[[File:NewGeometries.jpg|300px]] [[File:NewGeometries2.jpg|300px]]</div>
<div class="floatcenter">[[File:NewGeometries.jpg|300px]] [[File:NewGeometries2.jpg|300px]]</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 [https://data.kitware.com/api/v1/item/5b179c928d777f15ebe20208/download GeometricPhantom.txt] as input in order to create a cone inside a cylinder.  


<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>


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 )

Latest revision as of 11:14, 12 November 2018

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