Project

General

Profile

Plastimatch Installation » History » Version 1

Peter Qian, 01/04/2021 09:18 AM

1 1 Peter Qian
h1. Plastimatch Installation
2
3
h2. Software description
4
5
An open source software for image computation. 
6
7
8
h2. Use in Onko
9
10
Plastimatch is used in the pyradiomics pipeline for two reasons. 
11
12
First, Pyradiomics, the library required for the analysis and computation of features from the patient images, uses SimpleITK for the processes of image loading and handling. As a result, the input has to be in a format that SimpleITK recognizes. The files input to Onko are of the DICOM format, a format not recognized by SimpleITK. This is where Plastimatch is used, to essentially convert the data/images from the format that they are input in to a format that can be recognized by SimpleITK (and in turn, Pyradiomics). The converted file is of the nrrd format (an alternative can be nii.gz, either of the two work in the same manner and yield the same results) and is saved to a new folder called “nrrd” inside the respective patient folder. The original image data is not altered in any way in the process. 
13
14
Second, Pyradiomics does not support DICOM-RT struct as a direct input. Much like the patient data, the DICOM-RT struct file, containing the Region-of-interest/segmentation masks must also be converted to the nrrd format (again, using Plastimatch). Each region-of-interest is saved as a separate nrrd file inside the “structures” folder. The “structures” folder can be found inside the “nrrd” folder mentioned earlier. 
15
16
17
h3. Installation
18
19
1.  Open the terminal
20
2.  Type (or copy and paste) the command “sudo apt-get install plastimatch” in the terminal
21
3.  Press “Enter”
22
4.  Enter your password when asked
23
5.  When asked "Do you want to continue", type “y” or "Y"
24
6.  Press “Enter”