Open xfuren opened 2 years ago
Hi xfuren, we haven't dealt with this since we dont like potentially going against the DICOM standard but we can add an optional parameter to set this
Maybe Ihave not-so-standard DICOM files,But ds = dcmread(os.path.join(root, file),force=True)
still: dicom_path exists: True RT Structure file found: /root/autodl-tmp/datasets/CBCT/001925CBCT/RS.001925.dcm Error reading RT Structure /root/autodl-tmp/datasets/CBCT/001925CBCT/RS.001925.dcm: No DICOM Images found in input path.
I also encountered the error:
AttributeError: 'FileDataset' object has no attribute 'ImageOrientationPatient'
from an RTSTRUCT file generated by varian eclipse 16.1. I thought those were pretty standard. No?
Sometime we have not-so-standard DICOM files.... Suggestion...