From 2c17c6b7ecf6d96c9b4004cd7b79d860b66e6ae3 Mon Sep 17 00:00:00 2001 From: Jiyong Date: Wed, 6 Dec 2023 10:30:38 +0900 Subject: Imported Upstream version 1.3.42 Change-Id: I4f2a12cbf50e1a459e7bac7c5a8e374071620eea --- www/api/enhance.html | 176 ++++++++++++++++++++++++--------------------------- 1 file changed, 82 insertions(+), 94 deletions(-) (limited to 'www/api/enhance.html') diff --git a/www/api/enhance.html b/www/api/enhance.html index 33001ad..65e5ffb 100644 --- a/www/api/enhance.html +++ b/www/api/enhance.html @@ -1,12 +1,14 @@ - - - + + - - -enhance - + + + enhance + + + + + +

enhance

-

Methods to enhance or adjust an image

- +

Methods to enhance or adjust an image

ContrastImage

Synopsis

-
-unsigned int ContrastImage( Image *image, const unsigned int sharpen );
-
+
unsigned int ContrastImage( Image *image, const unsigned int sharpen );

Description

@@ -63,15 +64,15 @@ unsigned int ContrastImage( -unsigned int ContrastImage( Image *image, const unsigned int sharpen ); - +
unsigned int ContrastImage( Image *image, const unsigned int sharpen );

A description of each parameter follows:

-
+
image:
-
The image.
+

The image.

+
sharpen:
-
Increase or decrease image contrast.
+

Increase or decrease image contrast.

+
@@ -79,21 +80,18 @@ unsigned int ContrastImage( EqualizeImage

Synopsis

-
-unsigned int EqualizeImage( Image *image );
-
+
unsigned int EqualizeImage( Image *image );

Description

EqualizeImage() applies a histogram equalization to the image.

The format of the EqualizeImage method is:

-
-unsigned int EqualizeImage( Image *image );
-
+
unsigned int EqualizeImage( Image *image );

A description of each parameter follows:

-
+
image:
-
The image.
+

The image.

+
@@ -101,9 +99,7 @@ unsigned int EqualizeImage( GammaImage

Synopsis

-
-MagickPassFail GammaImage( Image *image, const char *level );
-
+
MagickPassFail GammaImage( Image *image, const char *level );

Description

@@ -116,15 +112,15 @@ from 0.45 to 2.6.

You can also reduce the influence of a particular channel with a gamma value of 0.

The format of the GammaImage method is:

-
-MagickPassFail GammaImage( Image *image, const char *level );
-
+
MagickPassFail GammaImage( Image *image, const char *level );

A description of each parameter follows:

-
+
image:
-
The image.
+

The image.

+
level:
-
Define the level of gamma correction.
+

Define the level of gamma correction.

+
@@ -132,9 +128,7 @@ MagickPassFail GammaImage( LevelImage

Synopsis

-
-unsigned int LevelImage( Image *image, const char *level );
-
+
unsigned int LevelImage( Image *image, const char *level );

Description

@@ -147,17 +141,17 @@ correction to apply to the image. White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.

The format of the LevelImage method is:

-
-unsigned int LevelImage( Image *image, const char *level );
-
+
unsigned int LevelImage( Image *image, const char *level );

A description of each parameter follows:

-
+
image:
-
The image.
+

The image.

+
levels:
-
Specify the levels as a string of the form "black/mid/white" +

Specify the levels as a string of the form "black/mid/white" (e.g. "10,1.0,65000) where black and white have the range of 0-MaxRGB, -and mid has the range 0-10.

+and mid has the range 0-10.

+
@@ -165,11 +159,9 @@ and mid has the range 0-10.

LevelImageChannel

Synopsis

-
-MagickPassFail LevelImageChannel( Image *image, const ChannelType channel,
+
MagickPassFail LevelImageChannel( Image *image, const ChannelType channel,
                                   const double black_point, const double mid_point,
-                                  const double white_point );
-
+ const double white_point );

Description

@@ -182,20 +174,21 @@ zero. Mid point specifies a gamma correction to apply to the image. White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.

The format of the LevelImage method is:

-
-MagickPassFail LevelImageChannel( Image *image, const ChannelType channel,
+
MagickPassFail LevelImageChannel( Image *image, const ChannelType channel,
                                   const double black_point, const double mid_point,
-                                  const double white_point );
-
-
+ const double white_point );
+
image:
-
The image.
+

The image.

+
channel:
-
Identify which channel to level: Red, Cyan, Green, Magenta, -Blue, Yellow, Opacity, or All.
+

Identify which channel to level: Red, Cyan, Green, Magenta, +Blue, Yellow, Opacity, or All.

+
black_point, mid_point, white_point:
-
Specify the levels where the black -and white points have the range of 0-MaxRGB, and mid has the range 0-10.
+

Specify the levels where the black +and white points have the range of 0-MaxRGB, and mid has the range 0-10.

+
@@ -203,9 +196,7 @@ and white points have the range of 0-MaxRGB, and mid has the range 0-10.

ModulateImage

Synopsis

-
-unsigned int ModulateImage( Image *image, const char *modulate );
-
+
unsigned int ModulateImage( Image *image, const char *modulate );

Description

@@ -213,16 +204,16 @@ unsigned int ModulateImage( -unsigned int ModulateImage( Image *image, const char *modulate ); - +
unsigned int ModulateImage( Image *image, const char *modulate );

A description of each parameter follows:

-
+
image:
-
The image.
+

The image.

+
modulate:
-
Define the percent change in brightness, saturation, and -hue.
+

Define the percent change in brightness, saturation, and +hue.

+
@@ -230,9 +221,7 @@ hue.

NegateImage

Synopsis

-
-unsigned int NegateImage( Image *image, const unsigned int grayscale );
-
+
unsigned int NegateImage( Image *image, const unsigned int grayscale );

Description

@@ -240,13 +229,12 @@ unsigned int NegateImage( -unsigned int NegateImage( Image *image, const unsigned int grayscale ); - +
unsigned int NegateImage( Image *image, const unsigned int grayscale );

A description of each parameter follows:

-
+
image:
-
The image.
+

The image.

+
@@ -254,30 +242,30 @@ unsigned int NegateImage( NormalizeImage

Synopsis

-
-unsigned int NormalizeImage( Image *image );
-
+
unsigned int NormalizeImage( Image *image );

Description

The NormalizeImage() method enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available.

The format of the NormalizeImage method is:

-
-unsigned int NormalizeImage( Image *image );
-
+
unsigned int NormalizeImage( Image *image );

A description of each parameter follows:

-
+
image:
-
The image.
+

The image.

+
+
-

Copyright © GraphicsMagick Group 2002 - 2022

+

Copyright © GraphicsMagick Group 2002 - 2023

+
+ -- cgit v1.2.3