![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkErodeMaskImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef MultiResolutionPyramidImageFilter < InputImageType, OutputImageType > | ImagePyramidFilterType |
typedef InputImageType::Pointer | InputImagePointer |
typedef TImage | InputImageType |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef TImage | OutputImageType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef ImagePyramidFilterType::ScheduleType | ScheduleType |
typedef ErodeMaskImageFilter | Self |
typedef ImageToImageFilter < TImage, TImage > | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual bool | GetIsMovingMask () const |
virtual unsigned int | GetResolutionLevel () const |
virtual const ScheduleType & | GetSchedule () |
itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, OutputImageType::ImageDimension) | |
itkStaticConstMacro (ImageDimension, unsigned int, OutputImageType::ImageDimension) | |
virtual void | SetIsMovingMask (bool _arg) |
virtual void | SetResolutionLevel (unsigned int _arg) |
virtual void | SetSchedule (const ScheduleType &schedule) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ErodeMaskImageFilter () | |
virtual void | GenerateData (void) |
virtual | ~ErodeMaskImageFilter () |
Private Member Functions | |
ErodeMaskImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_IsMovingMask |
unsigned int | m_ResolutionLevel |
ScheduleType | m_Schedule |
This filter computes the Erosion of a mask image. It makes only sense for masks used in a multiresolution registration procedure.
The input to this filter is a scalar-valued itk::Image of arbitrary dimension. The output is a scalar-valued itk::Image, of the same type as the input image. This restriction is not really necessary, but easier for coding.
If IsMovingMask == false:
If more resolution levels are used, the image is subsampled. Before subsampling the image is smoothed with a Gaussian filter, with variance (schedule/2)^2. The 'schedule' depends on the resolution level. The 'radius' of the convolution filter is roughly twice the standard deviation. Thus, the parts in the edge with size 'radius' are influenced by the background.
–> radius = static_cast<unsigned long>( schedule + 1 );
If IsMovingMask == true:
Same story as before. Now the size the of the eroding element is doubled. This is because the gradient of the moving image is used for calculating the derivative of the metric.
–> radius = static_cast<unsigned long>( 2 * schedule + 1 );
Definition at line 53 of file itkErodeMaskImageFilter.h.
typedef SmartPointer< const Self > itk::ErodeMaskImageFilter< TImage >::ConstPointer |
Definition at line 62 of file itkErodeMaskImageFilter.h.
typedef MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > itk::ErodeMaskImageFilter< TImage >::ImagePyramidFilterType |
Define the schedule type.
Definition at line 88 of file itkErodeMaskImageFilter.h.
typedef InputImageType::Pointer itk::ErodeMaskImageFilter< TImage >::InputImagePointer |
Definition at line 73 of file itkErodeMaskImageFilter.h.
typedef TImage itk::ErodeMaskImageFilter< TImage >::InputImageType |
Typedefs.
Definition at line 68 of file itkErodeMaskImageFilter.h.
typedef InputImageType::PixelType itk::ErodeMaskImageFilter< TImage >::InputPixelType |
Definition at line 75 of file itkErodeMaskImageFilter.h.
typedef OutputImageType::Pointer itk::ErodeMaskImageFilter< TImage >::OutputImagePointer |
Definition at line 74 of file itkErodeMaskImageFilter.h.
typedef TImage itk::ErodeMaskImageFilter< TImage >::OutputImageType |
Definition at line 72 of file itkErodeMaskImageFilter.h.
typedef OutputImageType::PixelType itk::ErodeMaskImageFilter< TImage >::OutputPixelType |
Definition at line 76 of file itkErodeMaskImageFilter.h.
typedef SmartPointer< Self > itk::ErodeMaskImageFilter< TImage >::Pointer |
Definition at line 61 of file itkErodeMaskImageFilter.h.
typedef ImagePyramidFilterType::ScheduleType itk::ErodeMaskImageFilter< TImage >::ScheduleType |
Definition at line 89 of file itkErodeMaskImageFilter.h.
typedef ErodeMaskImageFilter itk::ErodeMaskImageFilter< TImage >::Self |
Standard ITK stuff.
Definition at line 59 of file itkErodeMaskImageFilter.h.
typedef ImageToImageFilter< TImage, TImage > itk::ErodeMaskImageFilter< TImage >::Superclass |
Definition at line 60 of file itkErodeMaskImageFilter.h.
|
protected |
Constructor.
|
inlineprotectedvirtual |
Destructor
Definition at line 129 of file itkErodeMaskImageFilter.h.
|
private |
|
protectedvirtual |
Standard pipeline method. While this class does not implement a ThreadedGenerateData(), its GenerateData() delegates all calculations to the ParabolicErodeImageFilter, which is multi-threaded.
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
|
virtual |
itk::ErodeMaskImageFilter< TImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
InputImageType::ImageDimension | |||
) |
Dimensionality of the two images is assumed to be the same.
itk::ErodeMaskImageFilter< TImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
unsigned | int, | ||
OutputImageType::ImageDimension | |||
) |
itk::ErodeMaskImageFilter< TImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
OutputImageType::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
private |
|
virtual |
Set/Get whether the mask serves as a 'moving mask' in the registration Moving masks are eroded with a slightly larger kernel, because the derivative is usually taken on the moving image. Default: false
|
virtual |
Set the resolution level of the registration. Default: 0.
|
inlinevirtual |
Set/Get the pyramid schedule used to downsample the image whose mask is the input of the ErodeMaskImageFilter Default: filled with ones, one resolution.
Definition at line 95 of file itkErodeMaskImageFilter.h.
|
private |
Definition at line 142 of file itkErodeMaskImageFilter.h.
|
private |
Definition at line 143 of file itkErodeMaskImageFilter.h.
|
private |
Definition at line 144 of file itkErodeMaskImageFilter.h.
Generated on 27-04-2014 for elastix by ![]() |
![]() |