Author | Zhou Dejun |
---|---|
zhoudejunchn@gmail.com |
This is a prototype of a Dicom-CT Image Viewer. The functions used in the GUI are described in the dicomrotate.py. To see the details of the functions, please read the dicomrotate.py and the comments in it. This introduciton is focused on the GUI, especially the function of the buttons. Please contact me if you have any suggestions or questions.
This program is based on Python3, the required Modules are listed in the file requirements.txt. To run this program, put the viewergui.py and dicomanal.py in the same folder, cd to this folder and run the command "pythonw viewergui.py". Please note that the "pythonw" is used here instead of "python" here to avoid the "This program needs access to the screen" problem.
Click this button and select the folder that stores the '.dcm' files of the patient. Then the path of the folder will be displayed on the text box next to it and the image of the first dcm file (sorted by the name of the files) will be displayed.
Click this button to show the previous image of the dcm file on the file list. If the first slice is being displayed, click this button and the last slice will be displayed.
Click this button to show the next image of the dcm file on the file list. If the last slice is being displayed, click this button and the first slice will be displayed.
Input the number of slice in the textbox before it, then click this button and the required slice will be displayed.
If this check box is checked, the sturcture region will be displayed on the image. The legend of the structure will be showed on the left on the image.
If this check box is checked, the dose distribution will be displayed on the image. The legend of the isodose will be showed on the right on the image. Please note that if there is no dose distribution on the image, nothing will be changed if this check box is checked.