# 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 _itkRelabelComponentImageFilterPython
else:
    import _itkRelabelComponentImageFilterPython

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

def itkRelabelComponentImageFilterISS2ISS2_New():
    return itkRelabelComponentImageFilterISS2ISS2.New()

class itkRelabelComponentImageFilterISS2ISS2(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterISS2ISS2):
    r"""Proxy of C++ itkRelabelComponentImageFilterISS2ISS2 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__() -> itkRelabelComponentImageFilterISS2ISS2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterISS2ISS2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: short

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: short

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterISS2ISS2

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_cast(obj)

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

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

          itkRelabelComponentImageFilterISS2ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterISS2ISS2 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS2ISS2_swigregister(itkRelabelComponentImageFilterISS2ISS2)

def itkRelabelComponentImageFilterISS3ISS3_New():
    return itkRelabelComponentImageFilterISS3ISS3.New()

class itkRelabelComponentImageFilterISS3ISS3(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterISS3ISS3):
    r"""Proxy of C++ itkRelabelComponentImageFilterISS3ISS3 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__() -> itkRelabelComponentImageFilterISS3ISS3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterISS3ISS3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: short

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: short

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterISS3ISS3

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_cast(obj)

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

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

          itkRelabelComponentImageFilterISS3ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterISS3ISS3 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterISS3ISS3_swigregister(itkRelabelComponentImageFilterISS3ISS3)

def itkRelabelComponentImageFilterIUC2IUC2_New():
    return itkRelabelComponentImageFilterIUC2IUC2.New()

class itkRelabelComponentImageFilterIUC2IUC2(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterIUC2IUC2):
    r"""Proxy of C++ itkRelabelComponentImageFilterIUC2IUC2 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__() -> itkRelabelComponentImageFilterIUC2IUC2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterIUC2IUC2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: unsigned char

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: unsigned char

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterIUC2IUC2

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_cast(obj)

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

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

          itkRelabelComponentImageFilterIUC2IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterIUC2IUC2 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC2IUC2_swigregister(itkRelabelComponentImageFilterIUC2IUC2)

def itkRelabelComponentImageFilterIUC3IUC3_New():
    return itkRelabelComponentImageFilterIUC3IUC3.New()

class itkRelabelComponentImageFilterIUC3IUC3(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterIUC3IUC3):
    r"""Proxy of C++ itkRelabelComponentImageFilterIUC3IUC3 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__() -> itkRelabelComponentImageFilterIUC3IUC3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterIUC3IUC3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: unsigned char

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: unsigned char

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterIUC3IUC3

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_cast(obj)

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

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

          itkRelabelComponentImageFilterIUC3IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterIUC3IUC3 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUC3IUC3_swigregister(itkRelabelComponentImageFilterIUC3IUC3)

def itkRelabelComponentImageFilterIUL2ISS2_New():
    return itkRelabelComponentImageFilterIUL2ISS2.New()

class itkRelabelComponentImageFilterIUL2ISS2(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterIUL2ISS2):
    r"""Proxy of C++ itkRelabelComponentImageFilterIUL2ISS2 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__() -> itkRelabelComponentImageFilterIUL2ISS2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterIUL2ISS2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterIUL2ISS2

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_cast(obj)

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

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

          itkRelabelComponentImageFilterIUL2ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterIUL2ISS2 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2ISS2_swigregister(itkRelabelComponentImageFilterIUL2ISS2)

def itkRelabelComponentImageFilterIUL2IUC2_New():
    return itkRelabelComponentImageFilterIUL2IUC2.New()

class itkRelabelComponentImageFilterIUL2IUC2(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterIUL2IUC2):
    r"""Proxy of C++ itkRelabelComponentImageFilterIUL2IUC2 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__() -> itkRelabelComponentImageFilterIUL2IUC2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterIUL2IUC2_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterIUL2IUC2

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_cast(obj)

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

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

          itkRelabelComponentImageFilterIUL2IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterIUL2IUC2 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL2IUC2_swigregister(itkRelabelComponentImageFilterIUL2IUC2)

def itkRelabelComponentImageFilterIUL3ISS3_New():
    return itkRelabelComponentImageFilterIUL3ISS3.New()

class itkRelabelComponentImageFilterIUL3ISS3(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterIUL3ISS3):
    r"""Proxy of C++ itkRelabelComponentImageFilterIUL3ISS3 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__() -> itkRelabelComponentImageFilterIUL3ISS3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterIUL3ISS3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterIUL3ISS3

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_cast(obj)

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

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

          itkRelabelComponentImageFilterIUL3ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterIUL3ISS3 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3ISS3_swigregister(itkRelabelComponentImageFilterIUL3ISS3)

def itkRelabelComponentImageFilterIUL3IUC3_New():
    return itkRelabelComponentImageFilterIUL3IUC3.New()

class itkRelabelComponentImageFilterIUL3IUC3(itk.itkInPlaceImageFilterAPython.itkInPlaceImageFilterIUL3IUC3):
    r"""Proxy of C++ itkRelabelComponentImageFilterIUL3IUC3 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__() -> itkRelabelComponentImageFilterIUL3IUC3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkRelabelComponentImageFilterIUL3IUC3_Pointer"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_Clone(self)

    def GetNumberOfObjects(self):
        r"""GetNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetNumberOfObjects(self)

    def GetOriginalNumberOfObjects(self):
        r"""GetOriginalNumberOfObjects(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetOriginalNumberOfObjects(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_SetNumberOfObjectsToPrint(self, _arg)

    def GetNumberOfObjectsToPrint(self):
        r"""GetNumberOfObjectsToPrint(self) -> unsigned long const &"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetNumberOfObjectsToPrint(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_SetMinimumObjectSize(self, _arg)

    def GetMinimumObjectSize(self):
        r"""GetMinimumObjectSize(self) -> unsigned long"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetMinimumObjectSize(self)

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_SetSortByObjectSize(self, _arg)

    def GetSortByObjectSize(self):
        r"""GetSortByObjectSize(self) -> bool"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetSortByObjectSize(self)

    def SortByObjectSizeOn(self):
        r"""SortByObjectSizeOn(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_SortByObjectSizeOn(self)

    def SortByObjectSizeOff(self):
        r"""SortByObjectSizeOff(self)"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_SortByObjectSizeOff(self)

    def GetSizeOfObjectsInPixels(self):
        r"""GetSizeOfObjectsInPixels(self) -> vectorUL"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetSizeOfObjectsInPixels(self)

    def GetSizeOfObjectsInPhysicalUnits(self):
        r"""GetSizeOfObjectsInPhysicalUnits(self) -> vectorF"""
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetSizeOfObjectsInPhysicalUnits(self)

    def GetSizeOfObjectInPixels(self, obj):
        r"""
        GetSizeOfObjectInPixels(self, obj) -> unsigned long

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetSizeOfObjectInPixels(self, obj)

    def GetSizeOfObjectInPhysicalUnits(self, obj):
        r"""
        GetSizeOfObjectInPhysicalUnits(self, obj) -> float

        Parameters
        ----------
        obj: unsigned long

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_GetSizeOfObjectInPhysicalUnits(self, obj)
    InputEqualityComparableCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_InputEqualityComparableCheck
    
    UnsignedLongConvertibleToInputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_UnsignedLongConvertibleToInputCheck
    
    OutputLongConvertibleToUnsignedLongCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_OutputLongConvertibleToUnsignedLongCheck
    
    InputConvertibleToOutputCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_InputConvertibleToOutputCheck
    
    SameDimensionCheck = _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_SameDimensionCheck
    
    __swig_destroy__ = _itkRelabelComponentImageFilterPython.delete_itkRelabelComponentImageFilterIUL3IUC3

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

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

        """
        return _itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_cast(obj)

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

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

          itkRelabelComponentImageFilterIUL3IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkRelabelComponentImageFilterIUL3IUC3 in _itkRelabelComponentImageFilterPython:
_itkRelabelComponentImageFilterPython.itkRelabelComponentImageFilterIUL3IUC3_swigregister(itkRelabelComponentImageFilterIUL3IUC3)

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

@helpers.accept_array_like_xarray_torch
def relabel_component_image_filter(*args: itkt.ImageLike,  number_of_objects_to_print: int=..., minimum_object_size: int=..., sort_by_object_size: bool=...,**kwargs)-> itkt.ImageSourceReturn:
    """Functional interface for RelabelComponentImageFilter"""
    import itk

    kwarg_typehints = { 'number_of_objects_to_print':number_of_objects_to_print,'minimum_object_size':minimum_object_size,'sort_by_object_size':sort_by_object_size }
    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.RelabelComponentImageFilter.New(*args, **kwargs)

    return instance.__internal_call__()

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

    filter_class = itk.ITKConnectedComponents.RelabelComponentImageFilter
    relabel_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

    relabel_component_image_filter.__doc__ = filter_object.__doc__



