Block#
- class prose.Block#
Single unit of processing acting on the
ImageobjectReading, processing and writing
Imageattributes. When placed in a sequence, it goes through two steps:terminate()called after theSequenceis terminated
- Parameters:
name (str, optional) – name of the block, by default None
class (All prose blocks must be child of this parent) –
Methods
__init__([name, verbose])from_args(args)run(image, **kwargs)Running on a image (must be overwritten when subclassed)
Method called after block's
Sequenceis finished (if any)Attributes
argscitations