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



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

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.vnl_vectorPython
import itk.vnl_matrixPython
import itk.stdcomplexPython
import itk.pyBasePython
import itk.vnl_matrix_fixedPython
import itk.itkCovariantVectorPython
import itk.itkFixedArrayPython
import itk.vnl_vector_refPython
import itk.itkVectorPython
import itk.itkPointPython
import itk.itkImageSinkPython
import itk.itkVectorImagePython
import itk.itkIndexPython
import itk.itkSizePython
import itk.itkOffsetPython
import itk.itkVariableLengthVectorPython
import itk.itkImagePython
import itk.itkRGBAPixelPython
import itk.itkRGBPixelPython
import itk.itkSymmetricSecondRankTensorPython
import itk.itkImageRegionPython
import itk.itkImageToImageFilterCommonPython
import itk.itkSimpleDataObjectDecoratorPython
import itk.itkArrayPython

def itkStatisticsImageFilterIF2_New():
    return itkStatisticsImageFilterIF2.New()

class itkStatisticsImageFilterIF2(itk.itkImageSinkPython.itkImageSinkIF2):
    r"""Proxy of C++ itkStatisticsImageFilterIF2 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__() -> itkStatisticsImageFilterIF2_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkStatisticsImageFilterIF2_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_Clone(self)

    def GetMinimumOutput(self):
        r"""GetMinimumOutput(self) -> itkSimpleDataObjectDecoratorF"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetMinimumOutput(self)

    def GetMinimum(self):
        r"""GetMinimum(self) -> float const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetMinimum(self)

    def GetMaximumOutput(self):
        r"""GetMaximumOutput(self) -> itkSimpleDataObjectDecoratorF"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetMaximumOutput(self)

    def GetMaximum(self):
        r"""GetMaximum(self) -> float const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetMaximum(self)

    def GetMeanOutput(self):
        r"""GetMeanOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetMeanOutput(self)

    def GetMean(self):
        r"""GetMean(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetMean(self)

    def GetSigmaOutput(self):
        r"""GetSigmaOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetSigmaOutput(self)

    def GetSigma(self):
        r"""GetSigma(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetSigma(self)

    def GetVarianceOutput(self):
        r"""GetVarianceOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetVarianceOutput(self)

    def GetVariance(self):
        r"""GetVariance(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetVariance(self)

    def GetSumOutput(self):
        r"""GetSumOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetSumOutput(self)

    def GetSum(self):
        r"""GetSum(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetSum(self)

    def GetSumOfSquaresOutput(self):
        r"""GetSumOfSquaresOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetSumOfSquaresOutput(self)

    def GetSumOfSquares(self):
        r"""GetSumOfSquares(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetSumOfSquares(self)

    def SetNumberOfStreamDivisions(self, n):
        r"""
        SetNumberOfStreamDivisions(self, n)

        Parameters
        ----------
        n: unsigned int const

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_SetNumberOfStreamDivisions(self, n)

    def GetNumberOfStreamDivisions(self):
        r"""GetNumberOfStreamDivisions(self) -> unsigned int"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_GetNumberOfStreamDivisions(self)
    InputHasNumericTraitsCheck = _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_InputHasNumericTraitsCheck
    
    __swig_destroy__ = _itkStatisticsImageFilterPython.delete_itkStatisticsImageFilterIF2

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

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

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_cast(obj)

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

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

          itkStatisticsImageFilterIF2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkStatisticsImageFilterIF2 in _itkStatisticsImageFilterPython:
_itkStatisticsImageFilterPython.itkStatisticsImageFilterIF2_swigregister(itkStatisticsImageFilterIF2)

def itkStatisticsImageFilterIF3_New():
    return itkStatisticsImageFilterIF3.New()

class itkStatisticsImageFilterIF3(itk.itkImageSinkPython.itkImageSinkIF3):
    r"""Proxy of C++ itkStatisticsImageFilterIF3 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__() -> itkStatisticsImageFilterIF3_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkStatisticsImageFilterIF3_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_Clone(self)

    def GetMinimumOutput(self):
        r"""GetMinimumOutput(self) -> itkSimpleDataObjectDecoratorF"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetMinimumOutput(self)

    def GetMinimum(self):
        r"""GetMinimum(self) -> float const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetMinimum(self)

    def GetMaximumOutput(self):
        r"""GetMaximumOutput(self) -> itkSimpleDataObjectDecoratorF"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetMaximumOutput(self)

    def GetMaximum(self):
        r"""GetMaximum(self) -> float const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetMaximum(self)

    def GetMeanOutput(self):
        r"""GetMeanOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetMeanOutput(self)

    def GetMean(self):
        r"""GetMean(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetMean(self)

    def GetSigmaOutput(self):
        r"""GetSigmaOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetSigmaOutput(self)

    def GetSigma(self):
        r"""GetSigma(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetSigma(self)

    def GetVarianceOutput(self):
        r"""GetVarianceOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetVarianceOutput(self)

    def GetVariance(self):
        r"""GetVariance(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetVariance(self)

    def GetSumOutput(self):
        r"""GetSumOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetSumOutput(self)

    def GetSum(self):
        r"""GetSum(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetSum(self)

    def GetSumOfSquaresOutput(self):
        r"""GetSumOfSquaresOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetSumOfSquaresOutput(self)

    def GetSumOfSquares(self):
        r"""GetSumOfSquares(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetSumOfSquares(self)

    def SetNumberOfStreamDivisions(self, n):
        r"""
        SetNumberOfStreamDivisions(self, n)

        Parameters
        ----------
        n: unsigned int const

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_SetNumberOfStreamDivisions(self, n)

    def GetNumberOfStreamDivisions(self):
        r"""GetNumberOfStreamDivisions(self) -> unsigned int"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_GetNumberOfStreamDivisions(self)
    InputHasNumericTraitsCheck = _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_InputHasNumericTraitsCheck
    
    __swig_destroy__ = _itkStatisticsImageFilterPython.delete_itkStatisticsImageFilterIF3

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

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

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_cast(obj)

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

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

          itkStatisticsImageFilterIF3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkStatisticsImageFilterIF3 in _itkStatisticsImageFilterPython:
_itkStatisticsImageFilterPython.itkStatisticsImageFilterIF3_swigregister(itkStatisticsImageFilterIF3)

def itkStatisticsImageFilterISS2_New():
    return itkStatisticsImageFilterISS2.New()

class itkStatisticsImageFilterISS2(itk.itkImageSinkPython.itkImageSinkISS2):
    r"""Proxy of C++ itkStatisticsImageFilterISS2 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__() -> itkStatisticsImageFilterISS2_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkStatisticsImageFilterISS2_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_Clone(self)

    def GetMinimumOutput(self):
        r"""GetMinimumOutput(self) -> itkSimpleDataObjectDecoratorSS"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetMinimumOutput(self)

    def GetMinimum(self):
        r"""GetMinimum(self) -> short const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetMinimum(self)

    def GetMaximumOutput(self):
        r"""GetMaximumOutput(self) -> itkSimpleDataObjectDecoratorSS"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetMaximumOutput(self)

    def GetMaximum(self):
        r"""GetMaximum(self) -> short const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetMaximum(self)

    def GetMeanOutput(self):
        r"""GetMeanOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetMeanOutput(self)

    def GetMean(self):
        r"""GetMean(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetMean(self)

    def GetSigmaOutput(self):
        r"""GetSigmaOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetSigmaOutput(self)

    def GetSigma(self):
        r"""GetSigma(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetSigma(self)

    def GetVarianceOutput(self):
        r"""GetVarianceOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetVarianceOutput(self)

    def GetVariance(self):
        r"""GetVariance(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetVariance(self)

    def GetSumOutput(self):
        r"""GetSumOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetSumOutput(self)

    def GetSum(self):
        r"""GetSum(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetSum(self)

    def GetSumOfSquaresOutput(self):
        r"""GetSumOfSquaresOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetSumOfSquaresOutput(self)

    def GetSumOfSquares(self):
        r"""GetSumOfSquares(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetSumOfSquares(self)

    def SetNumberOfStreamDivisions(self, n):
        r"""
        SetNumberOfStreamDivisions(self, n)

        Parameters
        ----------
        n: unsigned int const

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_SetNumberOfStreamDivisions(self, n)

    def GetNumberOfStreamDivisions(self):
        r"""GetNumberOfStreamDivisions(self) -> unsigned int"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_GetNumberOfStreamDivisions(self)
    InputHasNumericTraitsCheck = _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_InputHasNumericTraitsCheck
    
    __swig_destroy__ = _itkStatisticsImageFilterPython.delete_itkStatisticsImageFilterISS2

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

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

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_cast(obj)

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

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

          itkStatisticsImageFilterISS2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkStatisticsImageFilterISS2 in _itkStatisticsImageFilterPython:
_itkStatisticsImageFilterPython.itkStatisticsImageFilterISS2_swigregister(itkStatisticsImageFilterISS2)

def itkStatisticsImageFilterISS3_New():
    return itkStatisticsImageFilterISS3.New()

class itkStatisticsImageFilterISS3(itk.itkImageSinkPython.itkImageSinkISS3):
    r"""Proxy of C++ itkStatisticsImageFilterISS3 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__() -> itkStatisticsImageFilterISS3_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkStatisticsImageFilterISS3_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_Clone(self)

    def GetMinimumOutput(self):
        r"""GetMinimumOutput(self) -> itkSimpleDataObjectDecoratorSS"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetMinimumOutput(self)

    def GetMinimum(self):
        r"""GetMinimum(self) -> short const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetMinimum(self)

    def GetMaximumOutput(self):
        r"""GetMaximumOutput(self) -> itkSimpleDataObjectDecoratorSS"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetMaximumOutput(self)

    def GetMaximum(self):
        r"""GetMaximum(self) -> short const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetMaximum(self)

    def GetMeanOutput(self):
        r"""GetMeanOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetMeanOutput(self)

    def GetMean(self):
        r"""GetMean(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetMean(self)

    def GetSigmaOutput(self):
        r"""GetSigmaOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetSigmaOutput(self)

    def GetSigma(self):
        r"""GetSigma(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetSigma(self)

    def GetVarianceOutput(self):
        r"""GetVarianceOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetVarianceOutput(self)

    def GetVariance(self):
        r"""GetVariance(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetVariance(self)

    def GetSumOutput(self):
        r"""GetSumOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetSumOutput(self)

    def GetSum(self):
        r"""GetSum(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetSum(self)

    def GetSumOfSquaresOutput(self):
        r"""GetSumOfSquaresOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetSumOfSquaresOutput(self)

    def GetSumOfSquares(self):
        r"""GetSumOfSquares(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetSumOfSquares(self)

    def SetNumberOfStreamDivisions(self, n):
        r"""
        SetNumberOfStreamDivisions(self, n)

        Parameters
        ----------
        n: unsigned int const

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_SetNumberOfStreamDivisions(self, n)

    def GetNumberOfStreamDivisions(self):
        r"""GetNumberOfStreamDivisions(self) -> unsigned int"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_GetNumberOfStreamDivisions(self)
    InputHasNumericTraitsCheck = _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_InputHasNumericTraitsCheck
    
    __swig_destroy__ = _itkStatisticsImageFilterPython.delete_itkStatisticsImageFilterISS3

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

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

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_cast(obj)

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

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

          itkStatisticsImageFilterISS3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkStatisticsImageFilterISS3 in _itkStatisticsImageFilterPython:
_itkStatisticsImageFilterPython.itkStatisticsImageFilterISS3_swigregister(itkStatisticsImageFilterISS3)

def itkStatisticsImageFilterIUC2_New():
    return itkStatisticsImageFilterIUC2.New()

class itkStatisticsImageFilterIUC2(itk.itkImageSinkPython.itkImageSinkIUC2):
    r"""Proxy of C++ itkStatisticsImageFilterIUC2 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__() -> itkStatisticsImageFilterIUC2_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkStatisticsImageFilterIUC2_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_Clone(self)

    def GetMinimumOutput(self):
        r"""GetMinimumOutput(self) -> itkSimpleDataObjectDecoratorUC"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetMinimumOutput(self)

    def GetMinimum(self):
        r"""GetMinimum(self) -> unsigned char const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetMinimum(self)

    def GetMaximumOutput(self):
        r"""GetMaximumOutput(self) -> itkSimpleDataObjectDecoratorUC"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetMaximumOutput(self)

    def GetMaximum(self):
        r"""GetMaximum(self) -> unsigned char const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetMaximum(self)

    def GetMeanOutput(self):
        r"""GetMeanOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetMeanOutput(self)

    def GetMean(self):
        r"""GetMean(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetMean(self)

    def GetSigmaOutput(self):
        r"""GetSigmaOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetSigmaOutput(self)

    def GetSigma(self):
        r"""GetSigma(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetSigma(self)

    def GetVarianceOutput(self):
        r"""GetVarianceOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetVarianceOutput(self)

    def GetVariance(self):
        r"""GetVariance(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetVariance(self)

    def GetSumOutput(self):
        r"""GetSumOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetSumOutput(self)

    def GetSum(self):
        r"""GetSum(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetSum(self)

    def GetSumOfSquaresOutput(self):
        r"""GetSumOfSquaresOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetSumOfSquaresOutput(self)

    def GetSumOfSquares(self):
        r"""GetSumOfSquares(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetSumOfSquares(self)

    def SetNumberOfStreamDivisions(self, n):
        r"""
        SetNumberOfStreamDivisions(self, n)

        Parameters
        ----------
        n: unsigned int const

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_SetNumberOfStreamDivisions(self, n)

    def GetNumberOfStreamDivisions(self):
        r"""GetNumberOfStreamDivisions(self) -> unsigned int"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_GetNumberOfStreamDivisions(self)
    InputHasNumericTraitsCheck = _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_InputHasNumericTraitsCheck
    
    __swig_destroy__ = _itkStatisticsImageFilterPython.delete_itkStatisticsImageFilterIUC2

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

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

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_cast(obj)

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

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

          itkStatisticsImageFilterIUC2.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkStatisticsImageFilterIUC2 in _itkStatisticsImageFilterPython:
_itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC2_swigregister(itkStatisticsImageFilterIUC2)

def itkStatisticsImageFilterIUC3_New():
    return itkStatisticsImageFilterIUC3.New()

class itkStatisticsImageFilterIUC3(itk.itkImageSinkPython.itkImageSinkIUC3):
    r"""Proxy of C++ itkStatisticsImageFilterIUC3 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__() -> itkStatisticsImageFilterIUC3_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3___New_orig__()

    def Clone(self):
        r"""Clone(self) -> itkStatisticsImageFilterIUC3_Pointer"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_Clone(self)

    def GetMinimumOutput(self):
        r"""GetMinimumOutput(self) -> itkSimpleDataObjectDecoratorUC"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetMinimumOutput(self)

    def GetMinimum(self):
        r"""GetMinimum(self) -> unsigned char const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetMinimum(self)

    def GetMaximumOutput(self):
        r"""GetMaximumOutput(self) -> itkSimpleDataObjectDecoratorUC"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetMaximumOutput(self)

    def GetMaximum(self):
        r"""GetMaximum(self) -> unsigned char const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetMaximum(self)

    def GetMeanOutput(self):
        r"""GetMeanOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetMeanOutput(self)

    def GetMean(self):
        r"""GetMean(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetMean(self)

    def GetSigmaOutput(self):
        r"""GetSigmaOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetSigmaOutput(self)

    def GetSigma(self):
        r"""GetSigma(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetSigma(self)

    def GetVarianceOutput(self):
        r"""GetVarianceOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetVarianceOutput(self)

    def GetVariance(self):
        r"""GetVariance(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetVariance(self)

    def GetSumOutput(self):
        r"""GetSumOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetSumOutput(self)

    def GetSum(self):
        r"""GetSum(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetSum(self)

    def GetSumOfSquaresOutput(self):
        r"""GetSumOfSquaresOutput(self) -> itkSimpleDataObjectDecoratorD"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetSumOfSquaresOutput(self)

    def GetSumOfSquares(self):
        r"""GetSumOfSquares(self) -> double const &"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetSumOfSquares(self)

    def SetNumberOfStreamDivisions(self, n):
        r"""
        SetNumberOfStreamDivisions(self, n)

        Parameters
        ----------
        n: unsigned int const

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_SetNumberOfStreamDivisions(self, n)

    def GetNumberOfStreamDivisions(self):
        r"""GetNumberOfStreamDivisions(self) -> unsigned int"""
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_GetNumberOfStreamDivisions(self)
    InputHasNumericTraitsCheck = _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_InputHasNumericTraitsCheck
    
    __swig_destroy__ = _itkStatisticsImageFilterPython.delete_itkStatisticsImageFilterIUC3

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

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

        """
        return _itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_cast(obj)

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

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

          itkStatisticsImageFilterIUC3.New(reader, threshold=10)

        is (most of the time) equivalent to:

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


# Register itkStatisticsImageFilterIUC3 in _itkStatisticsImageFilterPython:
_itkStatisticsImageFilterPython.itkStatisticsImageFilterIUC3_swigregister(itkStatisticsImageFilterIUC3)

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

@helpers.accept_array_like_xarray_torch
def statistics_image_filter(*args: itkt.ImageLike,  number_of_stream_divisions: int=...,**kwargs):
    """Functional interface for StatisticsImageFilter"""
    import itk

    kwarg_typehints = { 'number_of_stream_divisions':number_of_stream_divisions }
    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.StatisticsImageFilter.New(*args, **kwargs)

    return instance.__internal_call__()

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

    filter_class = itk.ITKImageStatistics.StatisticsImageFilter
    statistics_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

    statistics_image_filter.__doc__ = filter_object.__doc__



