Skip to content

Commit 943a7a8

Browse files
authored
Merge pull request #7065 from radarhere/imageenhance
2 parents 7d3a6aa + 4720774 commit 943a7a8

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

docs/reference/ImageEnhance.rst

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Classes
2929
All enhancement classes implement a common interface, containing a single
3030
method:
3131

32+
.. _enhancement-factor:
33+
3234
.. py:class:: _Enhance
3335
3436
.. py:method:: enhance(factor)
@@ -45,31 +47,35 @@ method:
4547
4648
Adjust image color balance.
4749

48-
This class can be used to adjust the colour balance of an image, in
49-
a manner similar to the controls on a colour TV set. An enhancement
50-
factor of 0.0 gives a black and white image. A factor of 1.0 gives
51-
the original image.
50+
This class can be used to adjust the colour balance of an image, in a
51+
manner similar to the controls on a colour TV set. An
52+
:ref:`enhancement factor <enhancement-factor>` of 0.0 gives a black and
53+
white image. A factor of 1.0 gives the original image.
5254

5355
.. py:class:: Contrast(image)
5456
5557
Adjust image contrast.
5658

57-
This class can be used to control the contrast of an image, similar
58-
to the contrast control on a TV set. An enhancement factor of 0.0
59-
gives a solid grey image. A factor of 1.0 gives the original image.
59+
This class can be used to control the contrast of an image, similar to the
60+
contrast control on a TV set. An
61+
:ref:`enhancement factor <enhancement-factor>` of 0.0 gives a solid grey
62+
image, a factor of 1.0 gives the original image, and greater values
63+
increase the contrast of the image.
6064

6165
.. py:class:: Brightness(image)
6266
6367
Adjust image brightness.
6468

65-
This class can be used to control the brightness of an image. An
66-
enhancement factor of 0.0 gives a black image. A factor of 1.0 gives the
67-
original image.
69+
This class can be used to control the brightness of an image. An
70+
:ref:`enhancement factor <enhancement-factor>` of 0.0 gives a black image,
71+
a factor of 1.0 gives the original image, and greater values increase the
72+
brightness of the image.
6873

6974
.. py:class:: Sharpness(image)
7075
7176
Adjust image sharpness.
7277

7378
This class can be used to adjust the sharpness of an image. An
74-
enhancement factor of 0.0 gives a blurred image, a factor of 1.0 gives the
75-
original image, and a factor of 2.0 gives a sharpened image.
79+
:ref:`enhancement factor <enhancement-factor>` of 0.0 gives a blurred
80+
image, a factor of 1.0 gives the original image, and a factor of 2.0 gives
81+
a sharpened image.

0 commit comments

Comments
 (0)