Function: createAndCacheDerivedLabelmapImages()
createAndCacheDerivedLabelmapImages(
referencedImageIds
,options
):IImage
[]
Creates and caches derived segmentation images based on the referenced imageIds, this is a helper function, we don't have segmentation concept in the cornerstone core; however, this helper would make it clear that the segmentation images SHOULD be Uint8Array type always until we have a better solution.
Parameters
• referencedImageIds: string
[]
An array of referenced image IDs.
• options: DerivedImageOptions
= ...
The options for creating the derived images (default: { targetBuffer: { type: 'Uint8Array' } }
).
Returns
IImage
[]
The derived images.