ohif-viewer/extensions/dicom-segmentation
ohif-bot 5a78da8ff6 chore(release): publish [skip ci]
- @ohif/extension-dicom-html@1.2.8
 - @ohif/extension-dicom-microscopy@0.51.3
 - @ohif/extension-dicom-pdf@1.0.6
 - @ohif/extension-dicom-rt@0.4.5
 - @ohif/extension-dicom-segmentation@0.4.5
 - @ohif/extension-dicom-tag-browser@0.0.2
 - @ohif/extension-vtk@1.7.6
 - @ohif/core@2.10.5
 - @ohif/ui@1.5.4
 - @ohif/viewer@4.5.9
2020-09-10 10:17:12 +00:00
..
.webpack feat: Segmentations Settings UI - Phase 1 #1391 (#1392) 2020-03-13 15:45:26 -04:00
src [IDC-1129] - DICOM Tag Viewer extension (#2022) 2020-09-10 11:13:24 +01:00
CHANGELOG.md chore(release): publish [skip ci] 2020-09-10 10:17:12 +00:00
LICENSE feat: Segmentations Settings UI - Phase 1 #1391 (#1392) 2020-03-13 15:45:26 -04:00
package.json chore(release): publish [skip ci] 2020-09-10 10:17:12 +00:00
README.md feat: Segmentations Settings UI - Phase 1 #1391 (#1392) 2020-03-13 15:45:26 -04:00

@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:

  ...
  cornerstoneExtensionConfig: {
    hideHandles: true,
  },
  ...

## Resources

### Repositories

- [cornerstonejs/react-cornerstone-viewport][react-viewport]
- [cornerstonejs/cornerstoneTools][cornerstone-tools]
- [cornerstonejs/cornerstone][cornerstone]

<!--
  Links
  -->

<!-- prettier-ignore-start -->
[docs-commands]: https://www.com
[docs-hotkeys]: https://www.com
[docs-userprefs]: htt
[react-viewport]: https://github.com/cornerstonejs/react-cornerstone-viewport
[cornerstone-tools]: https://github.com/cornerstonejs/cornerstoneTools
[cornerstone]: https://github.com/cornerstonejs/cornerstone
<!-- prettier-ignore-end -->