#include <elxMovingGenericPyramid.h>
A pyramid based on the itk::GenericMultiResolutionPyramidImageFilter.
It is generic since it has all functionality that the MovingRecursivePyramid, MovingShrinkingPyramid and MovingSmoothingPyramid have together. This pyramid has two separate schedules: one for size rescaling and one for the Gaussian smoothing factor sigma. In addition, it has an option to compute pyramid output per resolution, and not all at once, to reduce memory consumption.
The parameters used in this class are:
MovingImagePyramid: Select this pyramid as follows:
(MovingImagePyramid "MovingGenericImagePyramid")
MovingImagePyramidRescaleSchedule: downsampling factors for the moving image pyramid.
For each dimension, for each resolution level, the downsampling factor of the moving image can be specified.
Syntax for 2D images:
(MovingImagePyramidRescaleSchedule <reslevel0,dim0> <reslevel0,dim1> <reslevel1,dim0> <reslevel1,dim1> ...)
example: (MovingImagePyramidRescaleSchedule 4 4 2 2 1 1)
Default: isotropic, halved in each resolution, so, like in the example. If ImagePyramidRescaleSchedule is specified, that schedule is used for both moving and moving image pyramid.
ImagePyramidRescaleSchedule: rescale schedule for both pyramids
ImagePyramidSchedule: same as ImagePyramidRescaleSchedule
MovingImagePyramidSchedule: same as MovingImagePyramidRescaleSchedule
MovingImagePyramidSmoothingSchedule: sigma's for smoothing the moving image pyramid.
For each dimension, for each resolution level, the sigma of the moving image can be specified.
Syntax for 2D images:
(MovingImagePyramidSmoothingSchedule <reslevel0,dim0> <reslevel0,dim1> <reslevel1,dim0> <reslevel1,dim1> ...)
example: (MovingImagePyramidSmoothingSchedule 4 4 2 2 1 1)
Default: 0.5 x rescale_factor x moving_image_spacing.
If ImagePyramidSmoothingSchedule is specified, that schedule is used for both moving and moving image pyramid.
ImagePyramidSmoothingSchedule: smoothing schedule for both pyramids
ComputePyramidImagesPerResolution: Flag to specify if all resolution levels are computed at once, or per resolution. Latter saves memory.
example: (ComputePyramidImagesPerResolution "true")
Default false.
ImagePyramidUseShrinkImageFilter: Flag to specify if the ShrinkingImageFilter is used for rescaling the image, or the ResampleImageFilter. Shrinker is faster.
example: (ImagePyramidUseShrinkImageFilter "true")
Default false, so by default the resampler is used.
Definition at line 68 of file elxMovingGenericPyramid.h.
Public Types | |
using | ConstPointer = itk::SmartPointer<const Self> |
using | ITKBaseType = typename Superclass2::ITKBaseType |
using | Pointer = itk::SmartPointer<Self> |
using | RescaleScheduleType |
using | Self = MovingGenericPyramid |
using | SmoothingScheduleType |
using | Superclass1 |
using | Superclass2 = MovingImagePyramidBase<TElastix> |
Public Types inherited from itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType > | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | RescaleFactorArrayType = SigmaArrayType |
using | RescaleScheduleType = ScheduleType |
using | ScalarRealType = typename NumericTraits<PixelType>::ScalarRealType |
using | Self = GenericMultiResolutionPyramidImageFilter |
using | SigmaArrayType = FixedArray<ScalarRealType, Self::ImageDimension> |
using | SmoothingScheduleType = vnl_matrix<ScalarRealType> |
using | SpacingType = typename Superclass::InputImageType::SpacingType |
using | Superclass = MultiResolutionPyramidImageFilter<TInputImage, TOutputImage> |
using | SuperSuperclass = typename Superclass::Superclass |
Public Types inherited from elastix::MovingImagePyramidBase< TElastix > | |
using | ElastixType |
using | InputImageType = typename ElastixType::MovingImageType |
using | ITKBaseType = itk::MultiResolutionPyramidImageFilter<InputImageType, OutputImageType> |
using | OutputImageType = typename ElastixType::MovingImageType |
using | RegistrationType |
using | ScheduleType = typename ITKBaseType::ScheduleType |
using | Self = MovingImagePyramidBase |
using | Superclass = BaseComponentSE<TElastix> |
Public Types inherited from elastix::BaseComponentSE< TElastix > | |
using | ElastixType = TElastix |
using | RegistrationType = typename ElastixType::RegistrationBaseType |
using | Self = BaseComponentSE |
using | Superclass = BaseComponent |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType > | |
static Pointer | New () |
Static Public Member Functions inherited from elastix::BaseComponent | |
template<typename TBaseComponent > | |
static auto | AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType()) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Private Attributes | |
elxOverrideGetSelfMacro | |
Additional Inherited Members | |
Protected Attributes inherited from itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType > | |
bool | m_ComputeOnlyForCurrentLevel {} |
unsigned int | m_CurrentLevel {} |
SmoothingScheduleType | m_SmoothingSchedule {} |
bool | m_SmoothingScheduleDefined {} |
Protected Attributes inherited from elastix::BaseComponentSE< TElastix > | |
Configuration::ConstPointer | m_Configuration {} |
itk::WeakPointer< TElastix > | m_Elastix {} |
RegistrationType * | m_Registration {} |
using elastix::MovingGenericPyramid< TElastix >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 83 of file elxMovingGenericPyramid.h.
using elastix::MovingGenericPyramid< TElastix >::ITKBaseType = typename Superclass2::ITKBaseType |
Definition at line 113 of file elxMovingGenericPyramid.h.
using elastix::MovingGenericPyramid< TElastix >::Pointer = itk::SmartPointer<Self> |
Definition at line 82 of file elxMovingGenericPyramid.h.
using itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType >::RescaleScheduleType |
Definition at line 153 of file itkGenericMultiResolutionPyramidImageFilter.h.
using elastix::MovingGenericPyramid< TElastix >::Self = MovingGenericPyramid |
Standard ITK-stuff.
Definition at line 77 of file elxMovingGenericPyramid.h.
using itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType >::SmoothingScheduleType |
SmoothingScheduleType typedef support.
Definition at line 152 of file itkGenericMultiResolutionPyramidImageFilter.h.
using elastix::MovingGenericPyramid< TElastix >::Superclass1 |
Definition at line 78 of file elxMovingGenericPyramid.h.
using elastix::MovingGenericPyramid< TElastix >::Superclass2 = MovingImagePyramidBase<TElastix> |
Definition at line 81 of file elxMovingGenericPyramid.h.
|
protecteddefault |
The constructor.
|
overrideprotecteddefault |
The destructor.
|
overridevirtual |
Update the current resolution level.
Reimplemented from elastix::BaseComponent.
elastix::MovingGenericPyramid< TElastix >::elxClassNameMacro | ( | "MovingGenericImagePyramid" | ) |
Name of this class. Use this name in the parameter file to select this specific pyramid.
example: (MovingImagePyramid "MovingGenericImagePyramid")
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType >.
Reimplemented in elastix::OpenCLMovingGenericPyramid< TElastix >.
elastix::MovingGenericPyramid< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | MovingGenericPyramid< TElastix > | ) |
elastix::MovingGenericPyramid< TElastix >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned int | , | ||
Superclass1::ImageDimension | ) |
Get the ImageDimension.
|
static |
Method for creation through the object factory.
|
overridevirtual |
Method for setting the schedule. Override from MovingImagePyramidBase, since we now have two schedules, rescaling and smoothing.
Reimplemented from elastix::MovingImagePyramidBase< TElastix >.
|
private |
Definition at line 132 of file elxMovingGenericPyramid.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |