RTK/Examples/VarianReconstruction

From Openrtk
Revision as of 06:30, 24 December 2014 by Srit (talk | contribs)
Jump to navigation Jump to search

Varian Reconstruction

The first step before we can proceed with our reconstruction is to convert Varian's geometry into RTKs format using a command line tool. In order to carry out the reconstruction you just need to follow these simple steps:

1. Download Varian dataset, Varian-data

2. Run the application to convert Varian's geometry into RTKs:

 rtkvarianobigeometry --xml_file ProjectionInfo.xml --path Scan0/ --regexp Proj_.*.hnd -o geometry.xml

3. Reconstruct varian-data using RTK applications such as rtkfdk algorithm. In this case we are going to reconstruct just a slice (30) of the whole volume:

 rtkfdk \
   --geometry geometry.xml \
   --regexp .*.hnd \
   --path Scan0 \
   --output slice30.mha \
   --verbose \
   --spacing 0.25,0.25,0.25 \
   --dimension 1024,1,1024 \
   --origin -127.875,30,-127.875

4. We apply the FOV (field of view) filter, in order to discard everything that is outside our FOV:

 rtkfieldofview \
   --geometry geometry.xml \
   --regexp .*.hnd \
   --path ../Scan0 \
   --reconstruction slice30.mha \
   --output slice30.mha \
   --verbose

5. Finally you can visualize your result with e.g. VV and it should look like the image below:

Error creating thumbnail: File missing