BIC-MNI / minc-tools

Basic minc-tools from former minc repository
Other
29 stars 25 forks source link

Add recursive dicom file collection through subfolders #74

Closed jpcoutu closed 6 years ago

jpcoutu commented 6 years ago

I had an issue with Philips dicom file structure where subfolders get created and filled after a certain number of dicoms is in the main dicom folder. In order to run dcm2mnc, I previously had to make sure all dicom files were moved or linked into the same single folder. I gave a quick try to change dcm2mnc to be able to recursively pick up the files from subfolders and ended up with this, which I think is more in line with the way dcm2nii operates. I will let you decide whether this is a desirable behavior (I think it is), or whether this is better left as an option.