Skip to main content

Function: isValidVolume()

isValidVolume(imageIds): boolean

Checks if the given imageIds form a valid volume. A volume is considered valid if all imageIds have the same series instance UID, modality, columns, rows, image orientation patient, and pixel spacing.

Parameters

imageIds: string[]

The imageIds to check.

Returns

boolean

true if the imageIds form a valid volume, false otherwise.

Defined in

packages/core/src/utilities/isValidVolume.ts:12