Added a new function to be part of the get_dicom_files function, which checks the folder items and only keeps the ones that have a parseable DICOM with a pixel_array. This is to avoid hazen breaking when subfolders or other files are present in the input folder.
These changes will pave the way for handling enhanced DICOM inputs in a future update.
Added a new function to be part of the
get_dicom_files
function, which checks the folder items and only keeps the ones that have a parseable DICOM with a pixel_array. This is to avoid hazen breaking when subfolders or other files are present in the input folder.These changes will pave the way for handling enhanced DICOM inputs in a future update.