MATLAB: Rename images using ImageIndex

imageindexrename images

Hello everyone! I would like to ask you how can I rename images (DICOM) in a folder using ImageIndex of each one from their info?

Best Answer

Use movefile() in a loop from the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F to rename a group of files in a folder.