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

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

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _itkImageToImageMetricPython.SWIG_PyInstanceMethod_New
_swig_new_static_method = _itkImageToImageMetricPython.SWIG_PyStaticMethod_New

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__)


import itkCovariantVectorPython
import itkVectorPython
import vnl_vectorPython
import vnl_matrixPython
import stdcomplexPython
import pyBasePython
import itkFixedArrayPython
import vnl_vector_refPython
import itkPointPython
import itkInterpolateImageFunctionPython
import itkIndexPython
import itkOffsetPython
import itkSizePython
import itkRGBAPixelPython
import ITKCommonBasePython
import itkRGBPixelPython
import itkImageFunctionBasePython
import itkFunctionBasePython
import itkImagePython
import itkSymmetricSecondRankTensorPython
import itkMatrixPython
import vnl_matrix_fixedPython
import itkImageRegionPython
import itkArrayPython
import itkContinuousIndexPython
import itkOptimizerParametersPython
import itkTransformBasePython
import itkDiffusionTensor3DPython
import itkArray2DPython
import itkVariableLengthVectorPython
import itkSpatialObjectBasePython
import itkSpatialObjectPropertyPython
import itkBoundingBoxPython
import itkMapContainerPython
import itkVectorContainerPython
import itkScalableAffineTransformPython
import itkAffineTransformPython
import itkMatrixOffsetTransformBasePython
import itkAffineGeometryFramePython
import ITKCostFunctionsPython
import vnl_least_squares_functionPython
import vnl_cost_functionPython
import vnl_unary_functionPython
import itkCostFunctionPython

def itkImageToImageMetricIF3IF3_New():
  return itkImageToImageMetricIF3IF3.New()


def itkImageToImageMetricIF2IF2_New():
  return itkImageToImageMetricIF2IF2.New()


def itkImageToImageMetricIUC3IUC3_New():
  return itkImageToImageMetricIUC3IUC3.New()


def itkImageToImageMetricIUC2IUC2_New():
  return itkImageToImageMetricIUC2IUC2.New()


def itkImageToImageMetricISS3ISS3_New():
  return itkImageToImageMetricISS3ISS3.New()


def itkImageToImageMetricISS2ISS2_New():
  return itkImageToImageMetricISS2ISS2.New()

class itkImageToImageMetricIF2IF2(ITKCostFunctionsPython.itkSingleValuedCostFunction):
    r"""Proxy of C++ itkImageToImageMetricIF2IF2 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 - class is abstract")
    __repr__ = _swig_repr
    SetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetFixedImage)
    GetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetFixedImage)
    SetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetMovingImage)
    GetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetMovingImage)
    SetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetTransform)
    GetModifiableTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetModifiableTransform)
    GetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetTransform)
    SetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetInterpolator)
    GetModifiableInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetModifiableInterpolator)
    GetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetInterpolator)
    GetNumberOfMovingImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetNumberOfMovingImageSamples)
    GetNumberOfPixelsCounted = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetNumberOfPixelsCounted)
    SetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetFixedImageRegion)
    GetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetFixedImageRegion)
    SetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetMovingImageMask)
    GetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetMovingImageMask)
    SetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetFixedImageMask)
    GetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetFixedImageMask)
    SetFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetFixedImageIndexes)
    SetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetUseFixedImageIndexes)
    GetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetUseFixedImageIndexes)
    SetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetNumberOfThreads)
    GetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetNumberOfThreads)
    SetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetComputeGradient)
    GetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetComputeGradient)
    ComputeGradientOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_ComputeGradientOn)
    ComputeGradientOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_ComputeGradientOff)
    ComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_ComputeGradient)
    GetModifiableGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetModifiableGradientImage)
    GetGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetGradientImage)
    SetTransformParameters = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetTransformParameters)
    Initialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_Initialize)
    MultiThreadingInitialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_MultiThreadingInitialize)
    SetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetNumberOfFixedImageSamples)
    GetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetNumberOfFixedImageSamples)
    SetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetNumberOfSpatialSamples)
    GetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetNumberOfSpatialSamples)
    SetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetFixedImageSamplesIntensityThreshold)
    GetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetFixedImageSamplesIntensityThreshold)
    SetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetUseFixedImageSamplesIntensityThreshold)
    GetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetUseFixedImageSamplesIntensityThreshold)
    SetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetUseAllPixels)
    UseAllPixelsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_UseAllPixelsOn)
    UseAllPixelsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_UseAllPixelsOff)
    GetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetUseAllPixels)
    SetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetUseSequentialSampling)
    GetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetUseSequentialSampling)
    ReinitializeSeed = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_ReinitializeSeed)
    SetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_SetUseCachingOfBSplineWeights)
    GetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetUseCachingOfBSplineWeights)
    UseCachingOfBSplineWeightsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_UseCachingOfBSplineWeightsOn)
    UseCachingOfBSplineWeightsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_UseCachingOfBSplineWeightsOff)
    GetModifiableThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetModifiableThreader)
    GetThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetThreader)
    GetThreaderTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetThreaderTransform)
    __swig_destroy__ = _itkImageToImageMetricPython.delete_itkImageToImageMetricIF2IF2
    cast = _swig_new_static_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_cast)
    GetPointer = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_GetPointer)

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

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

          itkImageToImageMetricIF2IF2.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkImageToImageMetricIF2IF2.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkImageToImageMetricIF2IF2.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkImageToImageMetricIF2IF2 in _itkImageToImageMetricPython:
_itkImageToImageMetricPython.itkImageToImageMetricIF2IF2_swigregister(itkImageToImageMetricIF2IF2)
class itkImageToImageMetricIF3IF3(ITKCostFunctionsPython.itkSingleValuedCostFunction):
    r"""Proxy of C++ itkImageToImageMetricIF3IF3 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 - class is abstract")
    __repr__ = _swig_repr
    SetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetFixedImage)
    GetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetFixedImage)
    SetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetMovingImage)
    GetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetMovingImage)
    SetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetTransform)
    GetModifiableTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetModifiableTransform)
    GetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetTransform)
    SetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetInterpolator)
    GetModifiableInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetModifiableInterpolator)
    GetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetInterpolator)
    GetNumberOfMovingImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetNumberOfMovingImageSamples)
    GetNumberOfPixelsCounted = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetNumberOfPixelsCounted)
    SetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetFixedImageRegion)
    GetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetFixedImageRegion)
    SetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetMovingImageMask)
    GetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetMovingImageMask)
    SetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetFixedImageMask)
    GetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetFixedImageMask)
    SetFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetFixedImageIndexes)
    SetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetUseFixedImageIndexes)
    GetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetUseFixedImageIndexes)
    SetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetNumberOfThreads)
    GetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetNumberOfThreads)
    SetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetComputeGradient)
    GetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetComputeGradient)
    ComputeGradientOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_ComputeGradientOn)
    ComputeGradientOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_ComputeGradientOff)
    ComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_ComputeGradient)
    GetModifiableGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetModifiableGradientImage)
    GetGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetGradientImage)
    SetTransformParameters = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetTransformParameters)
    Initialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_Initialize)
    MultiThreadingInitialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_MultiThreadingInitialize)
    SetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetNumberOfFixedImageSamples)
    GetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetNumberOfFixedImageSamples)
    SetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetNumberOfSpatialSamples)
    GetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetNumberOfSpatialSamples)
    SetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetFixedImageSamplesIntensityThreshold)
    GetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetFixedImageSamplesIntensityThreshold)
    SetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetUseFixedImageSamplesIntensityThreshold)
    GetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetUseFixedImageSamplesIntensityThreshold)
    SetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetUseAllPixels)
    UseAllPixelsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_UseAllPixelsOn)
    UseAllPixelsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_UseAllPixelsOff)
    GetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetUseAllPixels)
    SetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetUseSequentialSampling)
    GetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetUseSequentialSampling)
    ReinitializeSeed = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_ReinitializeSeed)
    SetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_SetUseCachingOfBSplineWeights)
    GetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetUseCachingOfBSplineWeights)
    UseCachingOfBSplineWeightsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_UseCachingOfBSplineWeightsOn)
    UseCachingOfBSplineWeightsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_UseCachingOfBSplineWeightsOff)
    GetModifiableThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetModifiableThreader)
    GetThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetThreader)
    GetThreaderTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetThreaderTransform)
    __swig_destroy__ = _itkImageToImageMetricPython.delete_itkImageToImageMetricIF3IF3
    cast = _swig_new_static_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_cast)
    GetPointer = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_GetPointer)

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

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

          itkImageToImageMetricIF3IF3.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkImageToImageMetricIF3IF3.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkImageToImageMetricIF3IF3.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkImageToImageMetricIF3IF3 in _itkImageToImageMetricPython:
_itkImageToImageMetricPython.itkImageToImageMetricIF3IF3_swigregister(itkImageToImageMetricIF3IF3)
class itkImageToImageMetricISS2ISS2(ITKCostFunctionsPython.itkSingleValuedCostFunction):
    r"""Proxy of C++ itkImageToImageMetricISS2ISS2 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 - class is abstract")
    __repr__ = _swig_repr
    SetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetFixedImage)
    GetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetFixedImage)
    SetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetMovingImage)
    GetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetMovingImage)
    SetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetTransform)
    GetModifiableTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetModifiableTransform)
    GetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetTransform)
    SetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetInterpolator)
    GetModifiableInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetModifiableInterpolator)
    GetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetInterpolator)
    GetNumberOfMovingImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetNumberOfMovingImageSamples)
    GetNumberOfPixelsCounted = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetNumberOfPixelsCounted)
    SetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetFixedImageRegion)
    GetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetFixedImageRegion)
    SetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetMovingImageMask)
    GetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetMovingImageMask)
    SetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetFixedImageMask)
    GetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetFixedImageMask)
    SetFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetFixedImageIndexes)
    SetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetUseFixedImageIndexes)
    GetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetUseFixedImageIndexes)
    SetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetNumberOfThreads)
    GetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetNumberOfThreads)
    SetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetComputeGradient)
    GetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetComputeGradient)
    ComputeGradientOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_ComputeGradientOn)
    ComputeGradientOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_ComputeGradientOff)
    ComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_ComputeGradient)
    GetModifiableGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetModifiableGradientImage)
    GetGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetGradientImage)
    SetTransformParameters = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetTransformParameters)
    Initialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_Initialize)
    MultiThreadingInitialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_MultiThreadingInitialize)
    SetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetNumberOfFixedImageSamples)
    GetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetNumberOfFixedImageSamples)
    SetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetNumberOfSpatialSamples)
    GetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetNumberOfSpatialSamples)
    SetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetFixedImageSamplesIntensityThreshold)
    GetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetFixedImageSamplesIntensityThreshold)
    SetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetUseFixedImageSamplesIntensityThreshold)
    GetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetUseFixedImageSamplesIntensityThreshold)
    SetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetUseAllPixels)
    UseAllPixelsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_UseAllPixelsOn)
    UseAllPixelsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_UseAllPixelsOff)
    GetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetUseAllPixels)
    SetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetUseSequentialSampling)
    GetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetUseSequentialSampling)
    ReinitializeSeed = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_ReinitializeSeed)
    SetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_SetUseCachingOfBSplineWeights)
    GetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetUseCachingOfBSplineWeights)
    UseCachingOfBSplineWeightsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_UseCachingOfBSplineWeightsOn)
    UseCachingOfBSplineWeightsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_UseCachingOfBSplineWeightsOff)
    GetModifiableThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetModifiableThreader)
    GetThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetThreader)
    GetThreaderTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetThreaderTransform)
    __swig_destroy__ = _itkImageToImageMetricPython.delete_itkImageToImageMetricISS2ISS2
    cast = _swig_new_static_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_cast)
    GetPointer = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_GetPointer)

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

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

          itkImageToImageMetricISS2ISS2.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkImageToImageMetricISS2ISS2.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkImageToImageMetricISS2ISS2.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkImageToImageMetricISS2ISS2 in _itkImageToImageMetricPython:
_itkImageToImageMetricPython.itkImageToImageMetricISS2ISS2_swigregister(itkImageToImageMetricISS2ISS2)
class itkImageToImageMetricISS3ISS3(ITKCostFunctionsPython.itkSingleValuedCostFunction):
    r"""Proxy of C++ itkImageToImageMetricISS3ISS3 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 - class is abstract")
    __repr__ = _swig_repr
    SetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetFixedImage)
    GetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetFixedImage)
    SetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetMovingImage)
    GetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetMovingImage)
    SetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetTransform)
    GetModifiableTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetModifiableTransform)
    GetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetTransform)
    SetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetInterpolator)
    GetModifiableInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetModifiableInterpolator)
    GetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetInterpolator)
    GetNumberOfMovingImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetNumberOfMovingImageSamples)
    GetNumberOfPixelsCounted = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetNumberOfPixelsCounted)
    SetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetFixedImageRegion)
    GetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetFixedImageRegion)
    SetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetMovingImageMask)
    GetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetMovingImageMask)
    SetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetFixedImageMask)
    GetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetFixedImageMask)
    SetFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetFixedImageIndexes)
    SetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetUseFixedImageIndexes)
    GetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetUseFixedImageIndexes)
    SetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetNumberOfThreads)
    GetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetNumberOfThreads)
    SetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetComputeGradient)
    GetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetComputeGradient)
    ComputeGradientOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_ComputeGradientOn)
    ComputeGradientOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_ComputeGradientOff)
    ComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_ComputeGradient)
    GetModifiableGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetModifiableGradientImage)
    GetGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetGradientImage)
    SetTransformParameters = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetTransformParameters)
    Initialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_Initialize)
    MultiThreadingInitialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_MultiThreadingInitialize)
    SetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetNumberOfFixedImageSamples)
    GetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetNumberOfFixedImageSamples)
    SetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetNumberOfSpatialSamples)
    GetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetNumberOfSpatialSamples)
    SetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetFixedImageSamplesIntensityThreshold)
    GetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetFixedImageSamplesIntensityThreshold)
    SetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetUseFixedImageSamplesIntensityThreshold)
    GetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetUseFixedImageSamplesIntensityThreshold)
    SetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetUseAllPixels)
    UseAllPixelsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_UseAllPixelsOn)
    UseAllPixelsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_UseAllPixelsOff)
    GetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetUseAllPixels)
    SetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetUseSequentialSampling)
    GetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetUseSequentialSampling)
    ReinitializeSeed = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_ReinitializeSeed)
    SetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_SetUseCachingOfBSplineWeights)
    GetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetUseCachingOfBSplineWeights)
    UseCachingOfBSplineWeightsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_UseCachingOfBSplineWeightsOn)
    UseCachingOfBSplineWeightsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_UseCachingOfBSplineWeightsOff)
    GetModifiableThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetModifiableThreader)
    GetThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetThreader)
    GetThreaderTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetThreaderTransform)
    __swig_destroy__ = _itkImageToImageMetricPython.delete_itkImageToImageMetricISS3ISS3
    cast = _swig_new_static_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_cast)
    GetPointer = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_GetPointer)

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

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

          itkImageToImageMetricISS3ISS3.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkImageToImageMetricISS3ISS3.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkImageToImageMetricISS3ISS3.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkImageToImageMetricISS3ISS3 in _itkImageToImageMetricPython:
_itkImageToImageMetricPython.itkImageToImageMetricISS3ISS3_swigregister(itkImageToImageMetricISS3ISS3)
class itkImageToImageMetricIUC2IUC2(ITKCostFunctionsPython.itkSingleValuedCostFunction):
    r"""Proxy of C++ itkImageToImageMetricIUC2IUC2 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 - class is abstract")
    __repr__ = _swig_repr
    SetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetFixedImage)
    GetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetFixedImage)
    SetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetMovingImage)
    GetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetMovingImage)
    SetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetTransform)
    GetModifiableTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetModifiableTransform)
    GetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetTransform)
    SetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetInterpolator)
    GetModifiableInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetModifiableInterpolator)
    GetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetInterpolator)
    GetNumberOfMovingImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetNumberOfMovingImageSamples)
    GetNumberOfPixelsCounted = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetNumberOfPixelsCounted)
    SetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetFixedImageRegion)
    GetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetFixedImageRegion)
    SetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetMovingImageMask)
    GetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetMovingImageMask)
    SetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetFixedImageMask)
    GetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetFixedImageMask)
    SetFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetFixedImageIndexes)
    SetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetUseFixedImageIndexes)
    GetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetUseFixedImageIndexes)
    SetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetNumberOfThreads)
    GetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetNumberOfThreads)
    SetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetComputeGradient)
    GetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetComputeGradient)
    ComputeGradientOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_ComputeGradientOn)
    ComputeGradientOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_ComputeGradientOff)
    ComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_ComputeGradient)
    GetModifiableGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetModifiableGradientImage)
    GetGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetGradientImage)
    SetTransformParameters = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetTransformParameters)
    Initialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_Initialize)
    MultiThreadingInitialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_MultiThreadingInitialize)
    SetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetNumberOfFixedImageSamples)
    GetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetNumberOfFixedImageSamples)
    SetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetNumberOfSpatialSamples)
    GetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetNumberOfSpatialSamples)
    SetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetFixedImageSamplesIntensityThreshold)
    GetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetFixedImageSamplesIntensityThreshold)
    SetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetUseFixedImageSamplesIntensityThreshold)
    GetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetUseFixedImageSamplesIntensityThreshold)
    SetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetUseAllPixels)
    UseAllPixelsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_UseAllPixelsOn)
    UseAllPixelsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_UseAllPixelsOff)
    GetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetUseAllPixels)
    SetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetUseSequentialSampling)
    GetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetUseSequentialSampling)
    ReinitializeSeed = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_ReinitializeSeed)
    SetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_SetUseCachingOfBSplineWeights)
    GetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetUseCachingOfBSplineWeights)
    UseCachingOfBSplineWeightsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_UseCachingOfBSplineWeightsOn)
    UseCachingOfBSplineWeightsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_UseCachingOfBSplineWeightsOff)
    GetModifiableThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetModifiableThreader)
    GetThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetThreader)
    GetThreaderTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetThreaderTransform)
    __swig_destroy__ = _itkImageToImageMetricPython.delete_itkImageToImageMetricIUC2IUC2
    cast = _swig_new_static_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_cast)
    GetPointer = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_GetPointer)

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

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

          itkImageToImageMetricIUC2IUC2.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkImageToImageMetricIUC2IUC2.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkImageToImageMetricIUC2IUC2.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkImageToImageMetricIUC2IUC2 in _itkImageToImageMetricPython:
_itkImageToImageMetricPython.itkImageToImageMetricIUC2IUC2_swigregister(itkImageToImageMetricIUC2IUC2)
class itkImageToImageMetricIUC3IUC3(ITKCostFunctionsPython.itkSingleValuedCostFunction):
    r"""Proxy of C++ itkImageToImageMetricIUC3IUC3 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 - class is abstract")
    __repr__ = _swig_repr
    SetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetFixedImage)
    GetFixedImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetFixedImage)
    SetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetMovingImage)
    GetMovingImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetMovingImage)
    SetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetTransform)
    GetModifiableTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetModifiableTransform)
    GetTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetTransform)
    SetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetInterpolator)
    GetModifiableInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetModifiableInterpolator)
    GetInterpolator = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetInterpolator)
    GetNumberOfMovingImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetNumberOfMovingImageSamples)
    GetNumberOfPixelsCounted = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetNumberOfPixelsCounted)
    SetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetFixedImageRegion)
    GetFixedImageRegion = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetFixedImageRegion)
    SetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetMovingImageMask)
    GetMovingImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetMovingImageMask)
    SetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetFixedImageMask)
    GetFixedImageMask = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetFixedImageMask)
    SetFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetFixedImageIndexes)
    SetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetUseFixedImageIndexes)
    GetUseFixedImageIndexes = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetUseFixedImageIndexes)
    SetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetNumberOfThreads)
    GetNumberOfThreads = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetNumberOfThreads)
    SetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetComputeGradient)
    GetComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetComputeGradient)
    ComputeGradientOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_ComputeGradientOn)
    ComputeGradientOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_ComputeGradientOff)
    ComputeGradient = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_ComputeGradient)
    GetModifiableGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetModifiableGradientImage)
    GetGradientImage = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetGradientImage)
    SetTransformParameters = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetTransformParameters)
    Initialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_Initialize)
    MultiThreadingInitialize = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_MultiThreadingInitialize)
    SetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetNumberOfFixedImageSamples)
    GetNumberOfFixedImageSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetNumberOfFixedImageSamples)
    SetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetNumberOfSpatialSamples)
    GetNumberOfSpatialSamples = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetNumberOfSpatialSamples)
    SetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetFixedImageSamplesIntensityThreshold)
    GetFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetFixedImageSamplesIntensityThreshold)
    SetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetUseFixedImageSamplesIntensityThreshold)
    GetUseFixedImageSamplesIntensityThreshold = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetUseFixedImageSamplesIntensityThreshold)
    SetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetUseAllPixels)
    UseAllPixelsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_UseAllPixelsOn)
    UseAllPixelsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_UseAllPixelsOff)
    GetUseAllPixels = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetUseAllPixels)
    SetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetUseSequentialSampling)
    GetUseSequentialSampling = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetUseSequentialSampling)
    ReinitializeSeed = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_ReinitializeSeed)
    SetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_SetUseCachingOfBSplineWeights)
    GetUseCachingOfBSplineWeights = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetUseCachingOfBSplineWeights)
    UseCachingOfBSplineWeightsOn = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_UseCachingOfBSplineWeightsOn)
    UseCachingOfBSplineWeightsOff = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_UseCachingOfBSplineWeightsOff)
    GetModifiableThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetModifiableThreader)
    GetThreader = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetThreader)
    GetThreaderTransform = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetThreaderTransform)
    __swig_destroy__ = _itkImageToImageMetricPython.delete_itkImageToImageMetricIUC3IUC3
    cast = _swig_new_static_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_cast)
    GetPointer = _swig_new_instance_method(_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_GetPointer)

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

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

          itkImageToImageMetricIUC3IUC3.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkImageToImageMetricIUC3IUC3.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkImageToImageMetricIUC3IUC3.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkImageToImageMetricIUC3IUC3 in _itkImageToImageMetricPython:
_itkImageToImageMetricPython.itkImageToImageMetricIUC3IUC3_swigregister(itkImageToImageMetricIUC3IUC3)

