Loading...
Searching...
No Matches
elxMovingGenericPyramid.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 elxMovingGenericPyramid_h
#define elxMovingGenericPyramid_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkGenericMultiResolutionPyramidImageFilter.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT MovingGenericPyramid
: public itk::GenericMultiResolutionPyramidImageFilter<typename MovingImagePyramidBase<TElastix>::InputImageType,
typename MovingImagePyramidBase<TElastix>::OutputImageType>
, public MovingImagePyramidBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(MovingGenericPyramid);
using Self = MovingGenericPyramid;
using Superclass1 =
itk::GenericMultiResolutionPyramidImageFilter<typename MovingImagePyramidBase<TElastix>::InputImageType,
typename MovingImagePyramidBase<TElastix>::OutputImageType>;
using Superclass2 = MovingImagePyramidBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(MovingGenericPyramid, GenericMultiResolutionPyramidImageFilter);
elxClassNameMacro("MovingGenericImagePyramid");
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension);
using typename Superclass1::InputImageType;
using typename Superclass1::OutputImageType;
using typename Superclass1::InputImagePointer;
using typename Superclass1::OutputImagePointer;
using typename Superclass1::InputImageConstPointer;
using typename Superclass1::ScheduleType;
using typename Superclass1::RescaleScheduleType;
using typename Superclass1::SmoothingScheduleType;
using typename Superclass2::ElastixType;
using typename Superclass2::RegistrationType;
using ITKBaseType = typename Superclass2::ITKBaseType;
void
SetMovingSchedule() override;
void
BeforeEachResolution() override;
protected:
MovingGenericPyramid() = default;
~MovingGenericPyramid() override = default;
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxMovingGenericPyramid.hxx"
#endif
#endif // end #ifndef elxMovingGenericPyramid_h
elastix::MovingGenericPyramid::Superclass2
MovingImagePyramidBase< TElastix > Superclass2
Definition elxMovingGenericPyramid.h:81
elastix::MovingGenericPyramid::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxMovingGenericPyramid.h:113
elastix::MovingGenericPyramid::SetMovingSchedule
void SetMovingSchedule() override
elastix::MovingGenericPyramid::BeforeEachResolution
void BeforeEachResolution() override
elastix::MovingGenericPyramid::Superclass1
itk::GenericMultiResolutionPyramidImageFilter< typename MovingImagePyramidBase< TElastix >::InputImageType, typename MovingImagePyramidBase< TElastix >::OutputImageType > Superclass1
Definition elxMovingGenericPyramid.h:78
elastix::MovingGenericPyramid::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(MovingGenericPyramid)
elastix::MovingGenericPyramid::Pointer
itk::SmartPointer< Self > Pointer
Definition elxMovingGenericPyramid.h:82
elastix::MovingGenericPyramid::itkStaticConstMacro
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
elastix::MovingGenericPyramid::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxMovingGenericPyramid.h:132
elastix::MovingGenericPyramid::Self
MovingGenericPyramid Self
Definition elxMovingGenericPyramid.h:77
elastix::MovingGenericPyramid::~MovingGenericPyramid
~MovingGenericPyramid() override=default
elastix::MovingGenericPyramid::MovingGenericPyramid
MovingGenericPyramid()=default
elastix::MovingGenericPyramid::elxClassNameMacro
elxClassNameMacro("MovingGenericImagePyramid")
elastix::MovingGenericPyramid::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxMovingGenericPyramid.h:83
elastix::MovingImagePyramidBase::MovingImagePyramidBase
MovingImagePyramidBase()=default
elastix::MovingImagePyramidBase::RegistrationType
typename ElastixType::RegistrationBaseType RegistrationType
Definition elxBaseComponentSE.h:62
elastix::MovingImagePyramidBase::ElastixType
TElastix ElastixType
Definition elxBaseComponentSE.h:57
elastix::MovingImagePyramidBase::OutputImageType
typename ElastixType::MovingImageType OutputImageType
Definition elxMovingImagePyramidBase.h:78
elastix::MovingImagePyramidBase::ITKBaseType
itk::MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > ITKBaseType
Definition elxMovingImagePyramidBase.h:81
itk::GenericMultiResolutionPyramidImageFilter
Framework for creating images in a multi-resolution pyramid.
Definition itkGenericMultiResolutionPyramidImageFilter.h:119
itk::GenericMultiResolutionPyramidImageFilter::GenericMultiResolutionPyramidImageFilter
GenericMultiResolutionPyramidImageFilter()
elxIncludes.h
itkGenericMultiResolutionPyramidImageFilter.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |