Project

General

Profile

PETCT Viewer » History » Revision 3

Revision 2 (Felicina Chau, 21/09/2021 10:28 PM) → Revision 3/6 (Felicina Chau, 21/09/2021 11:03 PM)

h1. PETCT Viewer 

 View>mainpage>PETCTView.py 

 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.  

 h2. Alpha Slider 
 goes between 0 and 100 for opacity  
 image_display using painter, blends images together 

 <pre><code class="python"> 
 # 

 </code></pre> 

 h2. Axial, Coronal, and Sagittal Views 
 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) 

 image_display - updated to cater for image sets of different sizes (look for variable m) 

 <pre><code class="python"> 

 </code></pre> 

 h2. Windowing 
 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). 
 <pre><code class="python"> 

 </code></pre>