Compare commits

..
Author SHA1 Message Date
ohif-bot eede2945ae chore(version): Update package versions [skip ci] 2025-07-30 02:35:07 +00:00
ohif-bot 1fc38c7379 chore(version): version.json [skip ci] 2025-07-30 02:35:00 +00:00
Pedro KöhlerandJoe Boccanfuso 271b84f78f feat: improve segment label (#5217)
Co-authored-by: Joe Boccanfuso <joe.boccanfuso@radicalimaging.com>
2025-07-29 22:30:18 -04:00
89 changed files with 592 additions and 196 deletions

No files matched your search

+11
View File
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
### Features
* improve segment label ([#5217](https://github.com/OHIF/Viewers/issues/5217)) ([271b84f](https://github.com/OHIF/Viewers/commit/271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec))
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @externals/devDependencies
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @externals/devDependencies
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@externals/devDependencies",
"description": "External dev dependencies - put dev build dependencies here",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"license": "MIT",
"private": true,
"engines": {
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@externals/dicom-microscopy-viewer",
"description": "External reference to dicom-microscopy-viewer",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"license": "MIT",
"dependencies": {
"dicom-microscopy-viewer": "^0.46.1"
+1 -1
View File
@@ -1 +1 @@
341f1c4ce799d1bcef3632e0d135be0cfcb333a9
271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-pmap",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "DICOM Parametric Map read workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,10 +33,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-rt",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "DICOM RT read workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,10 +33,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
### Features
* improve segment label ([#5217](https://github.com/OHIF/Viewers/issues/5217)) ([271b84f](https://github.com/OHIF/Viewers/commit/271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec))
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-seg
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-seg",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "DICOM SEG read workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,10 +33,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -1,7 +1,14 @@
function createSEGToolGroupAndAddTools(ToolGroupService, customizationService, toolGroupId) {
function createSEGToolGroupAndAddTools({
commandsManager,
toolGroupService,
customizationService,
toolGroupId,
}) {
const tools = customizationService.getCustomization('cornerstone.overlayViewportTools');
return ToolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
const updatedTools = commandsManager.run('initializeSegmentLabelTool', { tools });
return toolGroupService.createToolGroupAndAddTools(toolGroupId, updatedTools);
}
export default createSEGToolGroupAndAddTools;
@@ -214,7 +214,12 @@ function OHIFCornerstoneSEGViewport(props: withAppTypes) {
// This creates a custom tool group which has the lifetime of this view
// only, and does NOT interfere with currently displayed segmentations.
toolGroup = createSEGToolGroupAndAddTools(toolGroupService, customizationService, toolGroupId);
toolGroup = createSEGToolGroupAndAddTools({
commandsManager,
toolGroupService,
customizationService,
toolGroupId,
});
return () => {
// remove the segmentation representations if seg displayset changed
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-sr",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension for an SR Cornerstone Viewport",
"author": "OHIF",
"license": "MIT",
@@ -34,10 +34,10 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-measurement-tracking": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-measurement-tracking": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dynamic-volume",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension for 4D volumes data",
"author": "OHIF",
"license": "MIT",
@@ -29,11 +29,11 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicom-parser": "^1.8.21",
"hammerjs": "^2.0.8",
+11
View File
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
### Features
* improve segment label ([#5217](https://github.com/OHIF/Viewers/issues/5217)) ([271b84f](https://github.com/OHIF/Viewers/commit/271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec))
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension for Cornerstone",
"author": "OHIF",
"license": "MIT",
@@ -39,8 +39,8 @@
"@cornerstonejs/codec-openjpeg": "^1.2.4",
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/dicom-image-loader": "^3.30.3",
"@ohif/core": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicom-parser": "^1.8.21",
"hammerjs": "^2.0.8",
+51 -4
View File
@@ -102,6 +102,7 @@ let segmentAIEnabled = false;
function commandsModule({
servicesManager,
commandsManager,
extensionManager,
}: OhifTypes.Extensions.ExtensionParams): OhifTypes.Extensions.CommandsModule {
const {
viewportGridService,
@@ -1743,17 +1744,62 @@ function commandsModule({
}
});
},
toggleSegmentLabel: ({ toggle }) => {
toggleSegmentLabel: () => {
const toolName = cornerstoneTools.SegmentLabelTool.toolName;
const toolGroupIds = toolGroupService.getToolGroupIds();
const isOn = toolGroupIds.some(toolGroupId => {
const toolGroup = cornerstoneTools.ToolGroupManager.getToolGroup(toolGroupId);
const mode = toolGroup.getToolInstance(toolName)?.mode;
return mode === 'Active';
});
toolGroupIds.forEach(toolGroupId => {
const toolGroup = cornerstoneTools.ToolGroupManager.getToolGroup(toolGroupId);
if (toggle) {
toolGroup.setToolActive(cornerstoneTools.SegmentLabelTool.toolName);
if (isOn) {
toolGroup.setToolDisabled(toolName);
} else {
toolGroup.setToolDisabled(cornerstoneTools.SegmentLabelTool.toolName);
toolGroup.setToolActive(toolName);
}
});
},
/**
* Used to sync the apps initial state with the config file settings.
*
* Will mutate the tools object of the given tool group and add the segmentLabelTool to the proper place.
*
* Use it before initializing the toolGroup with the tools.
*/
initializeSegmentLabelTool: ({ tools }) => {
const appConfig = extensionManager.appConfig;
const segmentLabelConfig = appConfig.segmentation?.segmentLabel;
if (segmentLabelConfig?.enabledByDefault) {
const activeTools = tools?.active ?? [];
activeTools.push({
toolName: toolNames.SegmentLabel,
configuration: {
hoverTimeout: segmentLabelConfig?.hoverTimeout ?? 1,
color: segmentLabelConfig?.labelColor,
background: segmentLabelConfig?.background,
},
});
tools.active = activeTools;
return tools;
}
const disabledTools = tools?.disabled ?? [];
disabledTools.push({
toolName: toolNames.SegmentLabel,
configuration: {
hoverTimeout: segmentLabelConfig?.hoverTimeout ?? 1,
color: segmentLabelConfig?.labelColor,
},
});
tools.disabled = disabledTools;
return tools;
},
toggleUseCenterSegmentIndex: ({ toggle }) => {
let labelmapTools = getLabelmapTools({ toolGroupService });
labelmapTools = labelmapTools.filter(tool => !tool.toolName.includes('Eraser'));
@@ -2369,6 +2415,7 @@ function commandsModule({
startRecordingForAnnotationGroup: actions.startRecordingForAnnotationGroup,
endRecordingForAnnotationGroup: actions.endRecordingForAnnotationGroup,
toggleSegmentLabel: actions.toggleSegmentLabel,
initializeSegmentLabelTool: actions.initializeSegmentLabelTool,
};
return {
@@ -38,7 +38,6 @@ export default function getSegmentationPanelCustomization({ commandsManager, ser
const [previewEdits, setPreviewEdits] = useState(false);
const [toggleSegmentEnabled, setToggleSegmentEnabled] = useState(false);
const [useCenterAsSegmentIndex, setUseCenterAsSegmentIndex] = useState(false);
const [shouldShowLabelOnHover, setShouldShowLabelOnHover] = useState(false);
const handlePreviewEditsChange = checked => {
setPreviewEdits(checked);
commandsManager.run('toggleSegmentPreviewEdit', { toggle: checked });
@@ -54,11 +53,6 @@ export default function getSegmentationPanelCustomization({ commandsManager, ser
commandsManager.run('toggleUseCenterSegmentIndex', { toggle: checked });
};
const handleToggleShowLabelOnHover = checked => {
setShouldShowLabelOnHover(checked);
commandsManager.run('toggleSegmentLabel', { toggle: checked });
};
return (
<div className="bg-muted flex flex-col gap-4 border-b border-b-[2px] border-black px-2 py-3">
<div className="flex items-center gap-2">
@@ -84,14 +78,6 @@ export default function getSegmentationPanelCustomization({ commandsManager, ser
/>
<span className="text-base text-white">Hover on segment border to activate</span>
</div>
<div className="flex items-center gap-2">
<Switch
checked={shouldShowLabelOnHover}
onCheckedChange={handleToggleShowLabelOnHover}
/>
<span className="text-base text-white">Show segment label on mouse hover</span>
</div>
</div>
);
},
@@ -12,13 +12,17 @@ import miscCustomization from './customizations/miscCustomization';
import captureViewportModalCustomization from './customizations/captureViewportModalCustomization';
import viewportDownloadWarningCustomization from './customizations/viewportDownloadWarningCustomization';
function getCustomizationModule({ commandsManager, servicesManager }) {
function getCustomizationModule({ commandsManager, servicesManager, extensionManager }) {
return [
{
name: 'default',
value: {
...viewportOverlayCustomization,
...getSegmentationPanelCustomization({ commandsManager, servicesManager }),
...getSegmentationPanelCustomization({
commandsManager,
servicesManager,
extensionManager,
}),
...layoutSelectorCustomization,
...viewportToolsCustomization,
...viewportClickCommandsCustomization,
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-default
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-default
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-default",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Common/default features and functionality for basic image viewing",
"author": "OHIF Core Team",
"license": "MIT",
@@ -34,8 +34,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicomweb-client": "^0.10.4",
"prop-types": "^15.6.2",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-microscopy",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension for DICOM microscopy",
"author": "Bill Wallace, md-prog",
"license": "MIT",
@@ -30,10 +30,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-dicom-pdf
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-dicom-pdf
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-pdf",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension for PDF display",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-dicom-video
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-dicom-video
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-video",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension for video display",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-measurement-tracking
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-measurement-tracking
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-measurement-tracking",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Tracking features and functionality for basic image viewing",
"author": "OHIF Core Team",
"license": "MIT",
@@ -34,10 +34,10 @@
"peerDependencies": {
"@cornerstonejs/core": "^3.30.3",
"@cornerstonejs/tools": "^3.30.3",
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"classnames": "^2.3.2",
"dcmjs": "^0.42.0",
"lodash.debounce": "^4.0.8",
@@ -49,7 +49,7 @@
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.113",
"@xstate/react": "^3.2.2",
"xstate": "^4.10.0"
}
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-test
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-test
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-test",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension used inside e2e testing",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-tmtv
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-tmtv
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-tmtv",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF extension for Total Metabolic Tumor Volume",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"dcmjs": "^0.42.0",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/extension-ultrasound-pleura-bline
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/extension-ultrasound-pleura-bline
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-ultrasound-pleura-bline",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "",
"author": "Rodrigo Basilio",
"license": "MIT",
@@ -44,11 +44,11 @@
"@babel/runtime": "^7.20.13",
"@cornerstonejs/core": "^3.16.0",
"@cornerstonejs/tools": "^3.16.0",
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/ui-next": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"@ohif/ui-next": "3.11.0-beta.113"
},
"devDependencies": {
"@babel/core": "7.28.0",
+1 -1
View File
@@ -1,5 +1,5 @@
{
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"packages": ["extensions/*", "platform/*", "modes/*", "addOns/externals/*"],
"npmClient": "yarn"
}
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-basic-dev-mode",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Basic OHIF Viewer Using Cornerstone",
"author": "OHIF",
"license": "MIT",
@@ -31,12 +31,12 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/extension-dicom-pdf": "3.11.0-beta.112",
"@ohif/extension-dicom-video": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/extension-dicom-pdf": "3.11.0-beta.113",
"@ohif/extension-dicom-video": "3.11.0-beta.113"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/mode-test
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-test
+9 -9
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-test",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Basic mode for testing",
"author": "OHIF",
"license": "MIT",
@@ -34,14 +34,14 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/extension-dicom-pdf": "3.11.0-beta.112",
"@ohif/extension-dicom-video": "3.11.0-beta.112",
"@ohif/extension-measurement-tracking": "3.11.0-beta.112",
"@ohif/extension-test": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/extension-dicom-pdf": "3.11.0-beta.113",
"@ohif/extension-dicom-video": "3.11.0-beta.113",
"@ohif/extension-measurement-tracking": "3.11.0-beta.113",
"@ohif/extension-test": "3.11.0-beta.113"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+11
View File
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
### Features
* improve segment label ([#5217](https://github.com/OHIF/Viewers/issues/5217)) ([271b84f](https://github.com/OHIF/Viewers/commit/271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec))
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-longitudinal
+10 -10
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-longitudinal",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Longitudinal Workflow",
"author": "OHIF",
"license": "MIT",
@@ -34,15 +34,15 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/extension-dicom-pdf": "3.11.0-beta.112",
"@ohif/extension-dicom-video": "3.11.0-beta.112",
"@ohif/extension-measurement-tracking": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/extension-dicom-pdf": "3.11.0-beta.113",
"@ohif/extension-dicom-video": "3.11.0-beta.113",
"@ohif/extension-measurement-tracking": "3.11.0-beta.113"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+1
View File
@@ -161,6 +161,7 @@ function modeFactory({ modeConfiguration }) {
'AdvancedMagnify',
'UltrasoundDirectionalTool',
'WindowLevelRegion',
'SegmentLabelTool',
]);
customizationService.setCustomizations({
+3 -7
View File
@@ -95,16 +95,12 @@ function initDefaultToolGroup(extensionManager, toolGroupService, commandsManage
{
toolName: toolNames.AdvancedMagnify,
},
{
toolName: toolNames.SegmentLabel,
configuration: {
hoverTimeout: 1,
},
},
],
};
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
const updatedTools = commandsManager.run('initializeSegmentLabelTool', { tools });
toolGroupService.createToolGroupAndAddTools(toolGroupId, updatedTools);
}
function initSRToolGroup(extensionManager, toolGroupService) {
+24
View File
@@ -654,6 +654,30 @@ const toolbarButtons: Button[] = [
},
},
},
// Section containers for the nested toolbox
{
id: 'SegmentationUtilities',
uiType: 'ohif.toolBoxButton',
props: {
buttonSection: true,
},
},
{
id: 'SegmentLabelTool',
uiType: 'ohif.toolBoxButton',
props: {
icon: 'tool-segment-label',
label: 'Segment Label Display',
tooltip: 'Click to show or hide segment labels when hovering with your mouse.',
commands: { commandName: 'toggleSegmentLabel' },
evaluate: [
'evaluate.cornerstoneTool.toggle',
{
name: 'evaluate.cornerstone.hasSegmentation',
},
],
},
},
// {
// id: 'Undo',
// uiType: 'ohif.toolButton',
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/mode-microscopy
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-microscopy
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-microscopy",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF mode for DICOM microscopy",
"author": "OHIF",
"license": "MIT",
@@ -35,8 +35,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.113"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/mode-preclinical-4d
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-preclinical-4d
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-preclinical-4d",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "4D Workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,12 +33,12 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dynamic-volume": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/extension-tmtv": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dynamic-volume": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/extension-tmtv": "3.11.0-beta.113"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
+11
View File
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
### Features
* improve segment label ([#5217](https://github.com/OHIF/Viewers/issues/5217)) ([271b84f](https://github.com/OHIF/Viewers/commit/271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec))
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-segmentation
+9 -9
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-segmentation",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "OHIF segmentation mode which enables labelmap segmentation read/edit/export",
"author": "@ohif",
"license": "MIT",
@@ -35,14 +35,14 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/extension-dicom-pdf": "3.11.0-beta.112",
"@ohif/extension-dicom-video": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/extension-dicom-pdf": "3.11.0-beta.113",
"@ohif/extension-dicom-video": "3.11.0-beta.113"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+1
View File
@@ -122,6 +122,7 @@ function modeFactory({ modeConfiguration }) {
'LabelmapSlicePropagation',
'InterpolateLabelmap',
'SegmentBidirectional',
'SegmentLabelTool',
]);
toolbarService.updateSection('SegmentationTools', [
'BrushTools',
+10 -14
View File
@@ -10,9 +10,10 @@ const colorsByOrientation = {
coronal: 'rgb(0, 200, 0)',
};
function createTools(utilityModule) {
function createTools({ utilityModule, commandsManager }) {
const { toolNames, Enums } = utilityModule.exports;
return {
const tools = {
active: [
{ toolName: toolNames.WindowLevel, bindings: [{ mouseButton: Enums.MouseBindings.Primary }] },
{ toolName: toolNames.Pan, bindings: [{ mouseButton: Enums.MouseBindings.Auxiliary }] },
@@ -114,24 +115,19 @@ function createTools(utilityModule) {
{ toolName: toolNames.UltrasoundDirectional },
],
disabled: [
{ toolName: toolNames.ReferenceLines },
{ toolName: toolNames.AdvancedMagnify },
{
toolName: toolNames.SegmentLabel,
configuration: {
hoverTimeout: 1,
},
},
],
disabled: [{ toolName: toolNames.ReferenceLines }, { toolName: toolNames.AdvancedMagnify }],
};
const updatedTools = commandsManager.run('initializeSegmentLabelTool', { tools });
return updatedTools;
}
function initDefaultToolGroup(extensionManager, toolGroupService, commandsManager, toolGroupId) {
const utilityModule = extensionManager.getModuleEntry(
'@ohif/extension-cornerstone.utilityModule.tools'
);
const tools = createTools(utilityModule);
const tools = createTools({ commandsManager, utilityModule });
toolGroupService.createToolGroupAndAddTools(toolGroupId, tools);
}
@@ -141,7 +137,7 @@ function initMPRToolGroup(extensionManager, toolGroupService, commandsManager) {
);
const servicesManager = extensionManager._servicesManager;
const { cornerstoneViewportService } = servicesManager.services;
const tools = createTools(utilityModule);
const tools = createTools({ commandsManager, utilityModule });
tools.disabled.push(
{
toolName: utilityModule.exports.toolNames.Crosshairs,
+16
View File
@@ -739,6 +739,22 @@ const toolbarButtons: Button[] = [
],
},
},
{
id: 'SegmentLabelTool',
uiType: 'ohif.toolBoxButton',
props: {
icon: 'tool-segment-label',
label: 'Segment Label Display',
tooltip: 'Click to show or hide segment labels when hovering with your mouse.',
commands: { commandName: 'toggleSegmentLabel' },
evaluate: [
'evaluate.cornerstoneTool.toggle',
{
name: 'evaluate.cornerstone.hasSegmentation',
},
],
},
},
];
export default toolbarButtons;
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/mode-tmtv
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-tmtv
+8 -8
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-tmtv",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Total Metabolic Tumor Volume Workflow",
"author": "OHIF",
"license": "MIT",
@@ -34,13 +34,13 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/extension-dicom-pdf": "3.11.0-beta.112",
"@ohif/extension-dicom-video": "3.11.0-beta.112",
"@ohif/extension-measurement-tracking": "3.11.0-beta.112"
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/extension-dicom-pdf": "3.11.0-beta.113",
"@ohif/extension-dicom-video": "3.11.0-beta.113",
"@ohif/extension-measurement-tracking": "3.11.0-beta.113"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/mode-ultrasound-pleura-bline
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/mode-ultrasound-pleura-bline
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-ultrasound-pleura-bline",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Allows users to annotate ultrasound images with pleura B-line annotations.",
"author": "OHIF",
"license": "MIT",
@@ -36,9 +36,9 @@
"@babel/runtime": "^7.20.13",
"@cornerstonejs/core": "^3.16.0",
"@cornerstonejs/tools": "^3.16.0",
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-ultrasound-pleura-bline": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-ultrasound-pleura-bline": "3.11.0-beta.113",
"i18next": "^17.0.3"
},
"devDependencies": {
+11
View File
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
### Features
* improve segment label ([#5217](https://github.com/OHIF/Viewers/issues/5217)) ([271b84f](https://github.com/OHIF/Viewers/commit/271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec))
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/app
+20 -20
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/app",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"productVersion": "3.4.0",
"description": "OHIF Viewer",
"author": "OHIF Contributors",
@@ -55,25 +55,25 @@
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/dicom-image-loader": "^3.30.3",
"@emotion/serialize": "^1.1.3",
"@ohif/core": "3.11.0-beta.112",
"@ohif/extension-cornerstone": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.112",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.112",
"@ohif/extension-default": "3.11.0-beta.112",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.112",
"@ohif/extension-dicom-pdf": "3.11.0-beta.112",
"@ohif/extension-dicom-video": "3.11.0-beta.112",
"@ohif/extension-test": "3.11.0-beta.112",
"@ohif/extension-ultrasound-pleura-bline": "3.11.0-beta.112",
"@ohif/i18n": "3.11.0-beta.112",
"@ohif/mode-basic-dev-mode": "3.11.0-beta.112",
"@ohif/mode-longitudinal": "3.11.0-beta.112",
"@ohif/mode-microscopy": "3.11.0-beta.112",
"@ohif/mode-test": "3.11.0-beta.112",
"@ohif/mode-ultrasound-pleura-bline": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/ui-next": "3.11.0-beta.112",
"@ohif/core": "3.11.0-beta.113",
"@ohif/extension-cornerstone": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.113",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.113",
"@ohif/extension-default": "3.11.0-beta.113",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.113",
"@ohif/extension-dicom-pdf": "3.11.0-beta.113",
"@ohif/extension-dicom-video": "3.11.0-beta.113",
"@ohif/extension-test": "3.11.0-beta.113",
"@ohif/extension-ultrasound-pleura-bline": "3.11.0-beta.113",
"@ohif/i18n": "3.11.0-beta.113",
"@ohif/mode-basic-dev-mode": "3.11.0-beta.113",
"@ohif/mode-longitudinal": "3.11.0-beta.113",
"@ohif/mode-microscopy": "3.11.0-beta.113",
"@ohif/mode-test": "3.11.0-beta.113",
"@ohif/mode-ultrasound-pleura-bline": "3.11.0-beta.113",
"@ohif/ui": "3.11.0-beta.113",
"@ohif/ui-next": "3.11.0-beta.113",
"@svgr/webpack": "^8.1.0",
"@types/react": "^18.3.3",
"classnames": "^2.3.2",
+8
View File
@@ -275,6 +275,14 @@ window.config = {
// Could use services manager here to bring up a dialog/modal if needed.
console.warn('test, navigate to https://ohif.org/');
},
// segmentation: {
// segmentLabel: {
// enabledByDefault: true,
// labelColor: [255, 255, 0, 1], // must be an array
// hoverTimeout: 1,
// background: 'rgba(100, 100, 100, 0.5)', // can be any valid css color
// },
// },
// whiteLabeling: {
// createLogoComponentFn: function (React) {
// return React.createElement(
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/cli
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/cli
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/cli",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "A CLI to bootstrap new OHIF extension or mode",
"type": "module",
"main": "src/index.js",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/core
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/core
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/core",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Generic business logic for web-based medical imaging applications",
"author": "OHIF Core Team",
"license": "MIT",
@@ -39,7 +39,7 @@
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/core": "^3.30.3",
"@cornerstonejs/dicom-image-loader": "^3.30.3",
"@ohif/ui": "3.11.0-beta.112",
"@ohif/ui": "3.11.0-beta.113",
"cornerstone-math": "0.1.9",
"dicom-parser": "^1.8.21"
},
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package ohif-docs
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package ohif-docs
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ohif-docs",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/i18n
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/i18n
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/i18n",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Internationalization library for The OHIF Viewer",
"author": "OHIF",
"license": "MIT",
+11
View File
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
### Features
* improve segment label ([#5217](https://github.com/OHIF/Viewers/issues/5217)) ([271b84f](https://github.com/OHIF/Viewers/commit/271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec))
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/ui-next
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/ui-next",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "Next version of OHIF Viewers UI, more customizable using shadcn/ui",
"main": "dist/ohif-ui-next.umd.js",
"module": "src/index.ts",
@@ -145,6 +145,7 @@ import {
ToolContract,
ToolExpand,
ToolClickSegment,
ToolSegmentLabel,
} from './Sources/Tools';
import ActionNewDialog from './Sources/ActionNewDialog';
import NotificationInfo from './Sources/NotificationInfo';
@@ -730,6 +731,7 @@ export const Icons = {
'tool-ultrasound-bidirectional': (props: IconProps) => ToolUltrasoundBidirectional(props),
'tool-window-level': (props: IconProps) => ToolWindowLevel(props),
'tool-window-region': (props: IconProps) => ToolWindowRegion(props),
'tool-segment-label': (props: IconProps) => ToolSegmentLabel(props),
'icon-tool-window-region': (props: IconProps) => ToolWindowRegion(props),
'icon-tool-ultrasound-bidirectional': (props: IconProps) => ToolUltrasoundBidirectional(props),
'icon-tool-cobb-angle': (props: IconProps) => ToolCobbAngle(props),
@@ -2983,6 +2983,32 @@ export const ToolUltrasoundBidirectional = (props: IconProps) => (
</svg>
);
export const ToolSegmentLabel = (props: IconProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
{...props}
>
<path
d="M2.6636 14.3578C2.58841 14.4105 2.53094 14.4847 2.49878 14.5707C2.46661 14.6567 2.46127 14.7504 2.48345 14.8395C2.50564 14.9286 2.5543 15.0088 2.62302 15.0697C2.69175 15.1305 2.77731 15.1691 2.86842 15.1804L7.42867 16.5722L8.82125 21.1316C8.83209 21.2229 8.87047 21.3088 8.93131 21.3779C8.99214 21.4469 9.07254 21.4958 9.16181 21.518C9.25109 21.5402 9.34502 21.5348 9.43111 21.5023C9.5172 21.4699 9.59139 21.412 9.6438 21.3364L20.4127 10.5683C20.7607 10.1801 20.9661 9.68484 20.9951 9.16423L21 3.82256C21 3.6044 20.9133 3.39518 20.7591 3.24092C20.6048 3.08666 20.3956 3 20.1774 3H14.8382C14.3176 3.02823 13.8223 3.2334 13.4341 3.58155L2.6636 14.3578Z"
stroke="currentColor"
stroke-width="1.2"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M16.8882 8.75787C15.9796 8.75787 15.2431 8.02133 15.2431 7.11276C15.2431 6.20419 15.9796 5.46765 16.8882 5.46765C17.7968 5.46765 18.5333 6.20419 18.5333 7.11276C18.5333 8.02133 17.7968 8.75787 16.8882 8.75787Z"
stroke="currentColor"
stroke-width="1.2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
);
export const ToolWindowLevel = (props: IconProps) => (
<svg
width="28px"
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.113](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.112...v3.11.0-beta.113) (2025-07-30)
**Note:** Version bump only for package @ohif/ui
# [3.11.0-beta.112](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.111...v3.11.0-beta.112) (2025-07-28)
**Note:** Version bump only for package @ohif/ui
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/ui",
"version": "3.11.0-beta.112",
"version": "3.11.0-beta.113",
"description": "A set of React components for Medical Imaging Viewers",
"author": "OHIF Contributors",
"license": "MIT",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 KiB

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 140 KiB

+2 -2
View File
@@ -1,4 +1,4 @@
{
"version": "3.11.0-beta.112",
"commit": "341f1c4ce799d1bcef3632e0d135be0cfcb333a9"
"version": "3.11.0-beta.113",
"commit": "271b84f78fcc3974006c7e1a4dbb2ef322fdb9ec"
}
+1 -1
View File
@@ -1 +1 @@
3.11.0-beta.112
3.11.0-beta.113