c14722c109b6fa0ee05163ecbd9f7d97d89421d5
[keystone-demos/matrix-apps.git] / imageproc_demo / imageproc_demo.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head>
3 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title>Multicore Image Processing Demonstration</title>
5 <script type="text/javascript" language="javascript">
6 function CheckExtentionBMP(){
7 var FileExt = document.userinput.imagefile.value;
8 FileExt = FileExt.substring(FileExt.length - 4, FileExt.length);
9 if(FileExt != '.bmp') { alert("Only BMP file type is allowed.");
10 return false;
11 } else {
12 return true;
13 }
14 }
15 </script></head>
16 <body style="font-family: helvetica;" onload="document.userinput.imagefile.focus()">
17 <!--<div align="center">-->
18 <table style="text-align: left; background-color: white" border="0" cellpadding="0" cellspacing="0">
19 <tbody>
20 <tr>
21 <td style="width: 147px; text-align: center;"><img src="apps/images/dspchip.png" alt=""></td>
22 <td><span style="font-size:200%;">Multicore Image Processing Demonstration</span></td>
23 </tr>
24 </tbody>
25 </table>
26 <!--</div>-->
27 <!--<div align="center">-->
28 <form enctype="multipart/form-data" method="post" name="userinput" onsubmit="return CheckExtentionBMP();" action="apps/imageproc_demo/cgi-bin/image_processing_evmtci6638k2k_master.out"><br>
29 <table cellspacing="10">
30 <tbody>
31 <tr>
32 <td>
33 <table style="float: left; text-align: left;" border="0" cellpadding="2" cellspacing="2">
34 <tbody>
35 <tr>
36 <td style="width: 200px;"><span style="font-weight: bold;">Number of Cores</span></td>
37 <td>
38 <select name="numberofcores">
39 <option selected value="1">One</option>
40 <option value="2">Two</option>
41 <option value="3">Three</option>
42 <option value="4">Four</option>
43 <option value="5">Five</option>
44 <option value="6">Six</option>
45 <option value="7">Seven</option>
46 <option value="8">Eight</option>
47 </select>
48 </td>
49 </tr>
50 </tbody>
51 </table>
52 </td>
53 </tr>
54 <tr>
55 <td>
56 <table style="float: left; text-align: left;" border="0" cellpadding="2" cellspacing="2">
57 <tbody>
58 <tr>
59 <td style="width: 200px;"><span style="font-weight: bold;">Image processing function</span></td>
60 <td><input name="processingtype" value="Edge Detection" checked="checked" type="radio">Edge Detection</td>
61 </tr>
62 </tbody>
63 </table>
64 </td>
65 </tr>
66 <tr>
67 <th align="left">Select Image to Process</th>
68 </tr>
69 <tr>
70 <td><input name="imagefile" accept="image/bmp" size="60" type="file"></td>
71 </tr>
72 <tr>
73 <td><input value="Process" type="submit"></td>
74 </tr>
75 <tr>
76 <td><strong>Note:</strong> 8/24 bit <a href="http://en.wikipedia.org/wiki/BMP_file_format" target="_blank">bitmap
77 (BMP)</a> images are supported
78 </td>
79 </tr>
80 </tbody>
81 </table>
82 <br>
83 <br>
84 <small><i>BIOS MCSDK Image Processing Demonstration Version 1.00.00.03</i><small>
85 </form>
86 <!--</div>-->
87 <br>
88 <br>
89 </body></html>