diff --git a/invesalius/constants.py b/invesalius/constants.py index fa237a4..d6bf070 100644 --- a/invesalius/constants.py +++ b/invesalius/constants.py @@ -35,6 +35,17 @@ SLICE_POSITION = {AXIAL:[AXIAL_SLICE_CAM_VIEW_UP, AXIAL_SLICE_CAM_POSITION], SAGITAL:[SAGITAL_SLICE_CAM_VIEW_UP, SAGITAL_SLICE_CAM_POSITION], CORONAL:[CORONAL_SLICE_CAM_VIEW_UP, CORONAL_SLICE_CAM_POSITION]} +#Color Table from Slice +#NumberOfColors, SaturationRange, HueRange, ValueRange +SLICE_COLOR_TABLE = {"Gray":(None,(0,0),(0,0),(0,1)), + "Hue":(None,(1,1),(0,1),(1,1)), + "Saturation":(None,(0,1),(0.6,0.6),(1,1)), + "Desert":(256, (1,1), (0, 0.1), (1,1)), + "Rainbow":(256,(1,1),(0,0.8),(1,1)), + "Ocen":(256,(1,1),(0.667, 0.5),(1,1)), + "Inverse Gray":(256, (0, 0), (0, 0), (1,0)), + } + # Volume view angle VOL_FRONT = wx.NewId() VOL_BACK = wx.NewId() @@ -142,7 +153,6 @@ WINDOW_LEVEL = {"Abdomen":(350,50), "Liver":(2000, -500), "Lung - Soft":(1600,-600), "Lung - Hard":(1000,-600), - "Lung":(1500,-6550), "Mediastinum":(350,25), "Pelvis": (450,50), "Sinus":(4000, 400), -- libgit2 0.21.2