-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (48 loc) · 2.1 KB
/
index.html
File metadata and controls
61 lines (48 loc) · 2.1 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/x-icon" href="image/web/favicon-32x32.png">
<title>Image</title>
</head>
<body>
<canvas width="400" height="300" id="canvas"></canvas>
<menu>
<h1>Options</h1>
<div>
<h2>Chargement et binarisation de l'image</h2>
<input autocomplete="off" type="file" id="input"/>
<button id="reset">Réinitialiser</button>
<button id="grayscale">Niveaux de gris</button>
<p>Valeur du seuil : <span id="valueThreshold">128</span></p>
<input type="range" autocomplete="off" min="0" max="255" value="128" class="slider" id="rangeThresholding">
<button id="thresholding">Seuillage</button>
</div>
<div>
<h2>Opération morphologique</h2>
<p>Rayon du disque unité : <span id="valueRadius">3</span></p>
<input type="range" autocomplete="off" min="0" max="10" value="3" class="slider" id="rangeRadius">
<button id="dilatation">Dilatation</button>
<button id="erosion">Érosion</button>
<button id="closing">Fermeture</button>
<button id="opening">Ouverture</button>
</div>
<div>
<button id="thinning">Amincissement</button>
<button id="thickening">Épaississement</button>
</div>
<div>
<h2>Squelettisation</h2>
<button id="homotopicSkeletonization">Squelettisation homotopique</button>
<button id="lantuejoulSkeletonization">Squelettisation de Lantuejoul</button>
</div>
<footer>
<p>© 2022 - <a href="https://github.com/tom-rh" target="_blank">Tom Roth</a> & <a href="https://github.com/LeBourguignon/" target="_blank">Baptiste Andres</a> - ESIREM</p>
</footer>
</menu>
<script type="module" src="js/index.js"></script>
</body>
</html>