From 3f20b41c17ab297730b7dac1e0f360351159cd78 Mon Sep 17 00:00:00 2001 From: Alireza Date: Fri, 10 Mar 2023 13:07:56 -0500 Subject: [PATCH] fix(tmtv): there should be no CT range for max suv settings (#3232) --- .../PanelROIThresholdSegmentation.tsx | 8 ++++---- extensions/tmtv/src/utils/getThresholdValue.ts | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/extensions/tmtv/src/Panels/PanelROIThresholdSegmentation/PanelROIThresholdSegmentation.tsx b/extensions/tmtv/src/Panels/PanelROIThresholdSegmentation/PanelROIThresholdSegmentation.tsx index 1b946c6cf..998eb24bb 100644 --- a/extensions/tmtv/src/Panels/PanelROIThresholdSegmentation/PanelROIThresholdSegmentation.tsx +++ b/extensions/tmtv/src/Panels/PanelROIThresholdSegmentation/PanelROIThresholdSegmentation.tsx @@ -9,10 +9,10 @@ import ROIThresholdConfiguration, { ROI_STAT, } from './ROIThresholdConfiguration'; -const LOWER_CT_THRESHOLD_DEFAULT = -1000; -const UPPER_CT_THRESHOLD_DEFAULT = 500; -const LOWER_PT_THRESHOLD_DEFAULT = 5; -const UPPER_PT_THRESHOLD_DEFAULT = 50; +const LOWER_CT_THRESHOLD_DEFAULT = -1024; +const UPPER_CT_THRESHOLD_DEFAULT = 1024; +const LOWER_PT_THRESHOLD_DEFAULT = 2.5; +const UPPER_PT_THRESHOLD_DEFAULT = 100; const WEIGHT_DEFAULT = 0.41; // a default weight for suv max often used in the literature const DEFAULT_STRATEGY = ROI_STAT; diff --git a/extensions/tmtv/src/utils/getThresholdValue.ts b/extensions/tmtv/src/utils/getThresholdValue.ts index a54171f6a..d11872dd0 100644 --- a/extensions/tmtv/src/utils/getThresholdValue.ts +++ b/extensions/tmtv/src/utils/getThresholdValue.ts @@ -50,10 +50,9 @@ function getThresholdValues( ); const ptValue = getRoiStats(referencedVolumes[0], annotations); - const ctValue = getRoiStats(referencedVolumes[1], annotations); return { - ctLower: weight * ctValue, + ctLower: -Infinity, ctUpper: +Infinity, ptLower: weight * ptValue, ptUpper: +Infinity,