Detect the NumPy dtype of the data in a header. NB: byteorder can be incorrect, so use with caution (see pydicom pixel_dtype docs).
ds (pydicom.Dataset) – DICOM header.
NumPy dtype of the data.
np.dtype