@ohif/extension-dicom-segmentation

0.7.21 • Public • Published

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

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @ohif/extension-dicom-segmentation

    Weekly Downloads

    115

    Version

    0.7.21

    License

    MIT

    Unpacked Size

    4.94 MB

    Total Files

    7

    Last publish

    Collaborators

    • sedghi
    • zaidsafadi
    • swederik
    • andrebot
    • brunoalvesdefaria
    • chafey
    • lscoder
    • evren217
    • dannyrb