diff --git a/pixel_craft/main.py b/pixel_craft/main.py index f0fab7e..bd65440 100644 --- a/pixel_craft/main.py +++ b/pixel_craft/main.py @@ -61,7 +61,6 @@ def __getattribute__(cls, __name: str) -> t.Any | _MatLike: class Image(metaclass=ImageMeta): """Primary image class for loading, saving and displaying the image.""" - _help: str __supported_operations: _SupportedOperations = {} def __init_subclass__(cls) -> None: @@ -210,12 +209,6 @@ class Grayscale(Image): information lost. """ - _help: str = ( - "Convert the source image from its current color space to grayscale. " - "In case of a transformation to-from RGB color space, the order of " - "the channels should be specified explicitly (RGB or BGR)." - ) - @classmethod def __call__(cls, **kwargs: t.Any) -> type[Image]: """Convert source image to grayscale.""" @@ -227,8 +220,6 @@ def __call__(cls, **kwargs: t.Any) -> type[Image]: class Invert(Image): """Class for inverting the image.""" - _help: str = "Create a digital negative of the source image." - @classmethod def __call__(cls, **kwargs) -> type[t.Self]: """Invert source image to a digital negative.""" @@ -241,8 +232,6 @@ def __call__(cls, **kwargs) -> type[t.Self]: class StandardBlur(Image): """Class for blurring image using normalized box filter.""" - _help: str = "Blur the source image using normalized box filter." - @classmethod def __call__(cls, **kwargs: t.Any) -> type[Image]: """Blurs the source image using the normalized box filter. @@ -264,8 +253,6 @@ def __call__(cls, **kwargs: t.Any) -> type[Image]: class GaussianBlur(Image): """Class for blurring image using Gaussian filter.""" - _help: str = "Blur the source image using a Gaussian filter." - @classmethod def __call__(cls, **kwargs: t.Any) -> type[Image]: """Blurs the source image using a Gaussian filter. @@ -291,8 +278,6 @@ def __call__(cls, **kwargs: t.Any) -> type[Image]: class Canny(Image): """Class for detecting edges using Canny Edge Detection.""" - _help: str = "Finds edges in an image using the Canny algorithm." - @classmethod def __call__(cls, **kwargs: t.Any) -> type[Image]: """Finds edges in an image using the Canny algorithm. @@ -332,8 +317,6 @@ def __call__(cls, **kwargs: t.Any) -> type[Image]: class Sobel(Image): """Class for detecting edges using Sobel operator/filter.""" - _help: str = "Finds edges in an image using Sobel operator." - @classmethod def __call__(cls, **kwargs: t.Any) -> type[Image]: """Finds edges in an image using Sobel operator. @@ -399,8 +382,6 @@ def __call__(cls, **kwargs: t.Any) -> type[Image]: class Prewitt(Image): """Class for detecting edges using Prewitt operator/filter.""" - _help: str = "Finds edges in an image using Prewitt operator." - @classmethod def __call__(cls, **kwargs: t.Any) -> type[Image]: """Finds edges in an image using Prewitt operator. @@ -451,8 +432,6 @@ def __call__(cls, **kwargs: t.Any) -> type[Image]: class Histogram(Image): """Class for representing image as Histogram.""" - _help: str = "Represent image as histogram." - @classmethod def __call__(cls, **kwargs: t.Any) -> type[Image]: """Show histogram plot using Matplotlib."""