# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.4.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 _ITKConnectedComponentsPython



from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if getattr(globals().get("__spec__"), "parent", None) or __package__ or "." in __name__:
    from . import _itkConnectedComponentImageFilterPython
else:
    import _itkConnectedComponentImageFilterPython

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.itkImageToImageFilterBPython
import itk.itkImageRegionPython
import itk.itkSizePython
import itk.pyBasePython
import itk.ITKCommonBasePython
import itk.itkMatrixPython
import itk.vnl_matrix_fixedPython
import itk.vnl_vectorPython
import itk.stdcomplexPython
import itk.vnl_matrixPython
import itk.itkPointPython
import itk.vnl_vector_refPython
import itk.itkFixedArrayPython
import itk.itkVectorPython
import itk.itkCovariantVectorPython
import itk.itkIndexPython
import itk.itkOffsetPython
import itk.itkImageSourcePython
import itk.itkImagePython
import itk.itkRGBPixelPython
import itk.itkSymmetricSecondRankTensorPython
import itk.itkRGBAPixelPython
import itk.itkImageSourceCommonPython
import itk.itkVectorImagePython
import itk.itkVariableLengthVectorPython
import itk.itkPhasedArray3DSpecialCoordinatesImagePython
import itk.itkImageToImageFilterCommonPython
import itk.itkImageToImageFilterAPython
import itk.itkScanlineFilterCommonPython

def itkConnectedComponentImageFilterICVF22ISS2_New():
    return itkConnectedComponentImageFilterICVF22ISS2.New()

class itkConnectedComponentImageFilterICVF22ISS2(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF22ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF22ISS2 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__() -> itkConnectedComponentImageFilterICVF22ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF22ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF22 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF22"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF22ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF22ISS2 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:

          itkConnectedComponentImageFilterICVF22ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF22ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22ISS2_swigregister(itkConnectedComponentImageFilterICVF22ISS2)

def itkConnectedComponentImageFilterICVF22IUC2_New():
    return itkConnectedComponentImageFilterICVF22IUC2.New()

class itkConnectedComponentImageFilterICVF22IUC2(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF22IUC2):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF22IUC2 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__() -> itkConnectedComponentImageFilterICVF22IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF22IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF22 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF22"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF22IUC2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF22IUC2 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:

          itkConnectedComponentImageFilterICVF22IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF22IUC2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF22IUC2_swigregister(itkConnectedComponentImageFilterICVF22IUC2)

def itkConnectedComponentImageFilterICVF23ISS3_New():
    return itkConnectedComponentImageFilterICVF23ISS3.New()

class itkConnectedComponentImageFilterICVF23ISS3(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF23ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF23ISS3 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__() -> itkConnectedComponentImageFilterICVF23ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF23ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF23 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF23"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF23ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF23ISS3 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:

          itkConnectedComponentImageFilterICVF23ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF23ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23ISS3_swigregister(itkConnectedComponentImageFilterICVF23ISS3)

def itkConnectedComponentImageFilterICVF23IUC3_New():
    return itkConnectedComponentImageFilterICVF23IUC3.New()

class itkConnectedComponentImageFilterICVF23IUC3(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF23IUC3):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF23IUC3 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__() -> itkConnectedComponentImageFilterICVF23IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF23IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF23 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF23"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF23IUC3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF23IUC3 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:

          itkConnectedComponentImageFilterICVF23IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF23IUC3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF23IUC3_swigregister(itkConnectedComponentImageFilterICVF23IUC3)

def itkConnectedComponentImageFilterICVF32ISS2_New():
    return itkConnectedComponentImageFilterICVF32ISS2.New()

class itkConnectedComponentImageFilterICVF32ISS2(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF32ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF32ISS2 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__() -> itkConnectedComponentImageFilterICVF32ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF32ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF32 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF32"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF32ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF32ISS2 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:

          itkConnectedComponentImageFilterICVF32ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF32ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32ISS2_swigregister(itkConnectedComponentImageFilterICVF32ISS2)

def itkConnectedComponentImageFilterICVF32IUC2_New():
    return itkConnectedComponentImageFilterICVF32IUC2.New()

class itkConnectedComponentImageFilterICVF32IUC2(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF32IUC2):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF32IUC2 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__() -> itkConnectedComponentImageFilterICVF32IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF32IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF32 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF32"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF32IUC2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF32IUC2 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:

          itkConnectedComponentImageFilterICVF32IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF32IUC2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF32IUC2_swigregister(itkConnectedComponentImageFilterICVF32IUC2)

def itkConnectedComponentImageFilterICVF33ISS3_New():
    return itkConnectedComponentImageFilterICVF33ISS3.New()

class itkConnectedComponentImageFilterICVF33ISS3(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF33ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF33ISS3 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__() -> itkConnectedComponentImageFilterICVF33ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF33ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF33 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF33"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF33ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF33ISS3 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:

          itkConnectedComponentImageFilterICVF33ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF33ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33ISS3_swigregister(itkConnectedComponentImageFilterICVF33ISS3)

def itkConnectedComponentImageFilterICVF33IUC3_New():
    return itkConnectedComponentImageFilterICVF33IUC3.New()

class itkConnectedComponentImageFilterICVF33IUC3(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF33IUC3):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF33IUC3 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__() -> itkConnectedComponentImageFilterICVF33IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF33IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF33 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF33"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF33IUC3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF33IUC3 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:

          itkConnectedComponentImageFilterICVF33IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF33IUC3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF33IUC3_swigregister(itkConnectedComponentImageFilterICVF33IUC3)

def itkConnectedComponentImageFilterICVF42ISS2_New():
    return itkConnectedComponentImageFilterICVF42ISS2.New()

class itkConnectedComponentImageFilterICVF42ISS2(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF42ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF42ISS2 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__() -> itkConnectedComponentImageFilterICVF42ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF42ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF42 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF42"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF42ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF42ISS2 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:

          itkConnectedComponentImageFilterICVF42ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF42ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42ISS2_swigregister(itkConnectedComponentImageFilterICVF42ISS2)

def itkConnectedComponentImageFilterICVF42IUC2_New():
    return itkConnectedComponentImageFilterICVF42IUC2.New()

class itkConnectedComponentImageFilterICVF42IUC2(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF42IUC2):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF42IUC2 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__() -> itkConnectedComponentImageFilterICVF42IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF42IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF42 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF42"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF42IUC2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF42IUC2 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:

          itkConnectedComponentImageFilterICVF42IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF42IUC2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF42IUC2_swigregister(itkConnectedComponentImageFilterICVF42IUC2)

def itkConnectedComponentImageFilterICVF43ISS3_New():
    return itkConnectedComponentImageFilterICVF43ISS3.New()

class itkConnectedComponentImageFilterICVF43ISS3(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF43ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF43ISS3 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__() -> itkConnectedComponentImageFilterICVF43ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF43ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF43 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF43"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF43ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF43ISS3 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:

          itkConnectedComponentImageFilterICVF43ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF43ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43ISS3_swigregister(itkConnectedComponentImageFilterICVF43ISS3)

def itkConnectedComponentImageFilterICVF43IUC3_New():
    return itkConnectedComponentImageFilterICVF43IUC3.New()

class itkConnectedComponentImageFilterICVF43IUC3(itk.itkImageToImageFilterBPython.itkImageToImageFilterICVF43IUC3):
    r"""Proxy of C++ itkConnectedComponentImageFilterICVF43IUC3 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__() -> itkConnectedComponentImageFilterICVF43IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterICVF43IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageCVF43 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageCVF43"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterICVF43IUC3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterICVF43IUC3 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:

          itkConnectedComponentImageFilterICVF43IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterICVF43IUC3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterICVF43IUC3_swigregister(itkConnectedComponentImageFilterICVF43IUC3)

def itkConnectedComponentImageFilterISS2ISS2_New():
    return itkConnectedComponentImageFilterISS2ISS2.New()

class itkConnectedComponentImageFilterISS2ISS2(itk.itkImageToImageFilterAPython.itkImageToImageFilterISS2ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterISS2ISS2 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__() -> itkConnectedComponentImageFilterISS2ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterISS2ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageSS2"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterISS2ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterISS2ISS2 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:

          itkConnectedComponentImageFilterISS2ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterISS2ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2ISS2_swigregister(itkConnectedComponentImageFilterISS2ISS2)

def itkConnectedComponentImageFilterISS2IUL2_New():
    return itkConnectedComponentImageFilterISS2IUL2.New()

class itkConnectedComponentImageFilterISS2IUL2(itk.itkImageToImageFilterAPython.itkImageToImageFilterISS2IUL2):
    r"""Proxy of C++ itkConnectedComponentImageFilterISS2IUL2 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__() -> itkConnectedComponentImageFilterISS2IUL2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterISS2IUL2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageSS2"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_GetMaskImage(self)

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

        Parameters
        ----------
        _arg: unsigned long

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned long"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterISS2IUL2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterISS2IUL2 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:

          itkConnectedComponentImageFilterISS2IUL2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterISS2IUL2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS2IUL2_swigregister(itkConnectedComponentImageFilterISS2IUL2)

def itkConnectedComponentImageFilterISS3ISS3_New():
    return itkConnectedComponentImageFilterISS3ISS3.New()

class itkConnectedComponentImageFilterISS3ISS3(itk.itkImageToImageFilterAPython.itkImageToImageFilterISS3ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterISS3ISS3 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__() -> itkConnectedComponentImageFilterISS3ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterISS3ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageSS3"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterISS3ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterISS3ISS3 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:

          itkConnectedComponentImageFilterISS3ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterISS3ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3ISS3_swigregister(itkConnectedComponentImageFilterISS3ISS3)

def itkConnectedComponentImageFilterISS3IUL3_New():
    return itkConnectedComponentImageFilterISS3IUL3.New()

class itkConnectedComponentImageFilterISS3IUL3(itk.itkImageToImageFilterAPython.itkImageToImageFilterISS3IUL3):
    r"""Proxy of C++ itkConnectedComponentImageFilterISS3IUL3 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__() -> itkConnectedComponentImageFilterISS3IUL3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterISS3IUL3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageSS3"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_GetMaskImage(self)

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

        Parameters
        ----------
        _arg: unsigned long

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned long"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterISS3IUL3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterISS3IUL3 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:

          itkConnectedComponentImageFilterISS3IUL3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterISS3IUL3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterISS3IUL3_swigregister(itkConnectedComponentImageFilterISS3IUL3)

def itkConnectedComponentImageFilterIUC2ISS2_New():
    return itkConnectedComponentImageFilterIUC2ISS2.New()

class itkConnectedComponentImageFilterIUC2ISS2(itk.itkImageToImageFilterAPython.itkImageToImageFilterIUC2ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIUC2ISS2 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__() -> itkConnectedComponentImageFilterIUC2ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIUC2ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageUC2"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIUC2ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIUC2ISS2 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:

          itkConnectedComponentImageFilterIUC2ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIUC2ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2ISS2_swigregister(itkConnectedComponentImageFilterIUC2ISS2)

def itkConnectedComponentImageFilterIUC2IUL2_New():
    return itkConnectedComponentImageFilterIUC2IUL2.New()

class itkConnectedComponentImageFilterIUC2IUL2(itk.itkImageToImageFilterAPython.itkImageToImageFilterIUC2IUL2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIUC2IUL2 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__() -> itkConnectedComponentImageFilterIUC2IUL2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIUC2IUL2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageUC2"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_GetMaskImage(self)

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

        Parameters
        ----------
        _arg: unsigned long

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned long"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIUC2IUL2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIUC2IUL2 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:

          itkConnectedComponentImageFilterIUC2IUL2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIUC2IUL2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC2IUL2_swigregister(itkConnectedComponentImageFilterIUC2IUL2)

def itkConnectedComponentImageFilterIUC3ISS3_New():
    return itkConnectedComponentImageFilterIUC3ISS3.New()

class itkConnectedComponentImageFilterIUC3ISS3(itk.itkImageToImageFilterAPython.itkImageToImageFilterIUC3ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIUC3ISS3 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__() -> itkConnectedComponentImageFilterIUC3ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIUC3ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageUC3"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIUC3ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIUC3ISS3 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:

          itkConnectedComponentImageFilterIUC3ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIUC3ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3ISS3_swigregister(itkConnectedComponentImageFilterIUC3ISS3)

def itkConnectedComponentImageFilterIUC3IUL3_New():
    return itkConnectedComponentImageFilterIUC3IUL3.New()

class itkConnectedComponentImageFilterIUC3IUL3(itk.itkImageToImageFilterAPython.itkImageToImageFilterIUC3IUL3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIUC3IUL3 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__() -> itkConnectedComponentImageFilterIUC3IUL3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIUC3IUL3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_OutputImagePixelTypeIsInteger
    

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageUC3"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_GetMaskImage(self)

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

        Parameters
        ----------
        _arg: unsigned long

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned long"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIUC3IUL3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIUC3IUL3 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:

          itkConnectedComponentImageFilterIUC3IUL3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIUC3IUL3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIUC3IUL3_swigregister(itkConnectedComponentImageFilterIUC3IUL3)

def itkConnectedComponentImageFilterIVF22ISS2_New():
    return itkConnectedComponentImageFilterIVF22ISS2.New()

class itkConnectedComponentImageFilterIVF22ISS2(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF22ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF22ISS2 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__() -> itkConnectedComponentImageFilterIVF22ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF22ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF22 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF22"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF22ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF22ISS2 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:

          itkConnectedComponentImageFilterIVF22ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF22ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22ISS2_swigregister(itkConnectedComponentImageFilterIVF22ISS2)

def itkConnectedComponentImageFilterIVF22IUC2_New():
    return itkConnectedComponentImageFilterIVF22IUC2.New()

class itkConnectedComponentImageFilterIVF22IUC2(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF22IUC2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF22IUC2 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__() -> itkConnectedComponentImageFilterIVF22IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF22IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF22 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF22"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF22IUC2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF22IUC2 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:

          itkConnectedComponentImageFilterIVF22IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF22IUC2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF22IUC2_swigregister(itkConnectedComponentImageFilterIVF22IUC2)

def itkConnectedComponentImageFilterIVF23ISS3_New():
    return itkConnectedComponentImageFilterIVF23ISS3.New()

class itkConnectedComponentImageFilterIVF23ISS3(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF23ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF23ISS3 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__() -> itkConnectedComponentImageFilterIVF23ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF23ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF23 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF23"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF23ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF23ISS3 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:

          itkConnectedComponentImageFilterIVF23ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF23ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23ISS3_swigregister(itkConnectedComponentImageFilterIVF23ISS3)

def itkConnectedComponentImageFilterIVF23IUC3_New():
    return itkConnectedComponentImageFilterIVF23IUC3.New()

class itkConnectedComponentImageFilterIVF23IUC3(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF23IUC3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF23IUC3 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__() -> itkConnectedComponentImageFilterIVF23IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF23IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF23 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF23"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF23IUC3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF23IUC3 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:

          itkConnectedComponentImageFilterIVF23IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF23IUC3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF23IUC3_swigregister(itkConnectedComponentImageFilterIVF23IUC3)

def itkConnectedComponentImageFilterIVF32ISS2_New():
    return itkConnectedComponentImageFilterIVF32ISS2.New()

class itkConnectedComponentImageFilterIVF32ISS2(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF32ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF32ISS2 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__() -> itkConnectedComponentImageFilterIVF32ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF32ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF32 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF32"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF32ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF32ISS2 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:

          itkConnectedComponentImageFilterIVF32ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF32ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32ISS2_swigregister(itkConnectedComponentImageFilterIVF32ISS2)

def itkConnectedComponentImageFilterIVF32IUC2_New():
    return itkConnectedComponentImageFilterIVF32IUC2.New()

class itkConnectedComponentImageFilterIVF32IUC2(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF32IUC2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF32IUC2 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__() -> itkConnectedComponentImageFilterIVF32IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF32IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF32 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF32"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF32IUC2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF32IUC2 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:

          itkConnectedComponentImageFilterIVF32IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF32IUC2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF32IUC2_swigregister(itkConnectedComponentImageFilterIVF32IUC2)

def itkConnectedComponentImageFilterIVF33ISS3_New():
    return itkConnectedComponentImageFilterIVF33ISS3.New()

class itkConnectedComponentImageFilterIVF33ISS3(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF33ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF33ISS3 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__() -> itkConnectedComponentImageFilterIVF33ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF33ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF33 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF33"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF33ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF33ISS3 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:

          itkConnectedComponentImageFilterIVF33ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF33ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33ISS3_swigregister(itkConnectedComponentImageFilterIVF33ISS3)

def itkConnectedComponentImageFilterIVF33IUC3_New():
    return itkConnectedComponentImageFilterIVF33IUC3.New()

class itkConnectedComponentImageFilterIVF33IUC3(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF33IUC3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF33IUC3 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__() -> itkConnectedComponentImageFilterIVF33IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF33IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF33 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF33"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF33IUC3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF33IUC3 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:

          itkConnectedComponentImageFilterIVF33IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF33IUC3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF33IUC3_swigregister(itkConnectedComponentImageFilterIVF33IUC3)

def itkConnectedComponentImageFilterIVF42ISS2_New():
    return itkConnectedComponentImageFilterIVF42ISS2.New()

class itkConnectedComponentImageFilterIVF42ISS2(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF42ISS2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF42ISS2 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__() -> itkConnectedComponentImageFilterIVF42ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF42ISS2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF42 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF42"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF42ISS2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF42ISS2 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:

          itkConnectedComponentImageFilterIVF42ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF42ISS2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42ISS2_swigregister(itkConnectedComponentImageFilterIVF42ISS2)

def itkConnectedComponentImageFilterIVF42IUC2_New():
    return itkConnectedComponentImageFilterIVF42IUC2.New()

class itkConnectedComponentImageFilterIVF42IUC2(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF42IUC2):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF42IUC2 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__() -> itkConnectedComponentImageFilterIVF42IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF42IUC2_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF42 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF42"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF42IUC2

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF42IUC2 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:

          itkConnectedComponentImageFilterIVF42IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF42IUC2 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF42IUC2_swigregister(itkConnectedComponentImageFilterIVF42IUC2)

def itkConnectedComponentImageFilterIVF43ISS3_New():
    return itkConnectedComponentImageFilterIVF43ISS3.New()

class itkConnectedComponentImageFilterIVF43ISS3(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF43ISS3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF43ISS3 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__() -> itkConnectedComponentImageFilterIVF43ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF43ISS3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF43 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF43"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> short"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF43ISS3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF43ISS3 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:

          itkConnectedComponentImageFilterIVF43ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF43ISS3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43ISS3_swigregister(itkConnectedComponentImageFilterIVF43ISS3)

def itkConnectedComponentImageFilterIVF43IUC3_New():
    return itkConnectedComponentImageFilterIVF43IUC3.New()

class itkConnectedComponentImageFilterIVF43IUC3(itk.itkImageToImageFilterBPython.itkImageToImageFilterIVF43IUC3):
    r"""Proxy of C++ itkConnectedComponentImageFilterIVF43IUC3 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__() -> itkConnectedComponentImageFilterIVF43IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkConnectedComponentImageFilterIVF43IUC3_Pointer"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_Clone(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_SetFullyConnected(self, _arg)

    def GetFullyConnected(self):
        r"""GetFullyConnected(self) -> bool const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_GetFullyConnected(self)

    def FullyConnectedOn(self):
        r"""FullyConnectedOn(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_FullyConnectedOn(self)

    def FullyConnectedOff(self):
        r"""FullyConnectedOff(self)"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_FullyConnectedOff(self)

    def GetObjectCount(self):
        r"""GetObjectCount(self) -> unsigned long const &"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_GetObjectCount(self)
    OutputImagePixelTypeIsInteger = _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_OutputImagePixelTypeIsInteger
    

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

        Parameters
        ----------
        _arg: itkImageVF43 const *

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_SetMaskImage(self, _arg)

    def GetMaskImage(self):
        r"""GetMaskImage(self) -> itkImageVF43"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_GetMaskImage(self)

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_SetBackgroundValue(self, _arg)

    def GetBackgroundValue(self):
        r"""GetBackgroundValue(self) -> unsigned char"""
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_GetBackgroundValue(self)
    __swig_destroy__ = _itkConnectedComponentImageFilterPython.delete_itkConnectedComponentImageFilterIVF43IUC3

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

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

        """
        return _itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_cast(obj)

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

        Create a new object of the class itkConnectedComponentImageFilterIVF43IUC3 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:

          itkConnectedComponentImageFilterIVF43IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkConnectedComponentImageFilterIVF43IUC3 in _itkConnectedComponentImageFilterPython:
_itkConnectedComponentImageFilterPython.itkConnectedComponentImageFilterIVF43IUC3_swigregister(itkConnectedComponentImageFilterIVF43IUC3)

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

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

    kwarg_typehints = { 'fully_connected':fully_connected,'mask_image':mask_image,'background_value':background_value }
    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.ConnectedComponentImageFilter.New(*args, **kwargs)

    return instance.__internal_call__()

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

    filter_class = itk.ITKConnectedComponents.ConnectedComponentImageFilter
    connected_component_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

    connected_component_image_filter.__doc__ = filter_object.__doc__



