-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathCVFLaplace.html
23 lines (22 loc) · 1.34 KB
/
CVFLaplace.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<h2>Laplace</h2>
<p><strong>What You’re Seeing:</strong><br />
This demo takes the <em>Laplace operator</em> (also known as the <em>Laplacian</em>) on each point for the primary colors red, green and blue. The Laplacian is defined as the sum of the second derivative in the x and y directions.</p>
<p><strong>How It Works:</strong><br />
In OpenCV, the Laplacian function uses the Sobel operator to produce the second derivatives with respect to x and y, and then adds them together.</p>
<p><strong>What It’s Used For:<br />
</strong>The Laplace operator performs a simple form of edge detection. Edges appear as black lines surrounded by white areas.</p>
<p><strong>Try and Notice:</strong><br />
Point the camera at an object of a solid color. Note how the center of the object appears black, while the edges are the color of the the object.</p>
<p><strong>Learn More:</strong><br />
<a href="http://en.wikipedia.org/wiki/Laplace_operator">Laplace operator</a> on Wikipedia</p>
<p><strong>Credit:</strong><br />
Based on the OpenCV Laplace example.</p>
</body>
</html>