From 47c24503e0636f258e2af2b18e552d52271308bf Mon Sep 17 00:00:00 2001 From: Vladimir Iglovikov Date: Sat, 7 Dec 2024 19:24:31 -0800 Subject: [PATCH] Fix docstring in sharpen (#2181) * Empty-Commit * Fix in doscring --- albumentations/augmentations/transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/albumentations/augmentations/transforms.py b/albumentations/augmentations/transforms.py index f4fc56f93..a6e42d4de 100644 --- a/albumentations/augmentations/transforms.py +++ b/albumentations/augmentations/transforms.py @@ -4005,7 +4005,7 @@ class Sharpen(ImageOnlyTransform): Only used in 'kernel' method. Larger values create higher contrast. Values should be greater than 0. Default: (0.5, 1.0). - method (str): Sharpening algorithm to use: + method (Literal['kernel', 'gaussian']): Sharpening algorithm to use: - 'kernel': Traditional kernel-based sharpening using Laplacian operator - 'gaussian': Interpolation between Gaussian blurred and original image Default: 'kernel'