Commit f278649154464afd8cdc783e03de97696ee6ceaa
1 parent
41a9e0f1
Exists in
master
and in
1 other branch
Not forcing original orientation to axial
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/control.py
| ... | ... | @@ -550,10 +550,10 @@ class Controller(): |
| 550 | 550 | proj.matrix_filename = matrix_filename |
| 551 | 551 | #proj.imagedata = imagedata |
| 552 | 552 | proj.dicom_sample = dicom |
| 553 | - # proj.original_orientation =\ | |
| 554 | - # name_to_const[dicom.image.orientation_label] | |
| 553 | + proj.original_orientation =\ | |
| 554 | + name_to_const[dicom.image.orientation_label] | |
| 555 | 555 | # Forcing to Axial |
| 556 | - proj.original_orientation = const.AXIAL | |
| 556 | + # proj.original_orientation = const.AXIAL | |
| 557 | 557 | proj.window = float(dicom.image.window) |
| 558 | 558 | proj.level = float(dicom.image.level) |
| 559 | 559 | proj.threshold_range = int(matrix.min()), int(matrix.max()) | ... | ... |