Commit b8381c75a41a817a7de18b54cf3081a7e4046966
1 parent
ea067c27
Exists in
master
and in
10 other branches
Forcing orig orientation to axial when opening dicom files
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
invesalius/control.py
... | ... | @@ -549,8 +549,10 @@ class Controller(): |
549 | 549 | proj.matrix_filename = matrix_filename |
550 | 550 | #proj.imagedata = imagedata |
551 | 551 | proj.dicom_sample = dicom |
552 | - proj.original_orientation =\ | |
553 | - name_to_const[dicom.image.orientation_label] | |
552 | + # proj.original_orientation =\ | |
553 | + # name_to_const[dicom.image.orientation_label] | |
554 | + # Forcing to Axial | |
555 | + proj.original_orientation = const.AXIAL | |
554 | 556 | proj.window = float(dicom.image.window) |
555 | 557 | proj.level = float(dicom.image.level) |
556 | 558 | proj.threshold_range = int(matrix.min()), int(matrix.max()) | ... | ... |