is_dicom#
tiatoolbox.wsicore.wsireader.is_dicom
- is_dicom(path)[source]#
Check if the input is a DICOM file.
- Parameters:
path (pathlib.Path) – Path to the file to check.
- Returns:
True if the file is a DICOM file.
- Return type:
tiatoolbox.wsicore.wsireader.is_dicom
Check if the input is a DICOM file.
path (pathlib.Path) – Path to the file to check.
True if the file is a DICOM file.