RTK/Examples/ElektaReconstruction

From Openrtk
Revision as of 09:00, 1 February 2013 by Mvila (talk | contribs)
Jump to navigation Jump to search

Elekta Reconstruction

The first step before we can proceed with our reconstruction is to convert Elekta'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 Elekta dataset, Elekta-data

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

 rtkelektasynergygeometry --image_db IMAGE.DBF --frame_db FRAME.DBF --dicom_uid 1.3.46.423632.135428.1351013645.166 -o elektaGeometry

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

 rtkfdk \
   --geometry elektaGeometry \
   --path img_1.3.46.423632.135428.1351013645.166/ \
   --regexp '.*.his' \
   --output slice29.5.mha \
   --verbose \
   --spacing 0.25,0.25,0.25 \
   --dimension 1024,1,1024 \
   --origin -127.875,29.5,-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 \
   --path img_1.3.46.423632.135428.1351013645.166/ \
   --regexp '.*.his' \
   --reconstruction slice29.5.mha \
   --output slice29.5.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