Base transform
base_transform
#
BaseTransform
#
Bases: typing.Generic[imgtools.transforms.base_transform.T_Image], abc.ABC
Abstract base class for image transforms.
Classes inheriting from this must implement the __call__ method that
applies a transformation to an image and returns the result.
This class provides a common interface for all transforms in the package, allowing them to be used interchangeably and composed together.
name
property
#
Return the name of the transform class for logging and debugging.
Returns:
| Type | Description |
|---|---|
str
|
The name of the transform class. |