Skip to main content

Function: getStackSegmentationImageIdsForViewport()

getStackSegmentationImageIdsForViewport(viewportId, segmentationId): string[]

Retrieves the labelmap image IDs for a specific viewport and segmentation representation.

Parameters​

• viewportId: string

The ID of the viewport.

• segmentationId: string

The ID of the segmentation.

Returns​

string[]

An array of labelmap image IDs.

Defined in​

tools/src/stateManagement/segmentation/getStackSegmentationImageIdsForViewport.ts:10