Sort DCM files with multiple variables in the name

1 次查看(过去 30 天)
Does anybody know an easy way to sort DCM files with two variables in the name, for example:
ADNI_002_S_0295_MR_MPRAGE_br_raw_20110602125226441_80_S110476_I238627.dcm ADNI_002_S_0295_MR_MPRAGE_br_raw_20110602125227472_51_S110476_I238627.dcm
As can be seen the first number is a recording data and a random number, the second is the slice-number. In order to sort these files, based on slice-number i need to extract the slice-number from the name and rename the files afterwards without the randomly generated number. Does anybody know an easy way to do this?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by