PETCT Viewer » History » Version 4
Felicina Chau, 21/09/2021 11:04 PM
1 | 1 | Felicina Chau | h1. PETCT Viewer |
---|---|---|---|
2 | |||
3 | View>mainpage>PETCTView.py |
||
4 | |||
5 | This file is responsible for implementing the PET/CT Viewer tab of the OnkoDICOM program. As this is an extension of the image fusion functionality, a new tab has been created to maintain clarity of the fused PET and CT images. The visual layout of PETCTView.py share many similarities with DICOMView.py and thus, code from the latter has been copied and refactored so that the mainpage folder contains the PETCTView.py. |
||
6 | 2 | Felicina Chau | |
7 | h2. Alpha Slider |
||
8 | 4 | Felicina Chau | |
9 | 3 | Felicina Chau | goes between 0 and 100 for opacity |
10 | image_display using painter, blends images together |
||
11 | |||
12 | 2 | Felicina Chau | <pre><code class="python"> |
13 | 3 | Felicina Chau | # |
14 | 2 | Felicina Chau | |
15 | </code></pre> |
||
16 | |||
17 | h2. Axial, Coronal, and Sagittal Views |
||
18 | 3 | Felicina Chau | toggled --> update_axis (gets which image was toggled, grabs the name of the toggled view, get the length of the pixmaps and correct the slider values) |
19 | |||
20 | image_display - updated to cater for image sets of different sizes (look for variable m) |
||
21 | |||
22 | 2 | Felicina Chau | <pre><code class="python"> |
23 | |||
24 | </code></pre> |
||
25 | |||
26 | h2. Windowing |
||
27 | 3 | Felicina Chau | The approach to enabling windowing levels while in the PETCT Viewer tab is to first apply windowing to both PT and CT sets separately before overlaying the images (fusing). |
28 | 2 | Felicina Chau | <pre><code class="python"> |
29 | |||
30 | </code></pre> |