1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
\r
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
\r
5 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
\r
6 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
\r
7 <style type="text/css" media="screen,projection"><!--
\r
8 @import url("../../www/magick.css");
\r
10 <link rel="shortcut icon" href="../../images/wand.ico" type="images/vnd.microsoft.icon"/>
11 <title>ImageMagick: MagickCore, C API for ImageMagick: Add an Effect</title>
12 <meta http-equiv="Content-Language" content="en-US"/>
13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
14 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
15 <meta name="Generator" content="PHP"/>
16 <meta name="Keywords" content="magickcore, c, api, for, imagemagick:, add, an, effect, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
17 <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
18 <meta name="Rating" content="GENERAL"/>
19 <meta name="Robots" content="INDEX, FOLLOW"/>
20 <meta name="Generator" content="ImageMagick Studio LLC"/>
21 <meta name="Author" content="ImageMagick Studio LLC"/>
22 <meta name="Revisit-after" content="2 DAYS"/>
23 <meta name="Resource-type" content="document"/>
24 <meta name="Copyright" content="Copyright (c) 1999-2009 ImageMagick Studio LLC"/>
25 <meta name="Distribution" content="Global"/>
28 <body id="www-imagemagick-org">
\r
29 <div class="titlebar">
\r
30 <a href="../../index.html">
\r
31 <img src="../../images/script.png" alt="[ImageMagick]"
\r
32 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
33 <a href="http://www.networkredux.com">
\r
34 <img src="../../images/networkredux.png" alt="[sponsor]"
\r
35 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
36 <a href="http://www.imagemagick.org/discourse-server/">
\r
37 <img src="../../images/logo.jpg" alt=""
\r
38 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
39 <a href="../../index.html">
\r
40 <img src="../../images/sprite.jpg" alt=""
\r
41 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
44 <div class="eastbar">
\r
47 <a href="../../index.html">About ImageMagick</a>
49 <div class="sep"></div>
\r
51 <a href="../../www/command-line-tools.html">Command-line Tools</a>
54 <a href="../../www/command-line-processing.html">Processing</a>
57 <a href="../../www/command-line-options.html">Options</a>
60 <a href="http://www.imagemagick.org/Usage/">Usage</a>
63 <a href="../../www/api.html">Program Interfaces</a>
66 <a href="../../www/magick-wand.html">MagickWand</a>
69 <a href="../../www/magick-core.html">MagickCore</a>
72 <a href="../../www/perl-magick.html">PerlMagick</a>
75 <a href="../../Magick++/">Magick++</a>
78 <a href="../../www/architecture.html">Architecture</a>
80 <div class="sep"></div>
\r
82 <a href="../../www/install-source.html">Install from Source</a>
85 <a href="../../www/install-source.html#unix">Unix</a>
88 <a href="../../www/install-source.html#windows">Windows</a>
91 <a href="../../www/binary-releases.html">Binary Releases</a>
94 <a href="../../www/binary-releases.html#unix">Unix</a>
97 <a href="../../www/binary-releases.html#macosx">Mac OS X</a>
100 <a href="../../www/binary-releases.html#windows">Windows</a>
103 <a href="../../www/resources.html">Resources</a>
105 <div class="sep"></div>
\r
107 <a href="../../www/download.html">Download</a>
109 <div class="sep"></div>
\r
111 <a href="../http://www.imagemagick.org/script/search.php">Search</a>
113 <div class="sep"></div>
\r
115 <a href="../../www/sitemap.html">Site Map</a>
118 <a href="../../www/links.html">Links</a>
120 <div class="sep"></div>
\r
122 <a href="../../www/sponsors.html">Sponsors:</a>
124 <div class="sponsbox">
125 <div class="sponsor">
126 <a href="http://www.goyax.de">Börse</a><!-- 201001000240 Gewiese digital-finance.de -->
128 <div class="sponsor">
129 <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012001200 allesdruck.de-->
131 <div class="sponsor">
132 <a href="http://www.blumenversender.com">Blumenversand</a><!-- 200911010120 -->
134 <div class="sponsor">
135 <a href="http://www.print24.de/">Druckerei</a><!-- 200911010480 -->
137 <div class="sponsor">
138 <a href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 201002010000 -->
140 <div class="sponsor">
141 <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201002010120 Buchhorn -->
151 <p class="navigation-index">[<a href="#AdaptiveBlurImage">AdaptiveBlurImage</a> • <a href="#AdaptiveSharpenImage">AdaptiveSharpenImage</a> • <a href="#BlurImage">BlurImage</a> • <a href="#DespeckleImage">DespeckleImage</a> • <a href="#EdgeImage">EdgeImage</a> • <a href="#EmbossImage">EmbossImage</a> • <a href="#GaussianBlurImage">GaussianBlurImage</a> • <a href="#MedianFilterImage">MedianFilterImage</a> • <a href="#MotionBlurImage">MotionBlurImage</a> • <a href="#PreviewImage">PreviewImage</a> • <a href="#RadialBlurImage">RadialBlurImage</a> • <a href="#ReduceNoiseImage">ReduceNoiseImage</a> • <a href="#SelectiveBlurImage">SelectiveBlurImage</a> • <a href="#ShadeImage">ShadeImage</a> • <a href="#SharpenImage">SharpenImage</a> • <a href="#SpreadImage">SpreadImage</a> • <a href="#UnsharpMaskImage">UnsharpMaskImage</a>]</p>
153 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
154 _8c.html" target="source" name="AdaptiveBlurImage">AdaptiveBlurImage</a></h2>
155 <div class="doc-section">
157 <p>AdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and AdaptiveBlurImage() selects a suitable radius for you.</p></ol>
159 <p>The format of the AdaptiveBlurImage method is:</p>
162 Image *AdaptiveBlurImage(const Image *image,const double radius,
163 const double sigma,ExceptionInfo *exception)
164 Image *AdaptiveBlurImageChannel(const Image *image,
165 const ChannelType channel,double radius,const double sigma,
166 ExceptionInfo *exception)
169 <p>A description of each parameter follows:</p></ol>
172 <ol><p>the image.</p></ol>
175 <ol><p>the channel type.</p></ol>
178 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
181 <ol><p>the standard deviation of the Laplacian, in pixels.</p></ol>
184 <ol><p>return any errors or warnings in this structure.</p></ol>
187 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
188 _8c.html" target="source" name="AdaptiveSharpenImage">AdaptiveSharpenImage</a></h2>
189 <div class="doc-section">
191 <p>AdaptiveSharpenImage() adaptively sharpens the image by sharpening more intensely near image edges and less intensely far from edges. We sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and AdaptiveSharpenImage() selects a suitable radius for you.</p></ol>
193 <p>The format of the AdaptiveSharpenImage method is:</p>
196 Image *AdaptiveSharpenImage(const Image *image,const double radius,
197 const double sigma,ExceptionInfo *exception)
198 Image *AdaptiveSharpenImageChannel(const Image *image,
199 const ChannelType channel,double radius,const double sigma,
200 ExceptionInfo *exception)
203 <p>A description of each parameter follows:</p></ol>
206 <ol><p>the image.</p></ol>
209 <ol><p>the channel type.</p></ol>
212 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
215 <ol><p>the standard deviation of the Laplacian, in pixels.</p></ol>
218 <ol><p>return any errors or warnings in this structure.</p></ol>
221 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
222 _8c.html" target="source" name="BlurImage">BlurImage</a></h2>
223 <div class="doc-section">
225 <p>BlurImage() blurs an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and BlurImage() selects a suitable radius for you.</p></ol>
227 <p>BlurImage() differs from GaussianBlurImage() in that it uses a separable kernel which is faster but mathematically equivalent to the non-separable kernel.</p></ol>
229 <p>The format of the BlurImage method is:</p>
232 Image *BlurImage(const Image *image,const double radius,
233 const double sigma,ExceptionInfo *exception)
234 Image *BlurImageChannel(const Image *image,const ChannelType channel,
235 const double radius,const double sigma,ExceptionInfo *exception)
238 <p>A description of each parameter follows:</p></ol>
241 <ol><p>the image.</p></ol>
244 <ol><p>the channel type.</p></ol>
247 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
250 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
253 <ol><p>return any errors or warnings in this structure.</p></ol>
256 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
257 _8c.html" target="source" name="DespeckleImage">DespeckleImage</a></h2>
258 <div class="doc-section">
260 <p>DespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
262 <p>The format of the DespeckleImage method is:</p>
265 Image *DespeckleImage(const Image *image,ExceptionInfo *exception)
268 <p>A description of each parameter follows:</p></ol>
271 <ol><p>the image.</p></ol>
274 <ol><p>return any errors or warnings in this structure.</p></ol>
277 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
278 _8c.html" target="source" name="EdgeImage">EdgeImage</a></h2>
279 <div class="doc-section">
281 <p>EdgeImage() finds edges in an image. Radius defines the radius of the convolution filter. Use a radius of 0 and EdgeImage() selects a suitable radius for you.</p></ol>
283 <p>The format of the EdgeImage method is:</p>
286 Image *EdgeImage(const Image *image,const double radius,
287 ExceptionInfo *exception)
290 <p>A description of each parameter follows:</p></ol>
293 <ol><p>the image.</p></ol>
296 <ol><p>the radius of the pixel neighborhood.</p></ol>
299 <ol><p>return any errors or warnings in this structure.</p></ol>
302 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
303 _8c.html" target="source" name="EmbossImage">EmbossImage</a></h2>
304 <div class="doc-section">
306 <p>EmbossImage() returns a grayscale image with a three-dimensional effect. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and Emboss() selects a suitable radius for you.</p></ol>
308 <p>The format of the EmbossImage method is:</p>
311 Image *EmbossImage(const Image *image,const double radius,
312 const double sigma,ExceptionInfo *exception)
315 <p>A description of each parameter follows:</p></ol>
318 <ol><p>the image.</p></ol>
321 <ol><p>the radius of the pixel neighborhood.</p></ol>
324 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
327 <ol><p>return any errors or warnings in this structure.</p></ol>
330 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
331 _8c.html" target="source" name="GaussianBlurImage">GaussianBlurImage</a></h2>
332 <div class="doc-section">
334 <p>GaussianBlurImage() blurs an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and GaussianBlurImage() selects a suitable radius for you</p></ol>
336 <p>The format of the GaussianBlurImage method is:</p>
339 Image *GaussianBlurImage(const Image *image,onst double radius,
340 const double sigma,ExceptionInfo *exception)
341 Image *GaussianBlurImageChannel(const Image *image,
342 const ChannelType channel,const double radius,const double sigma,
343 ExceptionInfo *exception)
346 <p>A description of each parameter follows:</p></ol>
349 <ol><p>the image.</p></ol>
352 <ol><p>the channel type.</p></ol>
355 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
358 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
361 <ol><p>return any errors or warnings in this structure.</p></ol>
364 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
365 _8c.html" target="source" name="MedianFilterImage">MedianFilterImage</a></h2>
366 <div class="doc-section">
368 <p>MedianFilterImage() applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.</p></ol>
370 <p>The algorithm was contributed by Mike Edmonds and implements an insertion sort for selecting median color-channel values. For more on this algorithm see "Skip Lists: A probabilistic Alternative to Balanced Trees" by William Pugh in the June 1990 of Communications of the ACM.</p></ol>
372 <p>The format of the MedianFilterImage method is:</p>
375 Image *MedianFilterImage(const Image *image,const double radius,
376 ExceptionInfo *exception)
379 <p>A description of each parameter follows:</p></ol>
382 <ol><p>the image.</p></ol>
385 <ol><p>the radius of the pixel neighborhood.</p></ol>
388 <ol><p>return any errors or warnings in this structure.</p></ol>
391 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
392 _8c.html" target="source" name="MotionBlurImage">MotionBlurImage</a></h2>
393 <div class="doc-section">
395 <p>MotionBlurImage() simulates motion blur. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MotionBlurImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p></ol>
397 <p>Andrew Protano contributed this effect.</p></ol>
399 <p>The format of the MotionBlurImage method is:</p>
402 Image *MotionBlurImage(const Image *image,const double radius,
403 const double sigma,const double angle,ExceptionInfo *exception)
404 Image *MotionBlurImageChannel(const Image *image,const ChannelType channel,
405 const double radius,const double sigma,const double angle,
406 ExceptionInfo *exception)
409 <p>A description of each parameter follows:</p></ol>
412 <ol><p>the image.</p></ol>
415 <ol><p>the channel type.</p></ol>
418 <ol><p>the radius of the Gaussian, in pixels, not counting the center</p>
420 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
423 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
426 <ol><p>Apply the effect along this angle.</p></ol>
429 <ol><p>return any errors or warnings in this structure.</p></ol>
432 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
433 _8c.html" target="source" name="PreviewImage">PreviewImage</a></h2>
434 <div class="doc-section">
436 <p>PreviewImage() tiles 9 thumbnails of the specified image with an image processing operation applied with varying parameters. This may be helpful pin-pointing an appropriate parameter for a particular image processing operation.</p></ol>
438 <p>The format of the PreviewImages method is:</p>
441 Image *PreviewImages(const Image *image,const PreviewType preview,
442 ExceptionInfo *exception)
445 <p>A description of each parameter follows:</p></ol>
448 <ol><p>the image.</p></ol>
451 <ol><p>the image processing operation.</p></ol>
454 <ol><p>return any errors or warnings in this structure.</p></ol>
457 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
458 _8c.html" target="source" name="RadialBlurImage">RadialBlurImage</a></h2>
459 <div class="doc-section">
461 <p>RadialBlurImage() applies a radial blur to the image.</p></ol>
463 <p>Andrew Protano contributed this effect.</p></ol>
465 <p>The format of the RadialBlurImage method is:</p>
468 Image *RadialBlurImage(const Image *image,const double angle,
469 ExceptionInfo *exception)
470 Image *RadialBlurImageChannel(const Image *image,const ChannelType channel,
471 const double angle,ExceptionInfo *exception)
474 <p>A description of each parameter follows:</p></ol>
477 <ol><p>the image.</p></ol>
480 <ol><p>the channel type.</p></ol>
483 <ol><p>the angle of the radial blur.</p></ol>
486 <ol><p>return any errors or warnings in this structure.</p></ol>
489 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
490 _8c.html" target="source" name="ReduceNoiseImage">ReduceNoiseImage</a></h2>
491 <div class="doc-section">
493 <p>ReduceNoiseImage() smooths the contours of an image while still preserving edge information. The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise() selects a suitable radius for you.</p></ol>
495 <p>The format of the ReduceNoiseImage method is:</p>
498 Image *ReduceNoiseImage(const Image *image,const double radius,
499 ExceptionInfo *exception)
502 <p>A description of each parameter follows:</p></ol>
505 <ol><p>the image.</p></ol>
508 <ol><p>the radius of the pixel neighborhood.</p></ol>
511 <ol><p>return any errors or warnings in this structure.</p></ol>
514 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
515 _8c.html" target="source" name="SelectiveBlurImage">SelectiveBlurImage</a></h2>
516 <div class="doc-section">
518 <p>SelectiveBlurImage() selectively blur pixels within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.</p></ol>
520 <p>The format of the SelectiveBlurImage method is:</p>
523 Image *SelectiveBlurImage(const Image *image,const double radius,
524 const double sigma,const double threshold,ExceptionInfo *exception)
525 Image *SelectiveBlurImageChannel(const Image *image,
526 const ChannelType channel,const double radius,const double sigma,
527 const double threshold,ExceptionInfo *exception)
530 <p>A description of each parameter follows:</p></ol>
533 <ol><p>the image.</p></ol>
536 <ol><p>the channel type.</p></ol>
539 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
542 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
545 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
548 <ol><p>return any errors or warnings in this structure.</p></ol>
551 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
552 _8c.html" target="source" name="ShadeImage">ShadeImage</a></h2>
553 <div class="doc-section">
555 <p>ShadeImage() shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.</p></ol>
557 <p>The format of the ShadeImage method is:</p>
560 Image *ShadeImage(const Image *image,const MagickBooleanType gray,
561 const double azimuth,const double elevation,ExceptionInfo *exception)
564 <p>A description of each parameter follows:</p></ol>
567 <ol><p>the image.</p></ol>
570 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
572 <h5>azimuth, elevation</h5>
573 <ol><p>Define the light source direction.</p></ol>
576 <ol><p>return any errors or warnings in this structure.</p></ol>
579 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
580 _8c.html" target="source" name="SharpenImage">SharpenImage</a></h2>
581 <div class="doc-section">
583 <p>SharpenImage() sharpens the image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and SharpenImage() selects a suitable radius for you.</p></ol>
585 <p>Using a separable kernel would be faster, but the negative weights cancel out on the corners of the kernel producing often undesirable ringing in the filtered result; this can be avoided by using a 2D gaussian shaped image sharpening kernel instead.</p></ol>
587 <p>The format of the SharpenImage method is:</p>
590 Image *SharpenImage(const Image *image,const double radius,
591 const double sigma,ExceptionInfo *exception)
592 Image *SharpenImageChannel(const Image *image,const ChannelType channel,
593 const double radius,const double sigma,ExceptionInfo *exception)
596 <p>A description of each parameter follows:</p></ol>
599 <ol><p>the image.</p></ol>
602 <ol><p>the channel type.</p></ol>
605 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
608 <ol><p>the standard deviation of the Laplacian, in pixels.</p></ol>
611 <ol><p>return any errors or warnings in this structure.</p></ol>
614 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
615 _8c.html" target="source" name="SpreadImage">SpreadImage</a></h2>
616 <div class="doc-section">
618 <p>SpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
620 <p>The format of the SpreadImage method is:</p>
623 Image *SpreadImage(const Image *image,const double radius,
624 ExceptionInfo *exception)
627 <p>A description of each parameter follows:</p></ol>
630 <ol><p>the image.</p></ol>
633 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
636 <ol><p>return any errors or warnings in this structure.</p></ol>
639 <h2><a href="http://www.imagemagick.org/api/MagickCore/effect
640 _8c.html" target="source" name="UnsharpMaskImage">UnsharpMaskImage</a></h2>
641 <div class="doc-section">
643 <p>UnsharpMaskImage() sharpens one or more image channels. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and UnsharpMaskImage() selects a suitable radius for you.</p></ol>
645 <p>The format of the UnsharpMaskImage method is:</p>
648 Image *UnsharpMaskImage(const Image *image,const double radius,
649 const double sigma,const double amount,const double threshold,
650 ExceptionInfo *exception)
651 Image *UnsharpMaskImageChannel(const Image *image,
652 const ChannelType channel,const double radius,const double sigma,
653 const double amount,const double threshold,ExceptionInfo *exception)
656 <p>A description of each parameter follows:</p></ol>
659 <ol><p>the image.</p></ol>
662 <ol><p>the channel type.</p></ol>
665 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
668 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
671 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
674 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
677 <ol><p>return any errors or warnings in this structure.</p></ol>
684 <!-- <span id="linkbar-west"> </span> -->
\r
685 <span id="linkbar-center">
\r
686 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
687 <a href="../../www/mailing-list.html">Mailing Lists</a> •
\r
688 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
690 <span id="linkbar-east"> </span>
\r
692 <div class="footer">
\r
693 <span id="footer-west">© 1999-2009 ImageMagick Studio LLC</span>
\r
694 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
696 <div style="clear: both; margin: 0; width: 100%; "></div>
\r