srifqi.github.io/experiment/dip_grey_transform.html

56 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>Greyscale Transformation - Experiments - srifqi</title>
<meta charset="utf-8">
<meta name="author" content="srifqi">
<meta name="description" content="An example of greyscale transformation in digital image processing">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1">
<link rel="stylesheet" href="/main.css">
</head>
<body style="border: 0; max-width: 100%;">
<header><h1>Greyscale Transformation Experiment</h1></header>
<main>
<nav>
<ul class="left-menu">
<li><div><a href="/">Home</a></div></li>
<li><div><a href="./">Experiments</a></div><ul>
<li><a href="localoutlierfactor.html">LOF (Statistics)</a></li>
<li><a href="dip_contrast_enhancement.html">Contrast Enhance</a></li>
<li><a href="dip_edge_detection.html">Edge Detection</a></li>
<li><a href="dip_smoothing.html">Image Smoothing</a></li>
<li class="active"><a href="dip_grey_transform.html">Grey Transform</a></li>
<li><a href="genetic_algorithm.html">Genetic Algorithm</a></li>
<li><a href="vibration_test.html">Web Vibration API</a></li>
<li><a href="addition_game.html">Addition Game</a></li>
<li><a href="negative_lens.html">Negative Lens</a></li>
<li><a href="positive_lens.html">Positive Lens</a></li>
<li><a href="waterdrop.html">Waterdrop</a></li>
<li><a href="drive_a_car.html">Drive A Car</a></li>
</ul></li>
<li><div><a href="/minetest.html">Minetest</a></div></li>
<li><div><a href="/library.html">Libraries</a></div></li>
</ul>
</nav>
<section style="max-width: calc(100% - 16px);">
<aside>
<table>
<thead>
<tr><th colspan="2">Greyscale Transformation<br><span class="exp-dip">DIP</span></th></tr>
</thead>
<tbody>
<tr><th>Type</th><td>Course material</td></tr>
<tr><th>Date</th><td><time datetime="2020-10-01">1 October 2020</time></td></tr>
</tbody>
</table>
</aside>
<p>This was created from an assignment. I did it in GNU Octave. But, I want to try doing it in JavaScript.</p>
<p>There are three transformation: image negative (invert color), logarithmic transformation, and power-law (gamma) transformation.</p>
<p><span class="italic">Power-law transformation can be used for contrast streching.</span></p>
<p><a href="bare/dip/grey_transform.html" target="_blank">open in new window</a></p>
<iframe style="width: 800px; height: 500px;" src="bare/dip/grey_transform.html" title="The experiment"></iframe>
</section>
</main>
</body>
</html>