@ohif/extension-dicom-segmentation

OHIF extension for viewing segmentations in the 2D MPR view

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ohif/extension-dicom-segmentation
2,3017010.7.2114 days ago3 years agoMinified + gzip package size for @ohif/extension-dicom-segmentation in KB

Readme

@ohif/dicom-segmentation
npm (scoped)
This extension adds support to view and navigate the segments available in the DICOM SEG, allowing control over visibility of a given segment and providing metadata about the segment(s).

Index

Extension Id: com.ohif.dicom-segmentation

Tool Configuration

Tools can be configured through extension configuration using the tools key:
...
cornerstoneExtensionConfig: {
  tools: {
    ArrowAnnotate: {
      configuration: {
        getTextCallback: (callback, eventDetails) => callback(prompt('Enter your custom annotation')),
      },
    },
  },
},
...

Annotate Tools Configuration

We currently support one property for annotation tools.

Hide handles

This extension configuration allows you to toggle on/off handle rendering for all annotate tools:
```js ... cornerstoneExtensionConfig: {
hideHandles: true,
}, ...

Resources

Repositories