Current Path : /usr/local/share/doc/ImageMagick/www/api/MagickCore/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/doc/ImageMagick/www/api/MagickCore/enhance_8c.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MagickCore: enhance.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.4 --> <div class="nav"> <a class="el" href="dir_b44b349db36f8365f5234e57d3038770.html">magick</a></div> <h1>enhance.c File Reference</h1> <p> <code>#include "<a class="el" href="studio_8h-source.html">magick/studio.h</a>"</code><br> <code>#include "<a class="el" href="cache-view_8h-source.html">magick/cache-view.h</a>"</code><br> <code>#include "<a class="el" href="color_8h-source.html">magick/color.h</a>"</code><br> <code>#include "<a class="el" href="color-private_8h-source.html">magick/color-private.h</a>"</code><br> <code>#include "<a class="el" href="colorspace_8h-source.html">magick/colorspace.h</a>"</code><br> <code>#include "<a class="el" href="enhance_8h-source.html">magick/enhance.h</a>"</code><br> <code>#include "<a class="el" href="exception_8h-source.html">magick/exception.h</a>"</code><br> <code>#include "<a class="el" href="exception-private_8h-source.html">magick/exception-private.h</a>"</code><br> <code>#include "<a class="el" href="gem_8h-source.html">magick/gem.h</a>"</code><br> <code>#include "<a class="el" href="geometry_8h-source.html">magick/geometry.h</a>"</code><br> <code>#include "<a class="el" href="image_8h-source.html">magick/image.h</a>"</code><br> <code>#include "<a class="el" href="image-private_8h-source.html">magick/image-private.h</a>"</code><br> <code>#include "<a class="el" href="memory___8h-source.html">magick/memory_.h</a>"</code><br> <code>#include "<a class="el" href="monitor_8h-source.html">magick/monitor.h</a>"</code><br> <code>#include "<a class="el" href="quantum_8h-source.html">magick/quantum.h</a>"</code><br> <code>#include "<a class="el" href="quantum-private_8h-source.html">magick/quantum-private.h</a>"</code><br> <code>#include "<a class="el" href="resample_8h-source.html">magick/resample.h</a>"</code><br> <code>#include "<a class="el" href="string___8h-source.html">magick/string_.h</a>"</code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#269c1034a39650adb3a2f9488b62f318">ClutImageTag</a> "Clut/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#84779c2ec556686418bd260cfff51ee6">DullContrastImageTag</a> "DullContrast/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#778c9831dfdd870f92a94591dff97eda">SharpenContrastImageTag</a> "SharpenContrast/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#66a6383259a3b737c80fb3bce94346bc">MaxRange</a>(color) ((<a class="el" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) ScaleQuantumToMap((<a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a>) (color)))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#953991fcf3c4f9c2b56d067c54f881dc">NormalizeImageTag</a> "Normalize/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#aceff427433d2cd76b7961d9272fa1fa">Enhance</a>(weight)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#de44cf26881eecce38442e11ca9d7d05">EnhanceImageTag</a> "Enhance/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#5cb23344524bc3b7848d786e08f2fc8f">EqualizeImageTag</a> "Equalize/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#b34949274c4742b78802aec2919f4d14">GammaCorrectImageTag</a> "GammaCorrect/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#4b853b1052572fe659a52c3bd141fb84">LevelImageTag</a> "Level/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#e3f7ed431224861a245dba3ad0dd64f0">LinearStretchImageTag</a> "LinearStretch/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#714717978f8250316c8b1f8d129eee17">ModulateImageTag</a> "Modulate/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#e4cf7e9174e769a329a36ea801c8ddba">NegateImageTag</a> "Negate/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#9625ef5c0237006dc3df9374660257f1">SigmoidalContrastImageTag</a> "SigmoidalContrast/<a class="el" href="struct__Image.html">Image</a>"</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#7916fe27ef8e8629a56e5260f0468866">ClutImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="struct__Image.html">Image</a> *clut_image)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#27562447115d0dcb4fa61b552a7e132f">ClutImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel, const <a class="el" href="struct__Image.html">Image</a> *clut_image)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#a65253ca3349f67be2122ae2522035fb">Contrast</a> (const int sign, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *red, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *green, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *blue)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#eb17c7503689feee91e6040852e6ae25">ContrastImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> sharpen)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#6237f02ecf7aead0de773606d70a694e">ContrastStretchImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const char *levels)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#e65a8c2225e9c3176da1897fb094dfaf">ContrastStretchImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel, const double black_point, const double white_point)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="struct__Image.html">Image</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#e524cbbbfea0af9328e6746eb1f54690">EnhanceImage</a> (const <a class="el" href="struct__Image.html">Image</a> *image, <a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> *exception)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#752eda0079a23262dc262afe7b536314">EqualizeImage</a> (<a class="el" href="struct__Image.html">Image</a> *image)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#b4ca1fd1a541d1bb0d7b82f0a263aa81">EqualizeImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#e5b729889e8723b67809dda130e48e4e">GammaImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const char *level)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#e187ce66cebb199f8d90332cc8bf72b0">GammaImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel, const double gamma)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#0711517f8c7d9b580a8cdba0fff93db8">LevelImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const char *levels)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#ad918300496d15637572d4ea0e19fe4e">LevelImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel, const double black_point, const double white_point, const double gamma)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#f4e30908d379be84ffda04e3bd13222f">LinearStretchImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const double black_point, const double white_point)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#1db9eb9543aa3789c0bfc49b1d8dc305">ModulateHSB</a> (const double percent_hue, const double percent_saturation, const double percent_brightness, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *red, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *green, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *blue)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#16f91d290b48e36c9d64669a36e88f89">ModulateHSL</a> (const double percent_hue, const double percent_saturation, const double percent_luminosity, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *red, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *green, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *blue)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#d8ad47aaee94f1a1cd8576265ebb513e">ModulateHWB</a> (const double percent_hue, const double percent_whiteness, const double percent_blackness, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *red, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *green, <a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> *blue)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#611224c78fc1f81fc2762d0aecb693c0">ModulateImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const char *modulate)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#4d28cbf7624c13d8e4e6533cef5b135f">NegateImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> grayscale)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#09a481a1e33b257f2ad116331589e651">NegateImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel, const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> grayscale)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#bc9d34b11686879af0267fe75f9eb45b">NormalizeImage</a> (<a class="el" href="struct__Image.html">Image</a> *image)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#24e83b558c54d44f412c8b458aba8aca">NormalizeImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#430220a42aaac58638ff4a03e727a75f">SigmoidalContrastImage</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> sharpen, const char *levels)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="enhance_8c.html#ecdb7d304614620f15d3fd419eeb86da">SigmoidalContrastImageChannel</a> (<a class="el" href="struct__Image.html">Image</a> *image, const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> channel, const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> sharpen, const double contrast, const double midpoint)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="269c1034a39650adb3a2f9488b62f318"></a><!-- doxytag: member="enhance.c::ClutImageTag" ref="269c1034a39650adb3a2f9488b62f318" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ClutImageTag "Clut/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="84779c2ec556686418bd260cfff51ee6"></a><!-- doxytag: member="enhance.c::DullContrastImageTag" ref="84779c2ec556686418bd260cfff51ee6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define DullContrastImageTag "DullContrast/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="aceff427433d2cd76b7961d9272fa1fa"></a><!-- doxytag: member="enhance.c::Enhance" ref="aceff427433d2cd76b7961d9272fa1fa" args="(weight)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define Enhance </td> <td>(</td> <td class="paramtype">weight </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <b>Value:</b><div class="fragment"><pre class="fragment">mean=((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->red+pixel.red)/2; \ distance=(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->red-(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) pixel.red; \ distance_squared=<a class="code" href="image-private_8h.html#eee7d297e9e3733c9e3b34594c582afe">QuantumScale</a>*(2.0*((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) <a class="code" href="magick-type_8h.html#4f65ef78c8a53b8f6ac10db1beb44bfe">QuantumRange</a>+1.0)+ \ mean)*distance*distance; \ mean=((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->green+pixel.green)/2; \ distance=(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->green-(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) pixel.green; \ distance_squared+=4.0*distance*distance; \ mean=((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->blue+pixel.blue)/2; \ distance=(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->blue-(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) pixel.blue; \ distance_squared+=<a class="code" href="image-private_8h.html#eee7d297e9e3733c9e3b34594c582afe">QuantumScale</a>*(3.0*((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) \ <a class="code" href="magick-type_8h.html#4f65ef78c8a53b8f6ac10db1beb44bfe">QuantumRange</a>+1.0)-1.0-mean)*distance*distance; \ mean=((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->opacity+pixel.opacity)/2; \ distance=(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) r->opacity-(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) pixel.opacity; \ distance_squared+=<a class="code" href="image-private_8h.html#eee7d297e9e3733c9e3b34594c582afe">QuantumScale</a>*(3.0*((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) \ <a class="code" href="magick-type_8h.html#4f65ef78c8a53b8f6ac10db1beb44bfe">QuantumRange</a>+1.0)-1.0-mean)*distance*distance; \ <span class="keywordflow">if</span> (distance_squared < ((<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) <a class="code" href="magick-type_8h.html#4f65ef78c8a53b8f6ac10db1beb44bfe">QuantumRange</a>*(<a class="code" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) \ <a class="code" href="magick-type_8h.html#4f65ef78c8a53b8f6ac10db1beb44bfe">QuantumRange</a>/25.0f)) \ { \ aggregate.red+=(weight)*r->red; \ aggregate.green+=(weight)*r->green; \ aggregate.blue+=(weight)*r->blue; \ aggregate.opacity+=(weight)*r->opacity; \ total_weight+=(weight); \ } \ r++; </pre></div> </div> </div><p> <a class="anchor" name="de44cf26881eecce38442e11ca9d7d05"></a><!-- doxytag: member="enhance.c::EnhanceImageTag" ref="de44cf26881eecce38442e11ca9d7d05" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EnhanceImageTag "Enhance/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="5cb23344524bc3b7848d786e08f2fc8f"></a><!-- doxytag: member="enhance.c::EqualizeImageTag" ref="5cb23344524bc3b7848d786e08f2fc8f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EqualizeImageTag "Equalize/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b34949274c4742b78802aec2919f4d14"></a><!-- doxytag: member="enhance.c::GammaCorrectImageTag" ref="b34949274c4742b78802aec2919f4d14" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GammaCorrectImageTag "GammaCorrect/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="4b853b1052572fe659a52c3bd141fb84"></a><!-- doxytag: member="enhance.c::LevelImageTag" ref="4b853b1052572fe659a52c3bd141fb84" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define LevelImageTag "Level/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e3f7ed431224861a245dba3ad0dd64f0"></a><!-- doxytag: member="enhance.c::LinearStretchImageTag" ref="e3f7ed431224861a245dba3ad0dd64f0" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define LinearStretchImageTag "LinearStretch/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="66a6383259a3b737c80fb3bce94346bc"></a><!-- doxytag: member="enhance.c::MaxRange" ref="66a6383259a3b737c80fb3bce94346bc" args="(color)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MaxRange </td> <td>(</td> <td class="paramtype">color </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> ((<a class="el" href="magick-type_8h.html#63ab595ab40d99ff825a4c39cc69c074">MagickRealType</a>) ScaleQuantumToMap((<a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a>) (color)))</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="714717978f8250316c8b1f8d129eee17"></a><!-- doxytag: member="enhance.c::ModulateImageTag" ref="714717978f8250316c8b1f8d129eee17" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ModulateImageTag "Modulate/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e4cf7e9174e769a329a36ea801c8ddba"></a><!-- doxytag: member="enhance.c::NegateImageTag" ref="e4cf7e9174e769a329a36ea801c8ddba" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define NegateImageTag "Negate/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="953991fcf3c4f9c2b56d067c54f881dc"></a><!-- doxytag: member="enhance.c::NormalizeImageTag" ref="953991fcf3c4f9c2b56d067c54f881dc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define NormalizeImageTag "Normalize/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="778c9831dfdd870f92a94591dff97eda"></a><!-- doxytag: member="enhance.c::SharpenContrastImageTag" ref="778c9831dfdd870f92a94591dff97eda" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define SharpenContrastImageTag "SharpenContrast/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9625ef5c0237006dc3df9374660257f1"></a><!-- doxytag: member="enhance.c::SigmoidalContrastImageTag" ref="9625ef5c0237006dc3df9374660257f1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define SigmoidalContrastImageTag "SigmoidalContrast/<a class="el" href="struct__Image.html">Image</a>" </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="7916fe27ef8e8629a56e5260f0468866"></a><!-- doxytag: member="enhance.c::ClutImage" ref="7916fe27ef8e8629a56e5260f0468866" args="(Image *image, const Image *clut_image)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> ClutImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>clut_image</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="27562447115d0dcb4fa61b552a7e132f"></a><!-- doxytag: member="enhance.c::ClutImageChannel" ref="27562447115d0dcb4fa61b552a7e132f" args="(Image *image, const ChannelType channel, const Image *clut_image)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> ClutImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>clut_image</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="a65253ca3349f67be2122ae2522035fb"></a><!-- doxytag: member="enhance.c::Contrast" ref="a65253ca3349f67be2122ae2522035fb" args="(const int sign, Quantum *red, Quantum *green, Quantum *blue)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void Contrast </td> <td>(</td> <td class="paramtype">const int </td> <td class="paramname"> <em>sign</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>red</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>green</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>blue</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="eb17c7503689feee91e6040852e6ae25"></a><!-- doxytag: member="enhance.c::ContrastImage" ref="eb17c7503689feee91e6040852e6ae25" args="(Image *image, const MagickBooleanType sharpen)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> ContrastImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td> <td class="paramname"> <em>sharpen</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="6237f02ecf7aead0de773606d70a694e"></a><!-- doxytag: member="enhance.c::ContrastStretchImage" ref="6237f02ecf7aead0de773606d70a694e" args="(Image *image, const char *levels)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> ContrastStretchImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>levels</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e65a8c2225e9c3176da1897fb094dfaf"></a><!-- doxytag: member="enhance.c::ContrastStretchImageChannel" ref="e65a8c2225e9c3176da1897fb094dfaf" args="(Image *image, const ChannelType channel, const double black_point, const double white_point)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> ContrastStretchImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>black_point</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>white_point</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e524cbbbfea0af9328e6746eb1f54690"></a><!-- doxytag: member="enhance.c::EnhanceImage" ref="e524cbbbfea0af9328e6746eb1f54690" args="(const Image *image, ExceptionInfo *exception)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="struct__Image.html">Image</a>* EnhanceImage </td> <td>(</td> <td class="paramtype">const <a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct__ExceptionInfo.html">ExceptionInfo</a> * </td> <td class="paramname"> <em>exception</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="752eda0079a23262dc262afe7b536314"></a><!-- doxytag: member="enhance.c::EqualizeImage" ref="752eda0079a23262dc262afe7b536314" args="(Image *image)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> EqualizeImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b4ca1fd1a541d1bb0d7b82f0a263aa81"></a><!-- doxytag: member="enhance.c::EqualizeImageChannel" ref="b4ca1fd1a541d1bb0d7b82f0a263aa81" args="(Image *image, const ChannelType channel)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> EqualizeImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e5b729889e8723b67809dda130e48e4e"></a><!-- doxytag: member="enhance.c::GammaImage" ref="e5b729889e8723b67809dda130e48e4e" args="(Image *image, const char *level)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> GammaImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>level</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e187ce66cebb199f8d90332cc8bf72b0"></a><!-- doxytag: member="enhance.c::GammaImageChannel" ref="e187ce66cebb199f8d90332cc8bf72b0" args="(Image *image, const ChannelType channel, const double gamma)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> GammaImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>gamma</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="0711517f8c7d9b580a8cdba0fff93db8"></a><!-- doxytag: member="enhance.c::LevelImage" ref="0711517f8c7d9b580a8cdba0fff93db8" args="(Image *image, const char *levels)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> LevelImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>levels</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="ad918300496d15637572d4ea0e19fe4e"></a><!-- doxytag: member="enhance.c::LevelImageChannel" ref="ad918300496d15637572d4ea0e19fe4e" args="(Image *image, const ChannelType channel, const double black_point, const double white_point, const double gamma)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> LevelImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>black_point</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>white_point</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>gamma</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="f4e30908d379be84ffda04e3bd13222f"></a><!-- doxytag: member="enhance.c::LinearStretchImage" ref="f4e30908d379be84ffda04e3bd13222f" args="(Image *image, const double black_point, const double white_point)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> LinearStretchImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>black_point</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>white_point</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1db9eb9543aa3789c0bfc49b1d8dc305"></a><!-- doxytag: member="enhance.c::ModulateHSB" ref="1db9eb9543aa3789c0bfc49b1d8dc305" args="(const double percent_hue, const double percent_saturation, const double percent_brightness, Quantum *red, Quantum *green, Quantum *blue)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void ModulateHSB </td> <td>(</td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_hue</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_saturation</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_brightness</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>red</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>green</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>blue</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="16f91d290b48e36c9d64669a36e88f89"></a><!-- doxytag: member="enhance.c::ModulateHSL" ref="16f91d290b48e36c9d64669a36e88f89" args="(const double percent_hue, const double percent_saturation, const double percent_luminosity, Quantum *red, Quantum *green, Quantum *blue)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void ModulateHSL </td> <td>(</td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_hue</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_saturation</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_luminosity</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>red</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>green</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>blue</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d8ad47aaee94f1a1cd8576265ebb513e"></a><!-- doxytag: member="enhance.c::ModulateHWB" ref="d8ad47aaee94f1a1cd8576265ebb513e" args="(const double percent_hue, const double percent_whiteness, const double percent_blackness, Quantum *red, Quantum *green, Quantum *blue)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void ModulateHWB </td> <td>(</td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_hue</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_whiteness</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>percent_blackness</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>red</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>green</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="magick-type_8h.html#564764e59a8480d672edfe65cf2f7b35">Quantum</a> * </td> <td class="paramname"> <em>blue</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="611224c78fc1f81fc2762d0aecb693c0"></a><!-- doxytag: member="enhance.c::ModulateImage" ref="611224c78fc1f81fc2762d0aecb693c0" args="(Image *image, const char *modulate)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> ModulateImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>modulate</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="4d28cbf7624c13d8e4e6533cef5b135f"></a><!-- doxytag: member="enhance.c::NegateImage" ref="4d28cbf7624c13d8e4e6533cef5b135f" args="(Image *image, const MagickBooleanType grayscale)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> NegateImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td> <td class="paramname"> <em>grayscale</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="09a481a1e33b257f2ad116331589e651"></a><!-- doxytag: member="enhance.c::NegateImageChannel" ref="09a481a1e33b257f2ad116331589e651" args="(Image *image, const ChannelType channel, const MagickBooleanType grayscale)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> NegateImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td> <td class="paramname"> <em>grayscale</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="bc9d34b11686879af0267fe75f9eb45b"></a><!-- doxytag: member="enhance.c::NormalizeImage" ref="bc9d34b11686879af0267fe75f9eb45b" args="(Image *image)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> NormalizeImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="24e83b558c54d44f412c8b458aba8aca"></a><!-- doxytag: member="enhance.c::NormalizeImageChannel" ref="24e83b558c54d44f412c8b458aba8aca" args="(Image *image, const ChannelType channel)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> NormalizeImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="430220a42aaac58638ff4a03e727a75f"></a><!-- doxytag: member="enhance.c::SigmoidalContrastImage" ref="430220a42aaac58638ff4a03e727a75f" args="(Image *image, const MagickBooleanType sharpen, const char *levels)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> SigmoidalContrastImage </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td> <td class="paramname"> <em>sharpen</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>levels</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="ecdb7d304614620f15d3fd419eeb86da"></a><!-- doxytag: member="enhance.c::SigmoidalContrastImageChannel" ref="ecdb7d304614620f15d3fd419eeb86da" args="(Image *image, const ChannelType channel, const MagickBooleanType sharpen, const double contrast, const double midpoint)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">MagickExport <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> SigmoidalContrastImageChannel </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__Image.html">Image</a> * </td> <td class="paramname"> <em>image</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#19a96edeeb9d37072c4ce9f862d19ba8">ChannelType</a> </td> <td class="paramname"> <em>channel</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a> </td> <td class="paramname"> <em>sharpen</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>contrast</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const double </td> <td class="paramname"> <em>midpoint</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:30 2008 for MagickCore by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> </body> </html>