/usr/share/doc/gdl-coyote/html/sharpen.html is in gdl-coyote 2016.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <html>
<head>
<TITLE>coyote: SHARPEN</TITLE>
<style>
dt {font-weight: bold;}
</style>
</head>
<body>
<H1><a href="index.html">coyote</a>: SHARPEN</H1>
<ul>
<li><a href=Image_Processing.html>coyote/Image Processing</a></li>
<li><a href="/usr/share/gnudatalanguage/coyote/sharpen.pro">[Source code]</a></li>
</ul>
<dl>
<dt>NAME</dt>
<dd><pre>
Sharpen
</pre></dd>
</dl>
<dl>
<dt>PURPOSE</dt>
<dd><pre>
This function sharpens an image using a Laplacian kernel.
The final result is color adjusted to match the histogram
of the input image.
</pre></dd>
</dl>
<dl>
<dt>AUTHOR</dt>
<dd><pre>
FANNING SOFTWARE CONSULTING
David Fanning, Ph.D.
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: david@idlcoyote.com
Coyote's Guide to IDL Programming: http://www.idlcoyote.com
</pre></dd>
</dl>
<dl>
<dt>CATEGORY</dt>
<dd><pre>
Image Processing
</pre></dd>
</dl>
<dl>
<dt>CALLING SEQUENCE</dt>
<dd><pre>
sharp_image = Sharpen(image)
</pre></dd>
</dl>
<dl>
<dt>INPUTS</dt>
<dd><pre>
image - The input image to be sharpened. Assumed to be a 2D byte array.
</pre></dd>
</dl>
<dl>
<dt>OUTPUTS</dt>
<dd><pre>
sharp_image - The sharpened image.
</pre></dd>
</dl>
<dl>
<dt>INPUT KEYWORDS</dt>
<dd><pre>
KERNEL -- By default the image is convolved with this 3-by-3 Laplacian kernel:
[ [-1, -1, -1], [-1, +8, -1], [-1, -1, -1] ]. You can pass in any kernel
of odd width. The filtered image is added back to the original image to provide
the sharpening effect.
DISPLAY -- If this keyword is set a window is opened and the details of the sharpening
process are displayed.
</pre></dd>
</dl>
<dl>
<dt>OUTPUT KEYWORDS</dt>
<dd><pre>
None.
</pre></dd>
</dl>
<dl>
<dt>DEPENDENCIES</dt>
<dd><pre>
None.
</pre></dd>
</dl>
<dl>
<dt>METHOD</dt>
<dd><pre>
This function is based on the Laplacian kernel sharpening method on pages 128-131
of Digital Image Processing, 2nd Edition, Rafael C. Gonzalez and Richard E. Woods,
ISBN 0-20-118075-8.
</pre></dd>
</dl>
<dl>
<dt>EXAMPLE</dt>
<dd><pre>
There is an example program at the end of this file.
</pre></dd>
</dl>
<dl>
<dt>MODIFICATION HISTORY</dt>
<dd><pre>
Written by David W. Fanning, January 2003.
Updated slightly to use Coyote Library routines. 3 Dec. 2010. DWF.
Modified the example to work with cgImage. 29 March 2011. DWF.
</pre></dd>
</dl>
</body>
</html>
|