]> granicus.if.org Git - imagemagick/blobdiff - www/api/enhance.html
(no commit message)
[imagemagick] / www / api / enhance.html
index d2f4d43824f0420d146a2a33176744a460a22d2c..4b154d759cc6353615204ecc7ce3a8c1b84cb392 100644 (file)
@@ -2,6 +2,7 @@
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
 <head>\r
+  <meta http-equiv="Content-Type" value="application/xhtml+xml" />\r
   <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />\r
   <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />\r
   <style type="text/css" media="screen,projection"><!--\r
@@ -21,7 +22,7 @@
   <meta name="Author" content="ImageMagick Studio LLC"/>
   <meta name="Revisit-after" content="2 DAYS"/>
   <meta name="Resource-type" content="document"/>
-  <meta name="Copyright" content="Copyright (c) 1999-2009 ImageMagick Studio LLC"/>
+  <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
   <meta name="Distribution" content="Global"/>
 </head>\r
 \r
 
 <div class="sponsbox">
 <div  class="sponsor">
-   <a href="http://www.goyax.de">Börse</a><!-- 201001000240 Gewiese digital-finance.de -->
+   <a href="http://www.hygi.de">Reinigungsmittel</a><!-- 201002000400+ -->
 </div>
 <div  class="sponsor">
-   <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012001200 allesdruck.de-->
+  <a href="http://www.tomsgutscheine.de">Tom's Gutscheine</a><!-- 201005010360 invendio.de-->
 </div>
 <div  class="sponsor">
-  <a href="http://www.blumenversender.com">Blumenversand</a><!-- 200911010120 -->
+  <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201004010120 Buchhorn -->
 </div>
 <div  class="sponsor">
-  <a href="http://www.print24.de/">Druckerei</a><!-- 200911010480 -->
+  <a href="http://www.blumenversender.com">Blumenversand</a><!-- 201005010120 -->
 </div>
 <div  class="sponsor">
-  <a href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 201002010000 -->
+  <a href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
+</div>
+<div  class="sponsor">
+   <a href="http://www.goyax.de">Börse</a><!-- 201001000240 Gewiese digital-finance.de -->
+</div>
+<div  class="sponsor">
+   <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012001200 allesdruck.de-->
 </div>
 <div  class="sponsor">
-  <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201002010120 Buchhorn -->
+  <a href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 201002010000 -->
 </div>
 </div>
 </div>
 \r
 <div class="main">\r
 \r
-<p class="navigation-index">[<a href="#AutoGammaImage">AutoGammaImage</a> &bull; <a href="#AutoLevelImage">AutoLevelImage</a> &bull; <a href="#ColorDecisionListImage">ColorDecisionListImage</a> &bull; <a href="#ClutImage">ClutImage</a> &bull; <a href="#ContrastImage">ContrastImage</a> &bull; <a href="#The ContrastStretchImage">The ContrastStretchImage</a> &bull; <a href="#EnhanceImage">EnhanceImage</a> &bull; <a href="#EqualizeImage">EqualizeImage</a> &bull; <a href="#GammaImage">GammaImage</a> &bull; <a href="#HaldClutImage">HaldClutImage</a> &bull; <a href="#LevelImage">LevelImage</a> &bull; <a href="#LevelImageChannel">LevelImageChannel</a> &bull; <a href="#LevelizeImageChannel">LevelizeImageChannel</a> &bull; <a href="#LevelImageColor">LevelImageColor</a> &bull; <a href="#The LinearStretchImage">The LinearStretchImage</a> &bull; <a href="#ModulateImage">ModulateImage</a> &bull; <a href="#NegateImage">NegateImage</a> &bull; <a href="#The NormalizeImage">The NormalizeImage</a> &bull; <a href="#SigmoidalContrastImage">SigmoidalContrastImage</a>]</p>
+<p class="navigation-index">[<a href="#AutoGammaImage">AutoGammaImage</a> &bull; <a href="#AutoLevelImage">AutoLevelImage</a> &bull; <a href="#ColorDecisionListImage">ColorDecisionListImage</a> &bull; <a href="#ClutImage">ClutImage</a> &bull; <a href="#ContrastImage">ContrastImage</a> &bull; <a href="#The ContrastStretchImage">The ContrastStretchImage</a> &bull; <a href="#EnhanceImage">EnhanceImage</a> &bull; <a href="#EqualizeImage">EqualizeImage</a> &bull; <a href="#GammaImage">GammaImage</a> &bull; <a href="#HaldClutImage">HaldClutImage</a> &bull; <a href="#LevelImage">LevelImage</a> &bull; <a href="#LevelizeImage">LevelizeImage</a> &bull; <a href="#LevelizeImageChannel">LevelizeImageChannel</a> &bull; <a href="#LevelImageColor">LevelImageColor</a> &bull; <a href="#The LinearStretchImage">The LinearStretchImage</a> &bull; <a href="#ModulateImage">ModulateImage</a> &bull; <a href="#NegateImage">NegateImage</a> &bull; <a href="#The NormalizeImage">The NormalizeImage</a> &bull; <a href="#SigmoidalContrastImage">SigmoidalContrastImage</a>]</p>
 
 <h2><a href="http://www.imagemagick.org/api/MagickCore/enhance
 _8c.html" target="source" name="AutoGammaImage">AutoGammaImage</a></h2>
@@ -156,7 +163,7 @@ _8c.html" target="source" name="AutoGammaImage">AutoGammaImage</a></h2>
 
 <p>AutoGammaImage() extract the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p></ol>
 
-<p>The format of the LevelImage method is:</p>
+<p>The format of the AutoGammaImage method is:</p>
 
 <pre class="code">
   MagickBooleanType AutoGammaImage(Image *image)
@@ -447,18 +454,21 @@ _8c.html" target="source" name="LevelImage">LevelImage</a></h2>
 
  </div>
 <h2><a href="http://www.imagemagick.org/api/MagickCore/enhance
-_8c.html" target="source" name="LevelImageChannel">LevelImageChannel</a></h2>
+_8c.html" target="source" name="LevelizeImage">LevelizeImage</a></h2>
 <div class="doc-section">
 
-<p>LevelImageChannel() applies the normal LevelImage() operation to just the Specific channels specified, spreading out the values between the black and white points over the entire range of values.  Gamma correction is also applied after the values has been mapped.</p></ol>
+<p>LevelizeImage() applies the normal level operation to the image, spreading out the values between the black and white points over the entire range of values.  Gamma correction is also applied after the values has been mapped.</p></ol>
 
 <p>It is typically used to improve image contrast, or to provide a controlled linear threshold for the image. If the black and white points are set to the minimum and maximum values found in the image, the image can be normalized.  or by swapping black and white values, negate the image.</p></ol>
 
-<p>The format of the LevelizeImageChannel method is:</p>
+<p>The format of the LevelizeImage method is:</p>
 
 <pre class="code">
-  MagickBooleanType LevelImageChannel(Image *image,
-    const ChannelType channel,black_point,white_point,gamma)
+  MagickBooleanType LevelizeImage(Image *image,const double black_point,
+    const double white_point,const double gamma)
+  MagickBooleanType LevelizeImageChannel(Image *image,
+    const ChannelType channel,const double black_point,
+    const double white_point,const double gamma)
 </pre>
 
 <p>A description of each parameter follows:</p></ol>
@@ -522,11 +532,14 @@ _8c.html" target="source" name="LevelImageColor">LevelImageColor</a></h2>
 
 <p>If the boolean 'invert' is set true the image values will modifyed in the reverse direction. That is any existing "black" and "white" colors in the image will become the color values given, with all other values compressed appropriatally.  This effectivally maps a greyscale gradient into the given color gradient.</p></ol>
 
-<p>The format of the LevelImageColors method is:</p>
+<p>The format of the LevelColorsImageChannel method is:</p>
 
 <pre class="code">
-      MagickBooleanType LevelImageColors(Image *image,const ChannelType channel,
+      MagickBooleanType LevelColorsImage(Image *image,
   const MagickPixelPacket *black_color,
+  const MagickPixelPacket *white_color,const MagickBooleanType invert)
+      MagickBooleanType LevelColorsImageChannel(Image *image,
+  const ChannelType channel,const MagickPixelPacket *black_color,
   const MagickPixelPacket *white_color,const MagickBooleanType invert)
 </pre>
 
@@ -686,12 +699,12 @@ _8c.html" target="source" name="SigmoidalContrastImage">SigmoidalContrastImage</
     <span id="linkbar-center">\r
       <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;\r
       <a href="../../www/mailing-list.html">Mailing Lists</a> &bull;\r
-    <a href="http://studio.webbyland.com/ImageMagick/MagickStudio/scripts/MagickStudio.cgi">Studio</a>\r
+    <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>\r
     </span>\r
     <span id="linkbar-east">&nbsp;</span>\r
   </div>\r
   <div class="footer">\r
-    <span id="footer-west">&copy; 1999-2009 ImageMagick Studio LLC</span>\r
+    <span id="footer-west">&copy; 1999-2010 ImageMagick Studio LLC</span>\r
     <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>\r
   </div>\r
   <div style="clear: both; margin: 0; width: 100%; "></div>\r