-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject-amd.html
More file actions
516 lines (459 loc) · 25.1 KB
/
project-amd.html
File metadata and controls
516 lines (459 loc) · 25.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<!DOCTYPE html>
<!-- This site was created in Webflow. http://www.webflow.com -->
<!-- Last Published: Fri Mar 09 2018 17:05:10 GMT+0000 (UTC) -->
<html data-wf-page="59a4444cf0b9de0001da1f74" data-wf-site="59a4444cf0b9de0001da1f73" lang="nl">
<head>
<meta charset="utf-8">
<title>Coen de Vente • Estimating Uncertainty of Deep Neural Networks for Age-related Macular Degeneration Grading using Optical Coherence Tomography</title>
<meta property="og:title" content="Coen de Vente • Estimating Uncertainty of Deep Neural Networks for Age-related Macular Degeneration Grading using Optical Coherence Tomography" />
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="Webflow" name="generator">
<link href="css/normalize.css?1747294411" rel="stylesheet" type="text/css">
<link href="css/webflow.css?1747294411" rel="stylesheet" type="text/css">
<link href="css/websify.webflow.css?1747294411" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js" type="text/javascript"></script>
<script type="text/javascript">
WebFont.load({
google: {
families: ["Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic", "Raleway:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic"]
}
});
</script>
<!-- [if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" type="text/javascript"></script><![endif] -->
<script type="text/javascript">
! function(o, c) {
var n = c.documentElement,
t = " w-mod-";
n.className += t + "js", ("ontouchstart" in o || o.DocumentTouch && c instanceof DocumentTouch) && (n.className += t + "touch")
}(window, document);
</script>
<link href="images/favicon.png" rel="shortcut icon" type="image/x-icon">
<link href="images/favicon.png" rel="apple-touch-icon">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K0837QE6PJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-K0837QE6PJ');
</script>
<script src="https://cdn.jsdelivr.net/npm/lazyload@2.0.0-beta.1/lazyload.js"></script>
<meta name="description" content="Hi! I'm Coen, researcher who is enthusiastic about machine learning, computer vision and health.">
<meta property="og:description" content="Hi! I'm Coen, researcher who is enthusiastic about machine learning, computer vision and health.">
</head>
<body class="body">
<div data-collapse="medium" data-animation="default" data-duration="400" data-ix="changecolorscroll" class="navbar colored w-nav">
<div class="container w-container"><a href="index.html" class="brand w-nav-brand">
<div>
<a href="index.html" class="navlink w-nav-link no-text-transform text-logo">Coen de Vente</a>
</div>
<nav role="navigation" class="nav-menu colored w-nav-menu">
<a href="index.html" class="navlink w-nav-link">Home</a>
<a href="projects.html" class="navlink w-nav-link">Posts</a>
<a href="publications.html" class="navlink w-nav-link">Publications</a>
<!-- <a href="cv.html" class="navlink over w-nav-link">CV</a> -->
<a href="about.html" class="navlink over w-nav-link">About</a>
<a href="contact.html" class="navlink w-nav-link">Contact</a>
</nav>
<div class="menu-button w-nav-button">
<div class="colored hamburgericon w-icon-nav-menu"></div>
</div>
</div>
</div><div class="section-9">
<div style="background-image: linear-gradient(0deg, rgba(241, 196, 15, 0.8), rgba(241, 196, 15, 0.2)), url('images/eye_thumb.png'); background-size: cover; padding-bottom: 0px; background-position: center left;" class="div-block-27 project-title-wrapper">
<div style="height: 100%; display: flex; flex-direction: column; justify-content: flex-end;" class="row-5 w-row whitetext" >
<h1 style="font-size: 40px; " class="heading-5 zwartehead naastmockup">
<div data-ix="flowinslow" class="column-9 w-col w-col-2 whitetext"></div>
<div data-ix="flowinslow" class="column-9 w-col w-col-8 whitetext project-title">
Estimating Uncertainty of Deep Neural Networks for Age-related Macular Degeneration Grading using Optical Coherence Tomography
<div class="below-title-wrapper">
<div class="publication-date">
<p><img class="clock-icon" src="images/clock.png"> 20 June 2020</p>
</div>
<div class="download-pdf-button">
<a href="files/ARVO2020_video.pptx" target="_blank">
<p>
<img class="download-icon" src="images/download.png">
Presentation at ARVO (PPTX)
</p>
</a>
</div>
</div>
</div>
<div data-ix="flowinslow" class="column-10 w-clearfix w-col w-col-2"></div>
</h1>
</div>
</div>
</div>
<div class="section-8">
<div class="div-block-29">
<div class="div-block-28 bgtarget blurbg"></div>
</div>
<div class="div-block-27 sameheight0source">
<div class="row-5 w-row">
<div data-ix="flowinslow" class="column-10 w-clearfix w-col w-col-2"></div>
<div data-ix="flowinslow" class="column-9 w-col w-col-8">
<h3>Abstract</h3>
<h4>Purpose</h4>
<p>Deep convolutional neural networks (CNNs) are increasingly being used for eye disease screening and diagnosis. Especially the best performing variants, however, are generally overconfident in their predictions. For usefulness in clinical practice and increasing clinicians’ trust on the estimated diagnosis, well-calibrated uncertainty estimates are necessary. We present a method for providing confidence scores of CNNs for age-related macular degeneration (AMD) grading in optical coherence tomography (OCT).</p>
<h4>Methods</h4>
<p>1,264 OCT volumes from 633 patients from the European Genetic Database (EUGENDA) were graded as one of five stages of AMD (No AMD, Early AMD, Intermediate AMD, Advanced AMD: GA, and Advanced AMD: CNV). Ten different 3D DenseNet-121 models that take a full OCT volume as input were used to predict the corresponding AMD stage. These networks were all trained on the same dataset. However, each of these networks were initialized differently. The class with the maximum average softmax output of these models was used as the final prediction. The confidence measure was the normalized average softmax output for that class.</p>
<h4>Results</h4>
<p>The algorithm achieved an area under the Receiver Operating Characteristic of 0.9785 and a quadratic-weighted kappa score of 0.8935. The mean uncertainty, calculated as 1 - the mean confidence score, for incorrect predictions was 1.9 times as high as the mean uncertainty for correct predictions. When only using the probability output of a single network, this ratio was 1.4. Another measure for uncertainty estimation performance is the Expected Calibration Error (ECE), where a lower value is better. When comparing the method to the probability output of a single network, the ECE improved from 0.0971 to 0.0324. Figure 1 shows examples of both confident and unconfident predictions.</p>
<h4>Conclusions</h4>
<p>We present a method for improving uncertainty estimation for AMD grading in OCT, by combining the output of multiple individually trained CNNs. This increased reliability of system confidences can contribute to building trust in CNNs for retinal disease screening. Furthermore, this technique is a first step towards selective prediction in retinal disease screening, where only cases with high uncertainty predictions need to be referred for expert evaluation.</p>
<p><img src="images/amd1.png" style="width: 100%;" /></p>
<h3>ARVO Presentation</h3>
<div class="video-container">
<iframe width="100%" src="https://www.youtube.com/embed/Bokh6sU63rg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<h3>Publication</h3>
<p>Please use this when referring to the post or publication:</p>
<div class="publication-card">
<p><span class='highlight-me'>C. de Vente</span>, M. van Grinsven, S. De Zanet, A. Mosinska, R. Sznitman, C. Klaver and C.I. Sánchez. "Estimating Uncertainty of Deep Neural Networks for Age-related Macular Degeneration Grading using Optical Coherence Tomography", in: <i>Association for Research in Vision and Ophthalmology</i>, 2020.</p><div class="publication-button-group"><a data-ix="goupbox" id="publication-modal-vent20-button" class="knop footerknop movewithmouse w-button publication-button">Cite</a> <a data-ix="goupbox" target="_blank" class="knop footerknop movewithmouse w-button publication-button" href="https://iovs.arvojournals.org/article.aspx?articleid=2769262">URL</a></div>
</div>
</div>
<div data-ix="flowinslow" class="column-10 w-clearfix w-col w-col-2"></div>
</div>
</div>
</div>
<div class="section-4" style="background-color: #9497B2;">
<div class="row-2 w-row">
<h3 class="heading-5 zwartehead" style="color: white;">Other posts</h3>
</div>
<div class="row-2 w-row">
<div class="column-5 w-col w-col-9 w-col-stack">
<div class="w-dyn-list">
<div class="collection-list colophome w-dyn-items w-row other-projects-list">
<div data-ix="flowinslow" class="collection-item lazyload w-dyn-item w-col w-col-4">
<div data-ix="goupbox" class="templatethumb movewithmouse opvoorkant"
style="background-image: linear-gradient(0deg, rgba(77, 131, 143, 0.8), rgba(77, 131, 143, 0.2)), url('images/visualizing_ai_thumb.png'); background-size: cover; background-position: top;">
<a class="templatethumblink w-inline-block" href="project-uva-interview.html">
<div class="templatefrontwrap">
<div class="templatefront">
<img src="images/magnifying-glass-icon.png" height="20">
</div>
</div>
<img class="thumbimgbg">
</a>
</div>
<h3 class="heading-9"><a href="project-uva-interview.html">An interview on robust AI for medical imaging with the University of Amsterdam</a></h3>
<h4 class="heading-17">16 June 2023</h4>
</div>
<div data-ix="flowinslow" class="collection-item lazyload w-dyn-item w-col w-col-4">
<div data-ix="goupbox" class="templatethumb movewithmouse opvoorkant"
style="background-image: linear-gradient(0deg, rgba(53, 182, 56, 0.4), rgba(53, 83, 182, 0.3)), url('images/oct-superres/oct_jungle_small_thumb.png'); background-size: cover; background-position: left;">
<a class="templatethumblink w-inline-block" href="project-oct-superres.html">
<div class="templatefrontwrap">
<div class="templatefront">
<img src="images/magnifying-glass-icon.png" height="20">
</div>
</div>
<img class="thumbimgbg">
</a>
</div>
<h3 class="heading-9"><a href="project-oct-superres.html">3D Diffusion Models for Standardized High-Quality OCTs</a></h3>
<h4 class="heading-17">26 March 2023</h4>
</div>
<div data-ix="flowinslow" class="collection-item lazyload w-dyn-item w-col w-col-4">
<div data-ix="goupbox" class="templatethumb movewithmouse opvoorkant"
style="background-image: linear-gradient(0deg, rgba(211, 93, 39, 0.4), rgba(237, 169, 142, 0.1)), url('images/airogs/airogs_logo_thumb.png'); background-size: cover; background-position: left;">
<a class="templatethumblink w-inline-block" href="project-airogs.html">
<div class="templatefrontwrap">
<div class="templatefront">
<img src="images/magnifying-glass-icon.png" height="20">
</div>
</div>
<img class="thumbimgbg">
</a>
</div>
<h3 class="heading-9"><a href="project-airogs.html">AIROGS Challenge Report: AI models can be used for glaucoma screening, but do they know when they cannot?</a></h3>
<h4 class="heading-17">10 May 2022</h4>
</div>
</div>
</div>
</div>
<div class="column-6 w-col w-col-3 w-col-stack">
<a href="projects.html" data-ix="flowinslow" class="link-block voorhome w-inline-block">
<div data-ix="showarrowgoupbox" class="morerect meerophome movewithmouse meernietophome">
<h1 class="infronthead moreinfront bekijkmeer">More projects</h1><img src="images/arrow-point-to-right.png" class="arrowright"></div>
</a>
</div>
</div>
</div>
<div id="publication-modal-vent20" class="modal">
<div class="modal-content">
<span class="close" id="close-publication-modal-vent20">×</span>
<p>C. de Vente, M. van Grinsven, S. De Zanet, A. Mosinska, R. Sznitman, C. Klaver and C.I. Sánchez. "Estimating Uncertainty of Deep Neural Networks for Age-related Macular Degeneration Grading using Optical Coherence Tomography", in: <i>Association for Research in Vision and Ophthalmology</i>, 2020.</p>
<pre id="publication-modal-vent20-pre">@conference{Vent20,
author = {de Vente, Coen and van Grinsven, Mark and De Zanet, Sandro and Mosinska, Agata and Sznitman, Raphael and Klaver, Caroline and S\'{a}nchez, Clara I.},
booktitle ={Association for Research in Vision and Ophthalmology},
title = {Estimating Uncertainty of Deep Neural Networks for Age-related Macular Degeneration Grading using Optical Coherence Tomography},
url={https://iovs.arvojournals.org/article.aspx?articleid=2769262},
Methods: 1,264 OCT volumes from 633 patients from the European Genetic Database (EUGENDA) were graded as one of five stages of AMD (No AMD, Early AMD, Intermediate AMD, Advanced AMD: GA, and Advanced AMD: CNV). Ten different 3D DenseNet-121 models that take a full OCT volume as input were used to predict the corresponding AMD stage. These networks were all trained on the same dataset. However, each of these networks were initialized differently. The class with the maximum average softmax output of these models was used as the final prediction. The confidence measure was the normalized average softmax output for that class.
Results: The algorithm achieved an area under the Receiver Operating Characteristic of 0.9785 and a quadratic-weighted kappa score of 0.8935. The mean uncertainty, calculated as 1 - the mean confidence score, for incorrect predictions was 1.9 times as high as the mean uncertainty for correct predictions. When only using the probability output of a single network, this ratio was 1.4. Another measure for uncertainty estimation performance is the Expected Calibration Error (ECE), where a lower value is better. When comparing the method to the probability output of a single network, the ECE improved from 0.0971 to 0.0324. Figure 1 shows examples of both confident and unconfident predictions.
Conclusions: We present a method for improving uncertainty estimation for AMD grading in OCT, by combining the output of multiple individually trained CNNs. This increased reliability of system confidences can contribute to building trust in CNNs for retinal disease screening. Furthermore, this technique is a first step towards selective prediction in retinal disease screening, where only cases with high uncertainty predictions need to be referred for expert evaluation.},
year = {2020},
month = {6},
scholar_id = {13938730969248371423}
}</pre>
<div class="publication-button-group">
<a data-ix="goupbox" onclick="copy_text('publication-modal-vent20')"
class="knop footerknop movewithmouse w-button publication-button publication-button-black">
<img src="images/copy.png" class="copy-icon"> Copy
</a>
</div>
</div>
</div>
<div class="div-block-17">
<div data-ix="flowinslow" class="div-block-34">
<h1 class="heading-7">Want to get in contact?</h1><a data-ix="goupbox" href="contact.html" class="knop footerknop movewithmouse w-button">Drop me a line</a></div>
</div>
<div class="section-5">
<div class="row-3 w-row">
<div class="column colrightarr w-col w-col-4">
<div class="div-block-9">
<div class="text-block-8">sitemap</div>
</div>
<div class="div-block-9"><a href="index.html" class="link">home</a></div>
<div class="div-block-9"><a href="projects.html" class="link">posts</a></div>
<div class="div-block-9"><a href="publications.html" class="link">publications</a></div>
<div class="div-block-9"><a href="about.html" class="link">about</a></div>
<div class="div-block-9"><a href="contact.html" class="link">contact</a></div>
</div>
<div class="colrightarr w-col w-col-4">
<div class="div-block-9">
<div class="text-block-8">contact</div>
</div>
<div class="div-block-9"><a href="mailto:hello@coendevente.com" class="link">hello@coendevente.com</a></div>
<div class="div-block-9"><a href="contact.html" class="link">contact form</a></div>
<div class="div-block-9"><a href="https://calendar.google.com/calendar/appointments/AcZssZ1dSioNVM88OG4Ta6X_cBKh6_3TFOWJ9hHaHHc=" class="link">schedule a meeting with me</a></div>
</div>
<div class="colrightarr w-col w-col-4 norightbar">
<div class="div-block-9">
<div class="text-block-8">links</div>
</div>
<!-- <div class="div-block-9 langetekst"> -->
<div class="div-block-9">
<a target="_blank" href="https://scholar.google.com/citations?user=AqL8A60AAAAJ" class="link">
<img class="link-icon" src="images/links/scholar.svg" /> Google Scholar
</a>
</div>
<div class="div-block-9">
<a target="_blank" href="https://www.linkedin.com/in/coendevente/" class="link">
<img class="link-icon" src="images/links/linkedin.png" /> LinkedIn
</a>
</div>
<div class="div-block-9">
<a target="_blank" href="https://qurai.amsterdam/researcher/coen_de_vente/" class="link">
<img class="link-icon" src="images/links/qurai.png" /> QurAI
</a>
</div>
<div class="div-block-9">
<a target="_blank" href="https://www.diagnijmegen.nl/people/coen-de-vente/" class="link">
<img class="link-icon" src="images/links/radboudumc.png" /> DIAG Nijmegen
</a>
</div>
<div class="div-block-9">
<a target="_blank" href="https://github.com/coendevente" class="link">
<img class="link-icon" src="images/links/github.svg" /> GitHub
</a>
</div>
<!-- <div class="div-block-9">
<a target="_blank" href="https://github.com/coendevente/build-coendevente.com" class="link">
<img class="link-icon" src="images/links/github.svg" /> coendevente.com
</a>
</div> -->
<!-- </div> -->
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" type="text/javascript" intergrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="js/webflow.js" type="text/javascript"></script>
<!-- [if lte IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script><![endif] -->
<style>
.w-webflow-badge {
display: none !important;
}
.w-nav,
.w--nav-menu-open,
.w-nav-link {
transition: all .5s;
}
.w-nav.colored,
.w--nav-menu-open.colored {
background: #FFF;
box-shadow: 0 -10px 30px #333;
}
.w-nav-link.colored {
color: #333 !important;
}
.w-icon-nav-menu.colored {
color: #333;
}
.thumbimgbg {
position: relative;
top: 0;
z-index: 0;
}
.templatefront {
transition: opacity .3s;
}
</style>
<script>
lazyload();
function refresh() {
thresh = 0;
fromTop = $(window).scrollTop();
navHeight = $(".w-nav").height() + $(".w-nav-menu").height();
wittebalk = $(".wittebalk").html() === "1";
alwaysDarkText = $(".naastmockup").css("color") === "rgb(51, 51, 51)";
if (thresh < fromTop || $(window).width() <= 991 || wittebalk || alwaysDarkText) {
$(".w-nav").addClass("colored");
$(".w-nav-link").addClass("colored");
$(".blacklogo").show();
$(".whitelogo").hide();
$(".w-icon-nav-menu").addClass("colored");
$(".w--nav-menu-open").addClass("colored");
} else {
$(".w-nav").removeClass("colored");
$(".w-nav-link").removeClass("colored");
$(".blacklogo").hide();
$(".whitelogo").show();
$(".w-icon-nav-menu").removeClass("colored");
$(".w--nav-menu-open").removeClass("colored");
}
}
$(document).click(function() {
refresh();
});
$(document).ready(function() {
refresh();
});
$(window).scroll(function() {
refresh();
});
$(window).resize(function() {
refresh();
});
$(".movewithmouse").mousemove(function(e) {
cursorX = e.clientX;
cursorY = e.clientY;
divW = $(this).outerWidth();
divH = $(this).outerHeight();
maxXdeg = divW / 50;
maxYdeg = maxXdeg; //10;
maxZdeg = -(divW / 400); //0;//3;//2;
maxXpx = divW / 50; //10;//30;
maxYpx = divW / 50; //10;//30;
divCenterX = $(this).offset().left - $(window).scrollLeft() + (divW / 2);
divCenterY = $(this).offset().top - $(window).scrollTop() + (divH / 2);
xDist = cursorX - divCenterX;
yDist = cursorY - divCenterY;
xDeg = -maxXdeg * (xDist / (divW / 2));
yDeg = maxYdeg * (yDist / (divH / 2));
zDeg = maxZdeg * (xDist * yDist / (divW * divH / 4));
xPx = maxXpx * (xDist / (divW / 2));
yPx = maxYpx * (yDist / (divH / 2));
cssText = "scale(1.04)";
cssText += " rotateY(" + xDeg + "deg) rotateX(" + yDeg + "deg) rotateZ(" + zDeg + "deg)";
cssText += " translateX(" + xPx + "px) translateY(" + yPx + "px)";
$(this).css("transform", cssText);
});
$(".templatethumb").hover(function() {
thumbW = $(this).width();
thumbH = $(this).height();
img = $(this).find(".thumbimgbg");
imgH = img.height();
v = 45; // px per sec
t = imgH / v;
$(".thumbimgbg").css("transition", "top " + t + "s");
console.log(t);
img.css("top", -imgH + thumbH);
$(this).find(".templatefront").width(thumbW);
$(this).find(".templatefront").height(thumbH);
$(this).find(".templatefront").css("opacity", 1);
}, function() {
img.css("top", 0);
$(this).find(".templatefront").css("opacity", 0);
});
</script>
<!--End of Tawk.to Script -->
<style>
.hideword {
/* display: none; */
opacity: 0;
}
.switchwordswrap {
text-align: left;
}
.switchwords,
.holdplace {
display: block;
float: left;
height: 70px;
}
@media(max-width: 767px) {
.switchwords,
.holdplace {
height: 55px;
}
}
@media(max-width: 479px) {
.switchwords,
.holdplace {
height: 45px;
}
}
.wordwrapper {
position: absolute;
height: 0;
width: 0;
}
.nofloatleft {
/* float: none; */
}
.floatleftwrap {
/* overflow: hidden; */
}
</style>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/plax.js"></script>
<script>
$.plax.enable()
$('.medical-image').plaxify()
$('.ground-bg').plaxify()
$('.plax').plaxify()
</script>
<script>
Array.from(document.getElementsByClassName("modal")).forEach(
function(modal) {
// Get the button that opens the modal
var btn = document.getElementById(modal.id + "-button");
console.log(btn);
// Get the <span> element that closes the modal
var span = document.getElementById("close-" + modal.id);
// When the user clicks on the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
}
);
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
Array.from(document.getElementsByClassName("modal")).forEach(
function(modal) {
if (event.target == modal) {
modal.style.display = "none";
console.log(modal)
}
}
)
};
</script>
</body>
</html>