Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 868 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 868 Bytes

RTStruct2Vtk

Small code to build 3D images from radiotherapy structure sets (RTSTRUCT).

1. Requirements

Cmake is required to build the code.

Two libraries are required

  • VTK that can be installed on a Mac with

      brew install vtk
    
  • GDCM for converting RTStruct to PolyData.

2. Installation

The code is built using:

git clone [email protected]:osaut/RTStruct2Vtk.git
cd RTStruct2Vtk
cmake .
make

3. Usage

The code is called with a RTStruct file in argument

./rtsr.out RTStruct.dcm

it should create VTI volumes file that Paraview can read and that VTK can convert to other useful file formats. A volume is created for each delineation found in the RTStruct file.