Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import { internalComputeVolumeLabelmapFromStack } from '../SegmentationStateManager'; /** * Computes a volume segmentation from a stack of image IDs. * * @async * @param params - The parameters for computing the volume segmentation. * @param params.imageIds - An array of image IDs representing the stack. * @param [params.options={}] - Optional parameters for the computation. * @param [params.options.volumeId] - The ID to use for the created volume. If not provided, a new UUID will be generated. * @returns A promise that resolves to an object containing the volumeId of the created volume. */ export async function computeVolumeLabelmapFromStack(args) { return internalComputeVolumeLabelmapFromStack(args); } |