Loading...
Searching...
No Matches
elxKNNGraphAlphaMutualInformationMetric.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef elxKNNGraphAlphaMutualInformationMetric_h
#define elxKNNGraphAlphaMutualInformationMetric_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkKNNGraphAlphaMutualInformationImageToImageMetric.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT KNNGraphAlphaMutualInformationMetric
: public itk::KNNGraphAlphaMutualInformationImageToImageMetric<typename MetricBase<TElastix>::FixedImageType,
typename MetricBase<TElastix>::MovingImageType>
, public MetricBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(KNNGraphAlphaMutualInformationMetric);
using Self = KNNGraphAlphaMutualInformationMetric;
using Superclass1 =
itk::KNNGraphAlphaMutualInformationImageToImageMetric<typename MetricBase<TElastix>::FixedImageType,
typename MetricBase<TElastix>::MovingImageType>;
using Superclass2 = MetricBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(KNNGraphAlphaMutualInformationMetric, itk::KNNGraphAlphaMutualInformationImageToImageMetric);
elxClassNameMacro("KNNGraphAlphaMutualInformation");
using typename Superclass1::TransformType;
using typename Superclass1::TransformPointer;
using typename Superclass1::TransformJacobianType;
using typename Superclass1::InterpolatorType;
using typename Superclass1::MeasureType;
using typename Superclass1::DerivativeType;
using typename Superclass1::ParametersType;
using typename Superclass1::FixedImageType;
using typename Superclass1::MovingImageType;
using typename Superclass1::FixedImageConstPointer;
using typename Superclass1::MovingImageConstPointer;
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
using typename Superclass2::ElastixType;
using typename Superclass2::RegistrationType;
using ITKBaseType = typename Superclass2::ITKBaseType;
using FixedFeatureImageType = FixedImageType;
using MovingFeatureImageType = MovingImageType;
void
BeforeRegistration() override;
void
BeforeEachResolution() override;
void
Initialize() override;
protected:
KNNGraphAlphaMutualInformationMetric() = default;
~KNNGraphAlphaMutualInformationMetric() override = default;
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxKNNGraphAlphaMutualInformationMetric.hxx"
#endif
#endif // end #ifndef elxKNNGraphAlphaMutualInformationMetric_h
elastix::KNNGraphAlphaMutualInformationMetric::BeforeEachResolution
void BeforeEachResolution() override
elastix::KNNGraphAlphaMutualInformationMetric::Self
KNNGraphAlphaMutualInformationMetric Self
Definition elxKNNGraphAlphaMutualInformationMetric.h:91
elastix::KNNGraphAlphaMutualInformationMetric::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxKNNGraphAlphaMutualInformationMetric.h:97
elastix::KNNGraphAlphaMutualInformationMetric::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(KNNGraphAlphaMutualInformationMetric)
elastix::KNNGraphAlphaMutualInformationMetric::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
elastix::KNNGraphAlphaMutualInformationMetric::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elastix::KNNGraphAlphaMutualInformationMetric::KNNGraphAlphaMutualInformationMetric
KNNGraphAlphaMutualInformationMetric()=default
elastix::KNNGraphAlphaMutualInformationMetric::Initialize
void Initialize() override
elastix::KNNGraphAlphaMutualInformationMetric::MovingFeatureImageType
MovingImageType MovingFeatureImageType
Definition elxKNNGraphAlphaMutualInformationMetric.h:136
elastix::KNNGraphAlphaMutualInformationMetric::elxClassNameMacro
elxClassNameMacro("KNNGraphAlphaMutualInformation")
elastix::KNNGraphAlphaMutualInformationMetric::Superclass1
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Definition elxKNNGraphAlphaMutualInformationMetric.h:92
elastix::KNNGraphAlphaMutualInformationMetric::FixedFeatureImageType
FixedImageType FixedFeatureImageType
Definition elxKNNGraphAlphaMutualInformationMetric.h:135
elastix::KNNGraphAlphaMutualInformationMetric::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxKNNGraphAlphaMutualInformationMetric.h:176
elastix::KNNGraphAlphaMutualInformationMetric::Pointer
itk::SmartPointer< Self > Pointer
Definition elxKNNGraphAlphaMutualInformationMetric.h:96
elastix::KNNGraphAlphaMutualInformationMetric::~KNNGraphAlphaMutualInformationMetric
~KNNGraphAlphaMutualInformationMetric() override=default
elastix::KNNGraphAlphaMutualInformationMetric::BeforeRegistration
void BeforeRegistration() override
elastix::KNNGraphAlphaMutualInformationMetric::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxKNNGraphAlphaMutualInformationMetric.h:132
elastix::KNNGraphAlphaMutualInformationMetric::Superclass2
MetricBase< TElastix > Superclass2
Definition elxKNNGraphAlphaMutualInformationMetric.h:95
elastix::MetricBase::MetricBase
MetricBase()=default
elastix::MetricBase::ITKBaseType
itk::SingleValuedCostFunction ITKBaseType
Definition elxMetricBase.h:97
elastix::MetricBase::FixedImageType
typename ElastixType::FixedImageType FixedImageType
Definition elxMetricBase.h:89
elastix::MetricBase::MovingImageType
typename ElastixType::MovingImageType MovingImageType
Definition elxMetricBase.h:92
elastix::MetricBase::RegistrationType
typename ElastixType::RegistrationBaseType RegistrationType
Definition elxBaseComponentSE.h:62
elastix::MetricBase::ElastixType
TElastix ElastixType
Definition elxBaseComponentSE.h:57
itk::KNNGraphAlphaMutualInformationImageToImageMetric
Computes similarity between two images to be registered.
Definition itkKNNGraphAlphaMutualInformationImageToImageMetric.h:76
elxIncludes.h
itkKNNGraphAlphaMutualInformationImageToImageMetric.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |