Difference between revisions of "RTK/Scripts/RayBoxIntersection"

From Openrtk
Jump to navigation Jump to search
(Created page with "<div class="floatcenter">200px 200px</div> This script uses the file File:Box.txt as input. <source lang="bash"> # Cr...")
 
Line 1: Line 1:
<div class="floatcenter">[[File:RayBoxsinogram.jpg|200px]] [[File:RayBoxFDK.jng|200px]]</div>
+
<div class="floatcenter">[[File:RayBoxsinogram.jpg|200px]] [[File:RayBoxFDK.jpg|200px]]</div>
  
 
This script uses the file [[File:Box.txt]] as input.
 
This script uses the file [[File:Box.txt]] as input.

Revision as of 11:22, 23 November 2012

RayBoxsinogram.jpg RayBoxFDK.jpg

This script uses the file File:Box.txt as input.

 # Create a simulated geometry
 rtksimulatedgeometry -n 360 -o geometry.xml

 # Create a box volume
 rtkdrawgeometricphantom -o box.mha --spacing 1 --dimension 90 --phantomfile box.txt

 # Calculate radiological path of the box (ray intersection length)
 rtkrayboxintersection -g geometry.xml -i box.mha -o rayboxintersection.mha --spacing 1 --dimension 256

 # Reconstruct/Backproject the set of projections
 rtkfdk -g geometry.xml -p . -r rayboxintersection.mha -o fdk.mha --spacing 1 --dimension 256