# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.3.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.


import collections

from sys import version_info as _version_info
if _version_info < (3, 7, 0):
    raise RuntimeError("Python 3.7 or later required")

from . import _ITKCommonPython


from . import _ITKLabelMapPython



from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _itkBinaryReconstructionByDilationImageFilterPython
else:
    import _itkBinaryReconstructionByDilationImageFilterPython

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


if _swig_python_version_info[0:2] >= (3, 3):
    import collections.abc
else:
    import collections

import itk.itkImagePython
import itk.itkIndexPython
import itk.itkOffsetPython
import itk.itkSizePython
import itk.pyBasePython
import itk.itkVectorPython
import itk.vnl_vector_refPython
import itk.vnl_vectorPython
import itk.vnl_matrixPython
import itk.stdcomplexPython
import itk.itkFixedArrayPython
import itk.itkCovariantVectorPython
import itk.itkRGBAPixelPython
import itk.itkImageRegionPython
import itk.ITKCommonBasePython
import itk.itkMatrixPython
import itk.vnl_matrix_fixedPython
import itk.itkPointPython
import itk.itkRGBPixelPython
import itk.itkSymmetricSecondRankTensorPython
import itk.itkImageToImageFilterAPython
import itk.itkImageToImageFilterCommonPython
import itk.itkImageSourcePython
import itk.itkImageSourceCommonPython
import itk.itkPhasedArray3DSpecialCoordinatesImagePython
import itk.itkVectorImagePython
import itk.itkVariableLengthVectorPython

def itkBinaryReconstructionByDilationImageFilterISS2_New():
    return itkBinaryReconstructionByDilationImageFilterISS2.New()

class itkBinaryReconstructionByDilationImageFilterISS2(itk.itkImageToImageFilterAPython.itkImageToImageFilterISS2ISS2):
    r"""Proxy of C++ itkBinaryReconstructionByDilationImageFilterISS2 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    @staticmethod
    def __New_orig__():
        r"""__New_orig__() -> itkBinaryReconstructionByDilationImageFilterISS2_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkBinaryReconstructionByDilationImageFilterISS2_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_Clone(self)

    def SetFullyConnected(self, _arg):
        r"""
        SetFullyConnected(self, _arg)

        Parameters
        ----------
        _arg: bool

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_FullyConnectedOff(self)
    InputEqualityComparableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_InputEqualityComparableCheck
    
    IntConvertibleToInputCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_IntConvertibleToInputCheck
    
    InputOStreamWritableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_InputOStreamWritableCheck
    

    def SetBackgroundValue(self, _arg):
        r"""
        SetBackgroundValue(self, _arg)

        Parameters
        ----------
        _arg: short

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_GetBackgroundValue(self)

    def SetForegroundValue(self, _arg):
        r"""
        SetForegroundValue(self, _arg)

        Parameters
        ----------
        _arg: short

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_SetForegroundValue(self, _arg)

    def GetForegroundValue(self):
        r"""GetForegroundValue(self) -> short"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_GetForegroundValue(self)

    def SetMarkerImage(self, _arg):
        r"""
        SetMarkerImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageSS2 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_SetMarkerImage(self, _arg)

    def GetMarkerImage(self):
        r"""GetMarkerImage(self) -> itkImageSS2"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_GetMarkerImage(self)

    def SetMaskImage(self, _arg):
        r"""
        SetMaskImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageSS2 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageSS2"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_GetMaskImage(self)
    __swig_destroy__ = _itkBinaryReconstructionByDilationImageFilterPython.delete_itkBinaryReconstructionByDilationImageFilterISS2

    @staticmethod
    def cast(obj):
        r"""
        cast(obj) -> itkBinaryReconstructionByDilationImageFilterISS2

        Parameters
        ----------
        obj: itkLightObject *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_cast(obj)

    def New(*args, **kargs):
        """New() -> itkBinaryReconstructionByDilationImageFilterISS2

        Create a new object of the class itkBinaryReconstructionByDilationImageFilterISS2 and set the input and the parameters if some
        named or non-named arguments are passed to that method.

        New() tries to assign all the non named parameters to the input of the new objects - the
        first non named parameter in the first input, etc.

        The named parameters are used by calling the method with the same name prefixed by 'Set'.

        Ex:

          itkBinaryReconstructionByDilationImageFilterISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

          obj = itkBinaryReconstructionByDilationImageFilterISS2.New()
          obj.SetInput(0, reader.GetOutput())
          obj.SetThreshold(10)
        """
        obj = itkBinaryReconstructionByDilationImageFilterISS2.__New_orig__()
        from itk.support import template_class
        template_class.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkBinaryReconstructionByDilationImageFilterISS2 in _itkBinaryReconstructionByDilationImageFilterPython:
_itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS2_swigregister(itkBinaryReconstructionByDilationImageFilterISS2)

def itkBinaryReconstructionByDilationImageFilterISS3_New():
    return itkBinaryReconstructionByDilationImageFilterISS3.New()

class itkBinaryReconstructionByDilationImageFilterISS3(itk.itkImageToImageFilterAPython.itkImageToImageFilterISS3ISS3):
    r"""Proxy of C++ itkBinaryReconstructionByDilationImageFilterISS3 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    @staticmethod
    def __New_orig__():
        r"""__New_orig__() -> itkBinaryReconstructionByDilationImageFilterISS3_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkBinaryReconstructionByDilationImageFilterISS3_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_Clone(self)

    def SetFullyConnected(self, _arg):
        r"""
        SetFullyConnected(self, _arg)

        Parameters
        ----------
        _arg: bool

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_FullyConnectedOff(self)
    InputEqualityComparableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_InputEqualityComparableCheck
    
    IntConvertibleToInputCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_IntConvertibleToInputCheck
    
    InputOStreamWritableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_InputOStreamWritableCheck
    

    def SetBackgroundValue(self, _arg):
        r"""
        SetBackgroundValue(self, _arg)

        Parameters
        ----------
        _arg: short

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_GetBackgroundValue(self)

    def SetForegroundValue(self, _arg):
        r"""
        SetForegroundValue(self, _arg)

        Parameters
        ----------
        _arg: short

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_SetForegroundValue(self, _arg)

    def GetForegroundValue(self):
        r"""GetForegroundValue(self) -> short"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_GetForegroundValue(self)

    def SetMarkerImage(self, _arg):
        r"""
        SetMarkerImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageSS3 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_SetMarkerImage(self, _arg)

    def GetMarkerImage(self):
        r"""GetMarkerImage(self) -> itkImageSS3"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_GetMarkerImage(self)

    def SetMaskImage(self, _arg):
        r"""
        SetMaskImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageSS3 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageSS3"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_GetMaskImage(self)
    __swig_destroy__ = _itkBinaryReconstructionByDilationImageFilterPython.delete_itkBinaryReconstructionByDilationImageFilterISS3

    @staticmethod
    def cast(obj):
        r"""
        cast(obj) -> itkBinaryReconstructionByDilationImageFilterISS3

        Parameters
        ----------
        obj: itkLightObject *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_cast(obj)

    def New(*args, **kargs):
        """New() -> itkBinaryReconstructionByDilationImageFilterISS3

        Create a new object of the class itkBinaryReconstructionByDilationImageFilterISS3 and set the input and the parameters if some
        named or non-named arguments are passed to that method.

        New() tries to assign all the non named parameters to the input of the new objects - the
        first non named parameter in the first input, etc.

        The named parameters are used by calling the method with the same name prefixed by 'Set'.

        Ex:

          itkBinaryReconstructionByDilationImageFilterISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

          obj = itkBinaryReconstructionByDilationImageFilterISS3.New()
          obj.SetInput(0, reader.GetOutput())
          obj.SetThreshold(10)
        """
        obj = itkBinaryReconstructionByDilationImageFilterISS3.__New_orig__()
        from itk.support import template_class
        template_class.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkBinaryReconstructionByDilationImageFilterISS3 in _itkBinaryReconstructionByDilationImageFilterPython:
_itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterISS3_swigregister(itkBinaryReconstructionByDilationImageFilterISS3)

def itkBinaryReconstructionByDilationImageFilterIUC2_New():
    return itkBinaryReconstructionByDilationImageFilterIUC2.New()

class itkBinaryReconstructionByDilationImageFilterIUC2(itk.itkImageToImageFilterAPython.itkImageToImageFilterIUC2IUC2):
    r"""Proxy of C++ itkBinaryReconstructionByDilationImageFilterIUC2 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    @staticmethod
    def __New_orig__():
        r"""__New_orig__() -> itkBinaryReconstructionByDilationImageFilterIUC2_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkBinaryReconstructionByDilationImageFilterIUC2_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_Clone(self)

    def SetFullyConnected(self, _arg):
        r"""
        SetFullyConnected(self, _arg)

        Parameters
        ----------
        _arg: bool

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_FullyConnectedOff(self)
    InputEqualityComparableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_InputEqualityComparableCheck
    
    IntConvertibleToInputCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_IntConvertibleToInputCheck
    
    InputOStreamWritableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_InputOStreamWritableCheck
    

    def SetBackgroundValue(self, _arg):
        r"""
        SetBackgroundValue(self, _arg)

        Parameters
        ----------
        _arg: unsigned char

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_GetBackgroundValue(self)

    def SetForegroundValue(self, _arg):
        r"""
        SetForegroundValue(self, _arg)

        Parameters
        ----------
        _arg: unsigned char

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_SetForegroundValue(self, _arg)

    def GetForegroundValue(self):
        r"""GetForegroundValue(self) -> unsigned char"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_GetForegroundValue(self)

    def SetMarkerImage(self, _arg):
        r"""
        SetMarkerImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageUC2 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_SetMarkerImage(self, _arg)

    def GetMarkerImage(self):
        r"""GetMarkerImage(self) -> itkImageUC2"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_GetMarkerImage(self)

    def SetMaskImage(self, _arg):
        r"""
        SetMaskImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageUC2 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageUC2"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_GetMaskImage(self)
    __swig_destroy__ = _itkBinaryReconstructionByDilationImageFilterPython.delete_itkBinaryReconstructionByDilationImageFilterIUC2

    @staticmethod
    def cast(obj):
        r"""
        cast(obj) -> itkBinaryReconstructionByDilationImageFilterIUC2

        Parameters
        ----------
        obj: itkLightObject *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_cast(obj)

    def New(*args, **kargs):
        """New() -> itkBinaryReconstructionByDilationImageFilterIUC2

        Create a new object of the class itkBinaryReconstructionByDilationImageFilterIUC2 and set the input and the parameters if some
        named or non-named arguments are passed to that method.

        New() tries to assign all the non named parameters to the input of the new objects - the
        first non named parameter in the first input, etc.

        The named parameters are used by calling the method with the same name prefixed by 'Set'.

        Ex:

          itkBinaryReconstructionByDilationImageFilterIUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

          obj = itkBinaryReconstructionByDilationImageFilterIUC2.New()
          obj.SetInput(0, reader.GetOutput())
          obj.SetThreshold(10)
        """
        obj = itkBinaryReconstructionByDilationImageFilterIUC2.__New_orig__()
        from itk.support import template_class
        template_class.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkBinaryReconstructionByDilationImageFilterIUC2 in _itkBinaryReconstructionByDilationImageFilterPython:
_itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC2_swigregister(itkBinaryReconstructionByDilationImageFilterIUC2)

def itkBinaryReconstructionByDilationImageFilterIUC3_New():
    return itkBinaryReconstructionByDilationImageFilterIUC3.New()

class itkBinaryReconstructionByDilationImageFilterIUC3(itk.itkImageToImageFilterAPython.itkImageToImageFilterIUC3IUC3):
    r"""Proxy of C++ itkBinaryReconstructionByDilationImageFilterIUC3 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    @staticmethod
    def __New_orig__():
        r"""__New_orig__() -> itkBinaryReconstructionByDilationImageFilterIUC3_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkBinaryReconstructionByDilationImageFilterIUC3_Pointer"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_Clone(self)

    def SetFullyConnected(self, _arg):
        r"""
        SetFullyConnected(self, _arg)

        Parameters
        ----------
        _arg: bool

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_FullyConnectedOff(self)
    InputEqualityComparableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_InputEqualityComparableCheck
    
    IntConvertibleToInputCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_IntConvertibleToInputCheck
    
    InputOStreamWritableCheck = _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_InputOStreamWritableCheck
    

    def SetBackgroundValue(self, _arg):
        r"""
        SetBackgroundValue(self, _arg)

        Parameters
        ----------
        _arg: unsigned char

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_GetBackgroundValue(self)

    def SetForegroundValue(self, _arg):
        r"""
        SetForegroundValue(self, _arg)

        Parameters
        ----------
        _arg: unsigned char

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_SetForegroundValue(self, _arg)

    def GetForegroundValue(self):
        r"""GetForegroundValue(self) -> unsigned char"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_GetForegroundValue(self)

    def SetMarkerImage(self, _arg):
        r"""
        SetMarkerImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageUC3 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_SetMarkerImage(self, _arg)

    def GetMarkerImage(self):
        r"""GetMarkerImage(self) -> itkImageUC3"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_GetMarkerImage(self)

    def SetMaskImage(self, _arg):
        r"""
        SetMaskImage(self, _arg)

        Parameters
        ----------
        _arg: itkImageUC3 const *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageUC3"""
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_GetMaskImage(self)
    __swig_destroy__ = _itkBinaryReconstructionByDilationImageFilterPython.delete_itkBinaryReconstructionByDilationImageFilterIUC3

    @staticmethod
    def cast(obj):
        r"""
        cast(obj) -> itkBinaryReconstructionByDilationImageFilterIUC3

        Parameters
        ----------
        obj: itkLightObject *

        """
        return _itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_cast(obj)

    def New(*args, **kargs):
        """New() -> itkBinaryReconstructionByDilationImageFilterIUC3

        Create a new object of the class itkBinaryReconstructionByDilationImageFilterIUC3 and set the input and the parameters if some
        named or non-named arguments are passed to that method.

        New() tries to assign all the non named parameters to the input of the new objects - the
        first non named parameter in the first input, etc.

        The named parameters are used by calling the method with the same name prefixed by 'Set'.

        Ex:

          itkBinaryReconstructionByDilationImageFilterIUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

          obj = itkBinaryReconstructionByDilationImageFilterIUC3.New()
          obj.SetInput(0, reader.GetOutput())
          obj.SetThreshold(10)
        """
        obj = itkBinaryReconstructionByDilationImageFilterIUC3.__New_orig__()
        from itk.support import template_class
        template_class.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkBinaryReconstructionByDilationImageFilterIUC3 in _itkBinaryReconstructionByDilationImageFilterPython:
_itkBinaryReconstructionByDilationImageFilterPython.itkBinaryReconstructionByDilationImageFilterIUC3_swigregister(itkBinaryReconstructionByDilationImageFilterIUC3)

from itk.support import helpers
import itk.support.types as itkt
from typing import Sequence, Tuple, Union

@helpers.accept_array_like_xarray_torch
def binary_reconstruction_by_dilation_image_filter(*args: itkt.ImageLike,  fully_connected: bool=..., background_value: int=..., foreground_value: int=..., marker_image: itkt.Image=..., mask_image: itkt.Image=...,**kwargs)-> itkt.ImageSourceReturn:
    """Functional interface for BinaryReconstructionByDilationImageFilter"""
    import itk

    kwarg_typehints = { 'fully_connected':fully_connected,'background_value':background_value,'foreground_value':foreground_value,'marker_image':marker_image,'mask_image':mask_image }
    specified_kwarg_typehints = { k:v for (k,v) in kwarg_typehints.items() if kwarg_typehints[k] is not ... }
    kwargs.update(specified_kwarg_typehints)


    instance = itk.BinaryReconstructionByDilationImageFilter.New(*args, **kwargs)

    return instance.__internal_call__()

def binary_reconstruction_by_dilation_image_filter_init_docstring():
    import itk
    from itk.support import template_class

    filter_class = itk.ITKLabelMap.BinaryReconstructionByDilationImageFilter
    binary_reconstruction_by_dilation_image_filter.process_object = filter_class
    is_template = isinstance(filter_class, template_class.itkTemplate)
    if is_template:
        filter_object = filter_class.values()[0]
    else:
        filter_object = filter_class

    binary_reconstruction_by_dilation_image_filter.__doc__ = filter_object.__doc__



