mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-08 01:43:42 +03:00
Updated indents
This commit is contained in:
parent
9d101bffeb
commit
2c6258bee5
|
@ -42,15 +42,13 @@ class Kernel(BuiltinFilter):
|
||||||
|
|
||||||
Kernels can only be applied to "L" and "RGB" images.
|
Kernels can only be applied to "L" and "RGB" images.
|
||||||
|
|
||||||
:param size: Kernel size, given as (width, height).
|
:param size: Kernel size, given as (width, height). This must be (3,3) or (5,5).
|
||||||
This must be (3,3) or (5,5).
|
:param kernel: A sequence containing kernel weights. The kernel will be flipped
|
||||||
:param kernel: A sequence containing kernel weights. The kernel will
|
vertically before being applied to the image.
|
||||||
be flipped vertically before being applied to the image.
|
:param scale: Scale factor. If given, the result for each pixel is divided by this
|
||||||
:param scale: Scale factor. If given, the result for each pixel is
|
value. The default is the sum of the kernel weights.
|
||||||
divided by this value. The default is the sum of the
|
:param offset: Offset. If given, this value is added to the result, after it has
|
||||||
kernel weights.
|
been divided by the scale factor.
|
||||||
:param offset: Offset. If given, this value is added to the result,
|
|
||||||
after it has been divided by the scale factor.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name = "Kernel"
|
name = "Kernel"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user