|
a |
|
b/Image features calculation code/Working/Utility and Misc/moveDicomImages.m |
|
|
1 |
%Moves files from one folder to another |
|
|
2 |
num = xlsread('LIDC all radiologists cases for largest slice cleaned modified (Image Names only).xlsx'); |
|
|
3 |
|
|
|
4 |
num = num'; |
|
|
5 |
|
|
|
6 |
%replace sometime |
|
|
7 |
imageNames = strread(num2str(num),'%s'); |
|
|
8 |
|
|
|
9 |
imageNames = imageNames'; |
|
|
10 |
|
|
|
11 |
folderLocation = '\\ailab03\LIDC\LIDC_FULL\LIDC-IDRI\exctract\nodules\'; |
|
|
12 |
|
|
|
13 |
fileExt = '.dcm'; |
|
|
14 |
|
|
|
15 |
for i=1:size(imageNames,2) |
|
|
16 |
t = strcat(folderLocation,imageNames{i},fileExt); |
|
|
17 |
copyfile(t,'\\ailab03\WeakSegmentation\6k largest slice nodules'); |
|
|
18 |
end |