Difference between revisions of "RTK/Scripts/DrawGeometricPhantom"

From Openrtk
Jump to navigation Jump to search
 
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">

Latest revision as of 12:14, 12 November 2018

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 )