#include <elxFixedGenericPyramid.h>
A pyramid based on the itk::GenericMultiResolutionPyramidImageFilter.
It is generic since it has all functionality that the FixedRecursivePyramid, FixedShrinkingPyramid and FixedSmoothingPyramid 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:
FixedImagePyramid: Select this pyramid as follows:
(FixedImagePyramid "FixedGenericImagePyramid")
FixedImagePyramidRescaleSchedule: downsampling factors for the fixed image pyramid.
For each dimension, for each resolution level, the downsampling factor of the fixed image can be specified.
Syntax for 2D images:
(FixedImagePyramidRescaleSchedule <reslevel0,dim0> <reslevel0,dim1> <reslevel1,dim0> <reslevel1,dim1> ...)
example: (FixedImagePyramidRescaleSchedule 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 fixed and moving image pyramid.
ImagePyramidRescaleSchedule: rescale schedule for both pyramids
ImagePyramidSchedule: same as ImagePyramidRescaleSchedule
FixedImagePyramidSchedule: same as FixedImagePyramidRescaleSchedule
FixedImagePyramidSmoothingSchedule: sigma's for smoothing the fixed image pyramid.
For each dimension, for each resolution level, the sigma of the fixed image can be specified.
Syntax for 2D images:
(FixedImagePyramidSmoothingSchedule <reslevel0,dim0> <reslevel0,dim1> <reslevel1,dim0> <reslevel1,dim1> ...)
example: (FixedImagePyramidSmoothingSchedule 4 4 2 2 1 1)
Default: 0.5 x rescale_factor x fixed_image_spacing.
If ImagePyramidSmoothingSchedule is specified, that schedule is used for both fixed 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. Skrinker is faster.
example: (ImagePyramidUseShrinkImageFilter "true")
Default false, so by default the resampler is used.
Definition at line 68 of file elxFixedGenericPyramid.h.
Public Types | |
using | ConstPointer = itk::SmartPointer<const Self> |
using | ITKBaseType = typename Superclass2::ITKBaseType |
using | Pointer = itk::SmartPointer<Self> |
using | RescaleScheduleType |
using | Self = FixedGenericPyramid |
using | SmoothingScheduleType |
using | Superclass1 |
using | Superclass2 = FixedImagePyramidBase<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::FixedImagePyramidBase< TElastix > | |
using | ElastixType |
using | InputImageType = typename ElastixType::FixedImageType |
using | ITKBaseType = itk::MultiResolutionPyramidImageFilter<InputImageType, OutputImageType> |
using | OutputImageType = typename ElastixType::FixedImageType |
using | RegistrationType |
using | ScheduleType = typename ITKBaseType::ScheduleType |
using | Self = FixedImagePyramidBase |
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::FixedGenericPyramid< TElastix >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 83 of file elxFixedGenericPyramid.h.
using elastix::FixedGenericPyramid< TElastix >::ITKBaseType = typename Superclass2::ITKBaseType |
Definition at line 113 of file elxFixedGenericPyramid.h.
using elastix::FixedGenericPyramid< TElastix >::Pointer = itk::SmartPointer<Self> |
Definition at line 82 of file elxFixedGenericPyramid.h.
using itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType >::RescaleScheduleType |
Definition at line 153 of file itkGenericMultiResolutionPyramidImageFilter.h.
using elastix::FixedGenericPyramid< TElastix >::Self = FixedGenericPyramid |
Standard ITK-stuff.
Definition at line 77 of file elxFixedGenericPyramid.h.
using itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType >::SmoothingScheduleType |
SmoothingScheduleType typedef support.
Definition at line 152 of file itkGenericMultiResolutionPyramidImageFilter.h.
using elastix::FixedGenericPyramid< TElastix >::Superclass1 |
Definition at line 78 of file elxFixedGenericPyramid.h.
using elastix::FixedGenericPyramid< TElastix >::Superclass2 = FixedImagePyramidBase<TElastix> |
Definition at line 81 of file elxFixedGenericPyramid.h.
|
protecteddefault |
The constructor.
|
overrideprotecteddefault |
The destructor.
|
overridevirtual |
Update the current resolution level.
Reimplemented from elastix::BaseComponent.
elastix::FixedGenericPyramid< TElastix >::elxClassNameMacro | ( | "FixedGenericImagePyramid" | ) |
Name of this class. Use this name in the parameter file to select this specific pyramid.
example: (FixedImagePyramid "FixedGenericImagePyramid")
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::GenericMultiResolutionPyramidImageFilter< TInputImage, TOutputImage, TPrecisionType >.
Reimplemented in elastix::OpenCLFixedGenericPyramid< TElastix >.
elastix::FixedGenericPyramid< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | FixedGenericPyramid< TElastix > | ) |
elastix::FixedGenericPyramid< 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 FixedImagePyramidBase, since we now have two schedules, rescaling and smoothing.
Reimplemented from elastix::FixedImagePyramidBase< TElastix >.
|
private |
Definition at line 132 of file elxFixedGenericPyramid.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |