@@ -29,6 +29,8 @@ Classes
29
29
All enhancement classes implement a common interface, containing a single
30
30
method:
31
31
32
+ .. _enhancement-factor :
33
+
32
34
.. py :class :: _Enhance
33
35
34
36
.. py :method :: enhance(factor)
@@ -45,31 +47,35 @@ method:
45
47
46
48
Adjust image color balance.
47
49
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.
52
54
53
55
.. py :class :: Contrast(image)
54
56
55
57
Adjust image contrast.
56
58
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.
60
64
61
65
.. py :class :: Brightness(image)
62
66
63
67
Adjust image brightness.
64
68
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.
68
73
69
74
.. py :class :: Sharpness(image)
70
75
71
76
Adjust image sharpness.
72
77
73
78
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