I am trying to use tlt-dataconvert command to convert medical images to .nii.gz format. It works on .mhd to .nii.gz convertion, but not on .dcm to .nii.gz convertion with the error "File extension does not match expected format: dicom_to_nifty/luna/luna. Skipped!’
The command I used was strictly follow the “The Transfer Learning Toolkit Getting Started Guide” as
tlt-dataconvert -d /workspace/dicom_to_nifty/luna/luna -r 1 -s .dcm -e .nii.gz -o /workspace/dicom_to_nifty/dcm_images
Did anyone meet the same problem? And how did you fix it? Thanks!