Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkParabolicErodeDilateImageFilter.h>
Parent class for morphological operations with parabolic structuring elements.
Parabolic structuring elements are the morphological counterpart of the gaussian function in linear processing. Parabolic structuring elements are dimensionally decomposable and fast algorithms are available for computing erosions and dilations along lines. This class implements the "point of contact" algorithm, which is reasonably efficient. Improved versions, that are nearly independent of structuring function size, are also known but haven't been implemented here.
Parabolic structuring functions can be used as a fast alternative to the "rolling ball" structuring element classically used in background estimation, for example in ImageJ, have applications in image sharpening and distance transform computation.
This class uses an internal buffer of RealType pixels for each line. This line is cast to the output pixel type when written back to the output image. Since the filter uses dimensional decomposition this approach could result in inaccuracy as pixels are cast back and forth between low and high precision types. Use a high precision output type and cast manually if this is a problem.
This filter is threaded. Threading mechanism derived from SignedMaurerDistanceMap extensions by Gaetan Lehman
Definition at line 64 of file itkParabolicErodeDilateImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::ConstPointer | InputImageConstPointer |
typedef TInputImage::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TInputImage::SizeType | InputSizeType |
typedef NumericTraits< PixelType >::FloatType | InternalRealType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TOutputImage::SizeType | OutputSizeType |
typedef SmartPointer< Self > | Pointer |
typedef itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > | RadiusType |
typedef NumericTraits< PixelType >::RealType | RealType |
typedef NumericTraits< PixelType >::ScalarRealType | ScalarRealType |
typedef ParabolicErodeDilateImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual const RadiusType & | GetScale () |
virtual const bool & | GetUseImageSpacing () |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
virtual void | SetScale (RadiusType _arg) |
void | SetScale (ScalarRealType scale) |
virtual void | SetUseImageSpacing (bool _arg) |
virtual void | UseImageSpacingOff () |
virtual void | UseImageSpacingOn () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | EnlargeOutputRequestedRegion (DataObject *output) override |
void | GenerateData (void) override |
ParabolicErodeDilateImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
int | SplitRequestedRegion (int i, int num, OutputImageRegionType &splitRegion) |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override |
~ParabolicErodeDilateImageFilter () override | |
Protected Attributes | |
bool | m_UseImageSpacing |
Private Member Functions | |
void | operator= (const Self &) |
ParabolicErodeDilateImageFilter (const Self &) | |
Private Attributes | |
int | m_CurrentDimension |
TInputImage::PixelType | m_Extreme |
int | m_MagnitudeSign |
RadiusType | m_Scale |
typedef SmartPointer< const Self > itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::ConstPointer |
Definition at line 74 of file itkParabolicErodeDilateImageFilter.h.
typedef TInputImage::ConstPointer itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::InputImageConstPointer |
Definition at line 92 of file itkParabolicErodeDilateImageFilter.h.
typedef TInputImage::Pointer itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::InputImagePointer |
Smart pointer typedef support.
Definition at line 91 of file itkParabolicErodeDilateImageFilter.h.
typedef TInputImage itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::InputImageType |
Pixel Type of the input image
Definition at line 83 of file itkParabolicErodeDilateImageFilter.h.
typedef TInputImage::SizeType itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::InputSizeType |
Definition at line 93 of file itkParabolicErodeDilateImageFilter.h.
typedef NumericTraits<PixelType>::FloatType itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::InternalRealType |
Define the image type for internal computations RealType is usually 'double' in NumericTraits. Here we prefer float in order to save memory.
Definition at line 112 of file itkParabolicErodeDilateImageFilter.h.
typedef OutputImageType::RegionType itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::OutputImageRegionType |
Definition at line 107 of file itkParabolicErodeDilateImageFilter.h.
typedef TOutputImage itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::OutputImageType |
Definition at line 84 of file itkParabolicErodeDilateImageFilter.h.
typedef TOutputImage::PixelType itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::OutputPixelType |
Definition at line 88 of file itkParabolicErodeDilateImageFilter.h.
typedef TOutputImage::SizeType itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::OutputSizeType |
Definition at line 94 of file itkParabolicErodeDilateImageFilter.h.
typedef SmartPointer< Self > itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::Pointer |
Definition at line 73 of file itkParabolicErodeDilateImageFilter.h.
typedef itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::RadiusType |
a type to represent the "kernel radius"
Definition at line 97 of file itkParabolicErodeDilateImageFilter.h.
typedef NumericTraits<PixelType>::RealType itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::RealType |
Definition at line 86 of file itkParabolicErodeDilateImageFilter.h.
typedef NumericTraits<PixelType>::ScalarRealType itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::ScalarRealType |
Definition at line 87 of file itkParabolicErodeDilateImageFilter.h.
typedef ParabolicErodeDilateImageFilter itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::Self |
Standard class typedefs.
Definition at line 71 of file itkParabolicErodeDilateImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::Superclass |
Definition at line 72 of file itkParabolicErodeDilateImageFilter.h.
|
protected |
Image related typedefs.
|
inlineoverrideprotected |
Definition at line 144 of file itkParabolicErodeDilateImageFilter.h.
|
private |
|
overrideprotected |
|
overrideprotected |
Generate Data
|
virtual |
Runtime information support.
Reimplemented in itk::ParabolicErodeImageFilter< TInputImage, TOutputImage >.
|
virtual |
|
virtual |
itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned int | , | ||
TInputImage::ImageDimension | |||
) |
Image dimension.
itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned int | , | ||
TInputImage::ImageDimension | |||
) |
itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
unsigned int | , | ||
TOutputImage::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotected |
|
virtual |
void itk::ParabolicErodeDilateImageFilter< TInputImage, doDilate, TOutputImage >::SetScale | ( | ScalarRealType | scale | ) |
|
virtual |
Set/Get whether the scale refers to pixels or world units - default is false
|
protected |
|
overrideprotected |
|
virtual |
|
virtual |
|
private |
Definition at line 169 of file itkParabolicErodeDilateImageFilter.h.
|
private |
Definition at line 166 of file itkParabolicErodeDilateImageFilter.h.
|
private |
Definition at line 168 of file itkParabolicErodeDilateImageFilter.h.
|
private |
Definition at line 165 of file itkParabolicErodeDilateImageFilter.h.
|
protected |
Definition at line 158 of file itkParabolicErodeDilateImageFilter.h.
Generated on 1667476801 for elastix by 1.9.4 |