Sort DCM files with multiple variables in the name

조회 수: 1 (최근 30일)
Hugo
Hugo 2013년 11월 25일
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