Updated indents

This commit is contained in:
Andrew Murray 2024-03-26 06:08:10 +11:00
parent 9d101bffeb
commit 2c6258bee5

View File

@ -42,15 +42,13 @@ class Kernel(BuiltinFilter):
Kernels can only be applied to "L" and "RGB" images.
:param size: Kernel size, given as (width, height).
This must be (3,3) or (5,5).
:param kernel: A sequence containing kernel weights. The kernel will
be flipped vertically before being applied to the image.
:param scale: Scale factor. If given, the result for each pixel is
divided by this value. The default is the sum of the
kernel weights.
:param offset: Offset. If given, this value is added to the result,
after it has been divided by the scale factor.
:param size: Kernel size, given as (width, height). This must be (3,3) or (5,5).
:param kernel: A sequence containing kernel weights. The kernel will be flipped
vertically before being applied to the image.
:param scale: Scale factor. If given, the result for each pixel is divided by this
value. The default is the sum of the kernel weights.
:param offset: Offset. If given, this value is added to the result, after it has
been divided by the scale factor.
"""
name = "Kernel"