Skip to main content

Function: getPixelValueUnits()

getPixelValueUnits(modality, imageId, options): string

Determines the appropriate pixel value units based on the image modality and options.

Parameters

modality: string

The modality of the image (e.g., 'CT', 'PT').

imageId: string

The unique identifier for the image.

options: pixelUnitsOptions

Additional options for determining pixel units.

Returns

string

The appropriate pixel value units as a string.

Defined in

tools/src/utilities/getPixelValueUnits.ts:15