swtloc.base.TextTransformBase

class swtloc.base.TextTransformBase(image: numpy.ndarray, image_name: str, input_flag: ByteString, cfg: Dict)[source]

Bases: object

Base class for various transformation classes. for example: a SWTImage.

Methods

TextTransformBase.__init__(image, ...)

Create a TextTransformBase which will house the properties of the input image, its name, its input type flag, transform configuration and various other parameters corresponding to various stages in the transformation process.