Unzipping multiple folders to access one compressed file within the folder.
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have downloaded ~750 T1 weighted images. All of these files are .zip currently, within these files there are multiple T1 images (at various stages of pre processing) - but, I only want the T1 raw image (to preprocess manually myself). However, once you unzip the file, the participant ID is no longer associated (the zipped file is PIDXXXX1.zip, but once it is unzipped they all just become 'T1').
Is there any way I can unzip the main folder, maintain the name of the zipped folder, select the appropriate file and then decompress it from .nii.gz to just .nii with code in the MATLAB terminal?
I assume the answer is no as all the code I've attempted simply does not work.
Any help would be appreciated :)
0 Kommentare
Antworten (1)
Image Analyst
am 1 Jun. 2023
Did you see the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?
0 Kommentare
Siehe auch
Kategorien
Mehr zu Neuroimaging finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!