mitk.MergeStyle#

class mitk.MergeStyle#

Bases: pybind11_object

How an incoming source image should combine with an existing destination in a MultiLabelSegmentation mutation.

Members:

REPLACE : Overwrite destination pixels wherever the source provides a value.

MERGE : Combine source and destination labels (the source layer is added on top).

__init__(self: mitk.MergeStyle, value: SupportsInt) None#

Methods

__init__(self, value)

Attributes

MERGE

REPLACE

name(-> str)

value

MERGE = <MergeStyle.MERGE: 1>#
REPLACE = <MergeStyle.REPLACE: 0>#
__eq__(self: object, other: object, /) bool#
__ne__(self: object, other: object, /) bool#
MergeStyle.name -> str
property value#