diff --git a/hazenlib/tasks/ghosting.py b/hazenlib/tasks/ghosting.py index f9e5f8a2..a20ab718 100644 --- a/hazenlib/tasks/ghosting.py +++ b/hazenlib/tasks/ghosting.py @@ -352,7 +352,7 @@ def get_ghosting(self, dcm) -> float: img = img.astype("float64") # print('this is img',img) img *= 255.0 / img.max() - img = hazenlib.utils.rescale_to_byte(dcm.pixel_array) + # img = hazenlib.utils.rescale_to_byte(dcm.pixel_array) img = cv.rectangle(img.copy(), (x1, y1), (x2, y2), (255, 0, 0), 1) for roi in background_rois: