-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdisplay_indoor67.m
29 lines (29 loc) · 1.01 KB
/
display_indoor67.m
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
28
29
ds_html{end+1}=sprintf('<table>\n');
ds_html{end+1}=sprintf('');
for(i=1:67)
ds_html{end+1}=sprintf(' <tr><td colspan="10"><h3 style="margin-top:20px;margin-bottom:2px;"><a stlye="dext-decoration:none;" href="../display_');
ds_html{end+1}=num2str([argv.classnames{i}]);
ds_html{end+1}=sprintf('/displayhtml.html">');
ds_html{end+1}=num2str([argv.classnames{i}]);
ds_html{end+1}=sprintf('</a><hr style="margin:0px;"/></td></tr>\n');
ds_html{end+1}=sprintf(' <tr>\n');
ds_html{end+1}=sprintf(' ');
for(j=1:10)
ds_html{end+1}=sprintf('<td><img src="patchimg[]/');
ds_html{end+1}=num2str([20*(i-1)+j]);
ds_html{end+1}=sprintf('.jpg"/></td>');
end
ds_html{end+1}=sprintf(' </tr>\n');
ds_html{end+1}=sprintf(' <tr>\n');
ds_html{end+1}=sprintf(' ');
for(j=11:20)
ds_html{end+1}=sprintf('<td><img src="patchimg[]/');
ds_html{end+1}=num2str([20*(i-1)+j]);
ds_html{end+1}=sprintf('.jpg"/></td>');
end
ds_html{end+1}=sprintf(' </tr>\n');
ds_html{end+1}=sprintf('\n');
ds_html{end+1}=sprintf('');
end
ds_reshtml=cell2mat(ds_html);
ds_html=[];