diff --git a/src/components/AnnotationsModule.vue b/src/components/AnnotationsModule.vue index b85f0456..1f3adb55 100644 --- a/src/components/AnnotationsModule.vue +++ b/src/components/AnnotationsModule.vue @@ -33,7 +33,7 @@ const MeasurementToolTypes = new Set( MeasurementTools.map(({ type }) => type) ); -const tab = ref(Tabs.Measurements); +const tab = ref(Tabs.SegmentGroups); const { currentTool } = storeToRefs(useToolStore()); function autoFocusTab() { @@ -58,16 +58,16 @@ watch( - Measurements Segment Groups + Measurements - - - + + + diff --git a/src/components/tools/windowing/WindowLevelControls.vue b/src/components/tools/windowing/WindowLevelControls.vue index e5172421..6f7416ff 100644 --- a/src/components/tools/windowing/WindowLevelControls.vue +++ b/src/components/tools/windowing/WindowLevelControls.vue @@ -15,7 +15,7 @@ export default defineComponent({ const windowingStore = useWindowingStore(); const viewStore = useViewStore(); const dicomStore = useDICOMStore(); - const panel = ref(['tags', 'presets']); + const panel = ref(['tags', 'presets', 'auto']); const windowingDefaults = defaultWindowLevelConfig(); // Get the relevant view ids @@ -126,7 +126,7 @@ export default defineComponent({ - Data-Specific Presets + File Specific Presets @@ -141,24 +141,18 @@ export default defineComponent({ - Presets + CT Presets - +
+ +
diff --git a/src/constants.ts b/src/constants.ts index 81ebe898..8cb5403d 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -82,57 +82,25 @@ export const WL_AUTO_DEFAULT = 'FullRange'; export const WL_HIST_BINS = 512; export const WLPresetsCT = { - Head: { - Brain: { - width: 80, - level: 40, - }, - Subdural: { - width: 300, - level: 100, - }, - Stroke: { - width: 40, - level: 40, - }, - Bones: { - width: 2800, - level: 600, - }, - SoftTissue: { - width: 400, - level: 60, - }, - }, - Chest: { - Lungs: { - width: 1500, - level: -600, - }, - Mediastinum: { - width: 350, - level: 50, - }, - }, - Abdomen: { - SoftTissue: { - width: 400, - level: 50, - }, - Liver: { - width: 150, - level: 30, - }, - }, - Spine: { - SoftTissue: { - width: 250, - level: 50, - }, - Bones: { - width: 1800, - level: 400, - }, + Bones: { + width: 1000, + level: 400, + }, + Air: { + width: 1000, + level: -426, + }, + SoftTissue: { + width: 350, + level: 50, + }, + Lungs: { + width: 1500, + level: -600, + }, + Brain: { + width: 80, + level: 40, }, };