Loading...
Searching...
No Matches
elxMultiResolutionRegistration.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 elxMultiResolutionRegistration_h
#define elxMultiResolutionRegistration_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkMultiResolutionImageRegistrationMethod2.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT MultiResolutionRegistration
: public RegistrationBase<TElastix>::ITKBaseType
, public RegistrationBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(MultiResolutionRegistration);
using Self = MultiResolutionRegistration;
using Superclass1 = typename RegistrationBase<TElastix>::ITKBaseType;
using Superclass2 = RegistrationBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(MultiResolutionRegistration, MultiResolutionImageRegistrationMethod);
elxClassNameMacro("MultiResolutionRegistration");
using typename Superclass1::FixedImageType;
using typename Superclass1::FixedImageConstPointer;
using typename Superclass1::FixedImageRegionType;
using typename Superclass1::MovingImageType;
using typename Superclass1::MovingImageConstPointer;
using typename Superclass1::MetricType;
using typename Superclass1::MetricPointer;
using typename Superclass1::TransformType;
using typename Superclass1::TransformPointer;
using typename Superclass1::InterpolatorType;
using typename Superclass1::InterpolatorPointer;
using typename Superclass1::OptimizerType;
using typename Superclass1::FixedImagePyramidType;
using typename Superclass1::FixedImagePyramidPointer;
using typename Superclass1::MovingImagePyramidType;
using typename Superclass1::MovingImagePyramidPointer;
using typename Superclass1::ParametersType;
using typename Superclass2::ElastixType;
using RegistrationType = typename Superclass2::RegistrationType;
using ITKBaseType = typename Superclass2::ITKBaseType;
using typename Superclass2::UseMaskErosionArrayType;
itkStaticConstMacro(FixedImageDimension, unsigned int, Superclass2::FixedImageDimension);
itkStaticConstMacro(MovingImageDimension, unsigned int, Superclass2::MovingImageDimension);
void
BeforeRegistration() override;
void
BeforeEachResolution() override;
protected:
MultiResolutionRegistration() = default;
~MultiResolutionRegistration() override = default;
using typename Superclass2::MaskPixelType;
using typename Superclass2::FixedMaskImageType;
using typename Superclass2::MovingMaskImageType;
using typename Superclass2::FixedMaskImagePointer;
using typename Superclass2::MovingMaskImagePointer;
using typename Superclass2::FixedMaskSpatialObjectType;
using typename Superclass2::MovingMaskSpatialObjectType;
using typename Superclass2::FixedMaskSpatialObjectPointer;
using typename Superclass2::MovingMaskSpatialObjectPointer;
void
UpdateMasks(unsigned int level);
virtual void
SetComponents();
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxMultiResolutionRegistration.hxx"
#endif
#endif // end #ifndef elxMultiResolutionRegistration_h
elastix::MultiResolutionRegistration::Self
MultiResolutionRegistration Self
Definition elxMultiResolutionRegistration.h:53
elastix::MultiResolutionRegistration::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, Superclass2::MovingImageDimension)
elastix::MultiResolutionRegistration::MultiResolutionRegistration
MultiResolutionRegistration()=default
elastix::MultiResolutionRegistration::Superclass1
typename RegistrationBase< TElastix >::ITKBaseType Superclass1
Definition elxMultiResolutionRegistration.h:54
elastix::MultiResolutionRegistration::UpdateMasks
void UpdateMasks(unsigned int level)
elastix::MultiResolutionRegistration::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxMultiResolutionRegistration.h:159
elastix::MultiResolutionRegistration::~MultiResolutionRegistration
~MultiResolutionRegistration() override=default
elastix::MultiResolutionRegistration::BeforeRegistration
void BeforeRegistration() override
elastix::MultiResolutionRegistration::Superclass2
RegistrationBase< TElastix > Superclass2
Definition elxMultiResolutionRegistration.h:55
elastix::MultiResolutionRegistration::RegistrationType
typename Superclass2::RegistrationType RegistrationType
Definition elxMultiResolutionRegistration.h:112
elastix::MultiResolutionRegistration::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(MultiResolutionRegistration)
elastix::MultiResolutionRegistration::SetComponents
virtual void SetComponents()
elastix::MultiResolutionRegistration::Pointer
itk::SmartPointer< Self > Pointer
Definition elxMultiResolutionRegistration.h:56
elastix::MultiResolutionRegistration::elxClassNameMacro
elxClassNameMacro("MultiResolutionRegistration")
elastix::MultiResolutionRegistration::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxMultiResolutionRegistration.h:57
elastix::MultiResolutionRegistration::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, Superclass2::FixedImageDimension)
elastix::MultiResolutionRegistration::BeforeEachResolution
void BeforeEachResolution() override
elastix::MultiResolutionRegistration::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxMultiResolutionRegistration.h:113
elastix::RegistrationBase::MaskPixelType
typename ElastixType::MaskPixelType MaskPixelType
Definition elxRegistrationBase.h:155
elastix::RegistrationBase::FixedMaskSpatialObjectType
itk::ImageMaskSpatialObject< Self::FixedImageDimension > FixedMaskSpatialObjectType
Definition elxRegistrationBase.h:160
elastix::RegistrationBase::MovingMaskSpatialObjectPointer
typename MovingMaskSpatialObjectType::Pointer MovingMaskSpatialObjectPointer
Definition elxRegistrationBase.h:163
elastix::RegistrationBase::FixedMaskSpatialObjectPointer
typename FixedMaskSpatialObjectType::Pointer FixedMaskSpatialObjectPointer
Definition elxRegistrationBase.h:162
elastix::RegistrationBase::FixedMaskImagePointer
typename FixedMaskImageType::Pointer FixedMaskImagePointer
Definition elxRegistrationBase.h:158
elastix::RegistrationBase::RegistrationType
typename ElastixType::RegistrationBaseType RegistrationType
Definition elxBaseComponentSE.h:62
elastix::RegistrationBase::ElastixType
TElastix ElastixType
Definition elxBaseComponentSE.h:57
elastix::RegistrationBase::MovingMaskSpatialObjectType
itk::ImageMaskSpatialObject< Self::MovingImageDimension > MovingMaskSpatialObjectType
Definition elxRegistrationBase.h:161
elastix::RegistrationBase::MovingMaskImagePointer
typename MovingMaskImageType::Pointer MovingMaskImagePointer
Definition elxRegistrationBase.h:159
elastix::RegistrationBase::RegistrationBase
RegistrationBase()=default
elastix::RegistrationBase::UseMaskErosionArrayType
std::vector< bool > UseMaskErosionArrayType
Definition elxRegistrationBase.h:104
elastix::RegistrationBase::MovingMaskImageType
typename ElastixType::MovingMaskType MovingMaskImageType
Definition elxRegistrationBase.h:157
elastix::RegistrationBase::ITKBaseType
itk::MultiResolutionImageRegistrationMethod2< FixedImageType, MovingImageType > ITKBaseType
Definition elxRegistrationBase.h:101
elastix::RegistrationBase::FixedMaskImageType
typename ElastixType::FixedMaskType FixedMaskImageType
Definition elxRegistrationBase.h:156
elxIncludes.h
itkMultiResolutionImageRegistrationMethod2.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |