Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/safeds/data/image/containers/_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from PIL.Image import open as open_image

from safeds.data.image.typing import ImageFormat
from safeds.exceptions._data import WrongFileExtensionError
from safeds.exceptions import WrongFileExtensionError


class Image:
Expand Down Expand Up @@ -352,15 +352,15 @@ def adjust_contrast(self, factor: float) -> Image:
image_copy._image = ImageEnhance.Contrast(image_copy._image).enhance(factor)
return image_copy

def blur(self, radius: int = 1) -> Image:
def blur(self, radius: int) -> Image:
"""
Return the blurred image.

Parameters
----------
radius : int
Radius is directly proportional to the blur value. The radius is equal to the amount of pixels united in each direction.
A Radius of 1 will result in a united box of 9 pixels.
Radius is directly proportional to the blur value. The radius is equal to the amount of pixels united in
each direction. A radius of 1 will result in a united box of 9 pixels.

Returns
-------
Expand Down