voxel.utils.pixel_data.pixel_range

voxel.utils.pixel_data.pixel_range(ds: Dataset) Tuple[float, float][source]

Get the pixel range of a DICOM dataset.

Parameters:

ds (pydicom.Dataset) – DICOM header.

Returns:

Pixel range.

Return type:

Tuple[float, float]