Reading VTK files - directing the DataLoader to use the ITKReader #1183
Unanswered
andreabnes
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I am experimenting with passing the ITKReader as a parameter to a LoadImaged transform. I will report results. Andrea |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am new to MONAI. I am modifying the UNETR BraTS21 tutorial to work with different data. I am looking to feed some CT volumes saved as VTK files.
I have modified the example which now builds training and validation datasets pointing to my own files. The DataLoader fails with an exception indicating that pydicom is being used to read the files, and pydicom fails as those files are not DICOM. The ITKReader, which is part of MONAI, would be able to handle VTK files. I am unsure about how to tell the DataLoader to use the ITKReader instead of pydicom. The extension of the files is *.VTK, but that does not seem to have an influence.
Does anyone have a tip?
Thank and Best Regards,
Andrea
Beta Was this translation helpful? Give feedback.
All reactions