# 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 _ITKThresholdingPython



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 _itkOtsuThresholdImageFilterPython
else:
    import _itkOtsuThresholdImageFilterPython

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.itkHistogramThresholdImageFilterPython
import itk.itkHistogramThresholdCalculatorPython
import itk.itkSimpleDataObjectDecoratorPython
import itk.ITKCommonBasePython
import itk.itkMatrixPython
import itk.vnl_matrix_fixedPython
import itk.vnl_vectorPython
import itk.stdcomplexPython
import itk.pyBasePython
import itk.vnl_matrixPython
import itk.itkPointPython
import itk.vnl_vector_refPython
import itk.itkFixedArrayPython
import itk.itkVectorPython
import itk.itkCovariantVectorPython
import itk.itkRGBPixelPython
import itk.itkArrayPython
import itk.itkRGBAPixelPython
import itk.itkHistogramPython
import itk.itkSamplePython
import itk.itkImagePython
import itk.itkImageRegionPython
import itk.itkSizePython
import itk.itkIndexPython
import itk.itkOffsetPython
import itk.itkSymmetricSecondRankTensorPython
import itk.itkImageToImageFilterAPython
import itk.itkImageSourcePython
import itk.itkImageSourceCommonPython
import itk.itkVectorImagePython
import itk.itkVariableLengthVectorPython
import itk.itkPhasedArray3DSpecialCoordinatesImagePython
import itk.itkImageToImageFilterCommonPython
import itk.itkImageToHistogramFilterPython
import itk.itkImageSinkPython

def itkOtsuThresholdImageFilterIF2ISS2_New():
    return itkOtsuThresholdImageFilterIF2ISS2.New()

class itkOtsuThresholdImageFilterIF2ISS2(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIF2ISS2):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIF2ISS2 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__() -> itkOtsuThresholdImageFilterIF2ISS2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIF2ISS2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIF2ISS2

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2_cast(obj)

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

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

          itkOtsuThresholdImageFilterIF2ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIF2ISS2 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2ISS2_swigregister(itkOtsuThresholdImageFilterIF2ISS2)

def itkOtsuThresholdImageFilterIF2IUC2_New():
    return itkOtsuThresholdImageFilterIF2IUC2.New()

class itkOtsuThresholdImageFilterIF2IUC2(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIF2IUC2):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIF2IUC2 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__() -> itkOtsuThresholdImageFilterIF2IUC2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIF2IUC2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIF2IUC2

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2_cast(obj)

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

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

          itkOtsuThresholdImageFilterIF2IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIF2IUC2 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF2IUC2_swigregister(itkOtsuThresholdImageFilterIF2IUC2)

def itkOtsuThresholdImageFilterIF3ISS3_New():
    return itkOtsuThresholdImageFilterIF3ISS3.New()

class itkOtsuThresholdImageFilterIF3ISS3(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIF3ISS3):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIF3ISS3 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__() -> itkOtsuThresholdImageFilterIF3ISS3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIF3ISS3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIF3ISS3

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3_cast(obj)

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

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

          itkOtsuThresholdImageFilterIF3ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIF3ISS3 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3ISS3_swigregister(itkOtsuThresholdImageFilterIF3ISS3)

def itkOtsuThresholdImageFilterIF3IUC3_New():
    return itkOtsuThresholdImageFilterIF3IUC3.New()

class itkOtsuThresholdImageFilterIF3IUC3(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIF3IUC3):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIF3IUC3 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__() -> itkOtsuThresholdImageFilterIF3IUC3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIF3IUC3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIF3IUC3

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3_cast(obj)

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

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

          itkOtsuThresholdImageFilterIF3IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIF3IUC3 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIF3IUC3_swigregister(itkOtsuThresholdImageFilterIF3IUC3)

def itkOtsuThresholdImageFilterISS2ISS2_New():
    return itkOtsuThresholdImageFilterISS2ISS2.New()

class itkOtsuThresholdImageFilterISS2ISS2(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterISS2ISS2):
    r"""Proxy of C++ itkOtsuThresholdImageFilterISS2ISS2 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__() -> itkOtsuThresholdImageFilterISS2ISS2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterISS2ISS2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterISS2ISS2

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2_cast(obj)

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

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

          itkOtsuThresholdImageFilterISS2ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterISS2ISS2 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2ISS2_swigregister(itkOtsuThresholdImageFilterISS2ISS2)

def itkOtsuThresholdImageFilterISS2IUC2_New():
    return itkOtsuThresholdImageFilterISS2IUC2.New()

class itkOtsuThresholdImageFilterISS2IUC2(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterISS2IUC2):
    r"""Proxy of C++ itkOtsuThresholdImageFilterISS2IUC2 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__() -> itkOtsuThresholdImageFilterISS2IUC2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterISS2IUC2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterISS2IUC2

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2_cast(obj)

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

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

          itkOtsuThresholdImageFilterISS2IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterISS2IUC2 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS2IUC2_swigregister(itkOtsuThresholdImageFilterISS2IUC2)

def itkOtsuThresholdImageFilterISS3ISS3_New():
    return itkOtsuThresholdImageFilterISS3ISS3.New()

class itkOtsuThresholdImageFilterISS3ISS3(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterISS3ISS3):
    r"""Proxy of C++ itkOtsuThresholdImageFilterISS3ISS3 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__() -> itkOtsuThresholdImageFilterISS3ISS3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterISS3ISS3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterISS3ISS3

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3_cast(obj)

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

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

          itkOtsuThresholdImageFilterISS3ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterISS3ISS3 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3ISS3_swigregister(itkOtsuThresholdImageFilterISS3ISS3)

def itkOtsuThresholdImageFilterISS3IUC3_New():
    return itkOtsuThresholdImageFilterISS3IUC3.New()

class itkOtsuThresholdImageFilterISS3IUC3(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterISS3IUC3):
    r"""Proxy of C++ itkOtsuThresholdImageFilterISS3IUC3 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__() -> itkOtsuThresholdImageFilterISS3IUC3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterISS3IUC3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterISS3IUC3

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3_cast(obj)

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

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

          itkOtsuThresholdImageFilterISS3IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterISS3IUC3 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterISS3IUC3_swigregister(itkOtsuThresholdImageFilterISS3IUC3)

def itkOtsuThresholdImageFilterIUC2ISS2_New():
    return itkOtsuThresholdImageFilterIUC2ISS2.New()

class itkOtsuThresholdImageFilterIUC2ISS2(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIUC2ISS2):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIUC2ISS2 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__() -> itkOtsuThresholdImageFilterIUC2ISS2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIUC2ISS2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIUC2ISS2

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2_cast(obj)

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

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

          itkOtsuThresholdImageFilterIUC2ISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIUC2ISS2 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2ISS2_swigregister(itkOtsuThresholdImageFilterIUC2ISS2)

def itkOtsuThresholdImageFilterIUC2IUC2_New():
    return itkOtsuThresholdImageFilterIUC2IUC2.New()

class itkOtsuThresholdImageFilterIUC2IUC2(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIUC2IUC2):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIUC2IUC2 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__() -> itkOtsuThresholdImageFilterIUC2IUC2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIUC2IUC2_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIUC2IUC2

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2_cast(obj)

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

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

          itkOtsuThresholdImageFilterIUC2IUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIUC2IUC2 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC2IUC2_swigregister(itkOtsuThresholdImageFilterIUC2IUC2)

def itkOtsuThresholdImageFilterIUC3ISS3_New():
    return itkOtsuThresholdImageFilterIUC3ISS3.New()

class itkOtsuThresholdImageFilterIUC3ISS3(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIUC3ISS3):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIUC3ISS3 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__() -> itkOtsuThresholdImageFilterIUC3ISS3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIUC3ISS3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIUC3ISS3

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3_cast(obj)

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

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

          itkOtsuThresholdImageFilterIUC3ISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIUC3ISS3 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3ISS3_swigregister(itkOtsuThresholdImageFilterIUC3ISS3)

def itkOtsuThresholdImageFilterIUC3IUC3_New():
    return itkOtsuThresholdImageFilterIUC3IUC3.New()

class itkOtsuThresholdImageFilterIUC3IUC3(itk.itkHistogramThresholdImageFilterPython.itkHistogramThresholdImageFilterIUC3IUC3):
    r"""Proxy of C++ itkOtsuThresholdImageFilterIUC3IUC3 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__() -> itkOtsuThresholdImageFilterIUC3IUC3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkOtsuThresholdImageFilterIUC3IUC3_Pointer"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3_Clone(self)

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3_SetReturnBinMidpoint(self, _arg)

    def GetReturnBinMidpoint(self):
        r"""GetReturnBinMidpoint(self) -> bool const &"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3_GetReturnBinMidpoint(self)

    def ReturnBinMidpointOn(self):
        r"""ReturnBinMidpointOn(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3_ReturnBinMidpointOn(self)

    def ReturnBinMidpointOff(self):
        r"""ReturnBinMidpointOff(self)"""
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3_ReturnBinMidpointOff(self)
    __swig_destroy__ = _itkOtsuThresholdImageFilterPython.delete_itkOtsuThresholdImageFilterIUC3IUC3

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

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

        """
        return _itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3_cast(obj)

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

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

          itkOtsuThresholdImageFilterIUC3IUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkOtsuThresholdImageFilterIUC3IUC3 in _itkOtsuThresholdImageFilterPython:
_itkOtsuThresholdImageFilterPython.itkOtsuThresholdImageFilterIUC3IUC3_swigregister(itkOtsuThresholdImageFilterIUC3IUC3)

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

@helpers.accept_array_like_xarray_torch
def otsu_threshold_image_filter(*args: itkt.ImageLike,  return_bin_midpoint: bool=..., mask_image: itkt.Image=..., outside_value: int=..., inside_value: int=..., number_of_histogram_bins: int=..., auto_minimum_maximum: bool=..., mask_output: bool=..., mask_value: int=..., calculator=...,**kwargs)-> itkt.ImageSourceReturn:
    """Functional interface for OtsuThresholdImageFilter"""
    import itk

    kwarg_typehints = { 'return_bin_midpoint':return_bin_midpoint,'mask_image':mask_image,'outside_value':outside_value,'inside_value':inside_value,'number_of_histogram_bins':number_of_histogram_bins,'auto_minimum_maximum':auto_minimum_maximum,'mask_output':mask_output,'mask_value':mask_value,'calculator':calculator }
    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.OtsuThresholdImageFilter.New(*args, **kwargs)

    return instance.__internal_call__()

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

    filter_class = itk.ITKThresholding.OtsuThresholdImageFilter
    otsu_threshold_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

    otsu_threshold_image_filter.__doc__ = filter_object.__doc__



