Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4397730
feat: Update to use pnpm (#6031) [simulated squash-merge]
wayfarer3130 Jun 12, 2026
1324bc5
feat: load DICOM SEG images via imageLoader
wayfarer3130 Jun 12, 2026
575d379
Merge remote-tracking branch 'origin/master' into feat/load-seg-images
wayfarer3130 Jun 12, 2026
0a23e89
Merge remote-tracking branch 'origin/master' into feat/load-seg-images
wayfarer3130 Jun 14, 2026
78cddb0
feat: load DICOM SEG images via imageLoader
wayfarer3130 Jun 12, 2026
4537888
Merge branch 'feat/load-seg-images' of https://github.com/OHIF/Viewer…
wayfarer3130 Jun 18, 2026
4155410
Merge remote-tracking branch 'origin/master' into feat/load-seg-images
wayfarer3130 Jun 18, 2026
f4053b0
PR review fixes
wayfarer3130 Jun 18, 2026
2f126aa
Test fragment of compressed multiframes
wayfarer3130 Jun 18, 2026
6382848
fix: Removed dependencies incorrectly
wayfarer3130 Jun 19, 2026
c306900
Merge remote-tracking branch 'origin/master' into feat/load-seg-images
wayfarer3130 Jun 19, 2026
aca5d06
Update frame as a targetted change to avoid stripping remaining params
wayfarer3130 Jun 19, 2026
dd8c8cd
Merge remote-tracking branch 'origin/master' into feat/load-seg-images
wayfarer3130 Jun 19, 2026
4c10b9c
lock
wayfarer3130 Jun 19, 2026
a82ff94
Update test to agree with the missing representation branch
wayfarer3130 Jun 19, 2026
8ff0dd8
Merge remote-tracking branch 'origin/master' into feat/load-seg-images
wayfarer3130 Jun 19, 2026
72e5972
Merge branch 'master' into feat/load-seg-images
wayfarer3130 Jun 19, 2026
3b2d4f9
test(contour): contour color change coverage (#6042)
diattamo Jun 20, 2026
b5f714e
test(contour): contour interactions delete segment (#6069)
diattamo Jun 20, 2026
483fd2f
chore(version): Update package versions to 3.13.0-beta.98 [skip ci]
ohif-bot Jun 20, 2026
c70f889
feat(testing): OHIF Test Agent Skills (#5993)
diattamo Jun 20, 2026
7b7a230
chore(version): Update package versions to 3.13.0-beta.99 [skip ci]
ohif-bot Jun 20, 2026
23c7dd6
test(contour): Add the ContourSegmentToggleLock.spec.ts test file to …
diattamo Jun 23, 2026
d79a95a
chore(version): Update package versions to 3.13.0-beta.100 [skip ci]
ohif-bot Jun 23, 2026
ff1e08c
chore(testing): Flock lock for playwright tests; Pin node version for…
jbocce Jun 23, 2026
70ba070
chore(version): Update package versions to 3.13.0-beta.101 [skip ci]
ohif-bot Jun 23, 2026
7994094
Merge remote-tracking branch 'origin/master' into feat/load-seg-images
wayfarer3130 Jun 24, 2026
f81c8b4
Debug fixes
wayfarer3130 Jun 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion extensions/cornerstone-dicom-seg/src/commandsModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { adaptersRT, adaptersSEG } from '@cornerstonejs/adapters';
import { createReportDialogPrompt, useUIStateStore } from '@ohif/extension-default';

import PROMPT_RESPONSES from '../../default/src/utils/_shared/PROMPT_RESPONSES';
import { getSegmentationSaveOptions } from './utils/segmentationConfig';

const getTargetViewport = ({ viewportId, viewportGridService }) => {
const { viewports, activeViewportId } = viewportGridService.getState();
Expand Down Expand Up @@ -34,7 +35,7 @@ const commandsModule = ({
extensionManager,
commandsManager,
}: Types.Extensions.ExtensionParams): Types.Extensions.CommandsModule => {
const { segmentationService, displaySetService, viewportGridService } =
const { segmentationService, displaySetService, viewportGridService, customizationService } =
servicesManager.services as AppTypes.Services;

const actions = {
Expand Down Expand Up @@ -173,6 +174,7 @@ const commandsModule = ({

const generatedSegmentation = generateSegmentation(referencedImages, labelmap3D, metaData, {
predecessorImageId,
...getSegmentationSaveOptions(customizationService),
...options,
});

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import type { SegmentationMode } from '../utils/segmentationConfig';

export type SegmentLabelCustomization = {
enabledByDefault?: boolean;
labelColor?: number[];
hoverTimeout?: number;
background?: string;
};

export type SegmentationStoreCustomization = {
defaultMode?: SegmentationMode;
transferSyntaxUID?: string;
};

const segmentationCustomization = {
'segmentation.store.defaultMode': 'labelmap' as SegmentationMode,
// transferSyntaxUID is configured in app config (customizationService), not here.
'segmentation.segmentLabel': {
enabledByDefault: false,
hoverTimeout: 1,
} satisfies SegmentLabelCustomization,
};

export default segmentationCustomization;
10 changes: 10 additions & 0 deletions extensions/cornerstone-dicom-seg/src/getCustomizationModule.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import segmentationCustomization from './customizations/segmentationCustomization';

export default function getCustomizationModule() {
return [
{
name: 'default',
value: segmentationCustomization,
},
];
}
Loading
Loading