-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (30 loc) · 1.15 KB
/
index.html
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
30
<!DOCTYPE HTML>
<HTML>
<HEAD>
<script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</HEAD>
<BODY onload="init()">
<div>
<input type="file" id="uploadImg" onchange="uploadFile()" /><br/>
<input type="button" onclick="gradientMap()" value="gradient" />
<input type="button" onclick="threshold()" value="threshold" />
<input type="button" onclick="mediumFilter()" value="medium" />
<input type="button" onclick="segmentation()" value="calculate" />
<br>
<input type="file" id="uploadCompareImg" onchange="uploadCompareFile()" value="loadCompareImg" />
<input type="button" onclick="comparation()" value="compare" />
<div id="MAD">
</div>
<div id="DSC">
</div>
<div>
<canvas id="originCanvas" height="600" width="600"></canvas>
<canvas id="resultCanvas" height="600" width="600"></canvas>
</div>
<div>
<canvas id="compareCanvas" height="600" width="600"></canvas>
</div>
</div>
</BODY>
</HTML>