Socket
Book a DemoInstallSign in
Socket

@cornerstonejs/polymorphic-segmentation

Package Overview
Dependencies
Maintainers
6
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cornerstonejs/polymorphic-segmentation

Polymorphic Segmentation utility for Cornerstone3D

latest
Source
npmnpm
Version
4.10.0
Version published
Weekly downloads
3.1K
-2.84%
Maintainers
6
Weekly downloads
 
Created
Source

Cornerstone Segmentation Polymorphic Segmentation

A powerful and flexible segmentation addon for Cornerstone3D that provides polymorphic segmentation capabilities.

Overview

The Polymorphic Segmentation package extends Cornerstone3D's segmentation capabilities with advanced features for creating, manipulating, and visualizing segmentations across different modalities and use cases.

Installation

npm install @cornerstonejs/polymorphic-segmentation

Initialization

To use the Polymorphic Segmentation package with Cornerstone Tools, you need to initialize it as an addon during the Cornerstone Tools initialization process.

Basic Initialization

import { init } from '@cornerstonejs/tools';
import * as polySeg from '@cornerstonejs/polymorphic-segmentation';

// Initialize Cornerstone Tools with the Polymorphic Segmentation addon
await init({
  addons: {
    polySeg,
  },
});

:::note If you don't initialize polySeg as an addon, you will not be able to use the polymorphic segmentation features. But the rest of the Cornerstone3D components will work as expected. :::

License

MIT

FAQs

Package last updated on 12 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts