-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (59 loc) · 2.72 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="theme-color" content="#111" />
<meta name="author" content="Allan Coutarel & Guillaume Imhoff">
<meta name="description" content="ESIREM TP Analyse d'image">
<link rel="icon" type="image/png" href="./utils/favicon.png" />
<link href="./css/style.css" rel="stylesheet" />
<title>Image Processing</title>
</head>
<body>
<header>
<button id="openFile" class="basis">Open file</button>
<input type="file" id="getFile" style="display:none" accept="image/png, image/jpeg">
<button id="clear" class="basis">Clear</button>
<button id="reset" class="basis">Reset</button>
<button id="save" class="basis">Save</button>
<button id="addition">Addition</button>
<input type="file" id="getFileAddition" style="display:none" accept="image/png, image/jpeg">
<button id="substraction">Substraction</button>
<input type="file" id="getFileSubstraction" style="display:none" accept="image/png, image/jpeg">
<button id="invert">Invert</button>
<button id="treshold">Threshold</button>
<button id="grayscale">Grayscale</button>
<button id="binarise">Binarise</button>
<button id="erosion">Erosion</button>
<button id="dilatation">Dilatation</button>
<button id="open">Open</button>
<button id="close">Close</button>
<button id="thinning">Thinning</button>
<button class="thinning-btninfo help">ⓘ</button>
<button id="thickening">Thickening</button>
<button class="thickening-btninfo help">ⓘ</button>
<button id="skeleton-homotopic-thinning">Skeleton : homotopic thinning</button>
<button id="skeleton-lantuejoul">Skeleton : Lantuejoul</button>
</header>
<navButtons>
<button id="zoom-in">Zoom in</button>
<button id="zoom-out">Zoom out</button>
<button id="center">Center</button>
</navButtons>
<div id="histo-container">
<button id="show-histo">Show histogram</button>
<button id="close-histo">X</button>
<p id="histo-alert">Impossible to show the histogram<br>Please open an image first</p>
<canvas id="histogram"></canvas>
</div>
<div id="viewer">
<canvas id="imageViewer"></canvas>
</div>
<img class="SE-details" src="./utils/thinning_SE.png"/>
<img class="SE-details" src="./utils/thickening_SE.png"/>
<script type="module" src="./js/index.js"></script>
<script src="https://code.jquery.com/jquery-3.5.0.js"></script>
<script src="./js/package/dist/chart.umd.js"></script>
</body>
</html>