summaryrefslogtreecommitdiffstats
path: root/SD-VBS/common/toolbox/toolbox_basic/io/convert422.m
blob: 919e82e32fae1f58ead432ff904e191cadf29616 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
image_current = '/hid/jshi';

image_dir = 'vr05_5 ';
pg_path = '/hid/jshi/422toppm/422toppm';

cm = sprintf('cd %s',image_dir);
disp(cm);
eval(cm);

d = dir('seq*');
filename = char(sort({d.name}));

for j=1:size(filename),
 cm = sprintf('!%s %s',pg_path,deblank(filename(j,:)));
disp(cm); 
eval(cm);
end


%%% change back
cm = sprintf('cd %s',image_current);
disp(cm);eval(cm);


if 0,
  deblank(filename(f,:));
end