ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkWhiteTopHatImageFilter.h>
Public Types | |
enum | { BASIC = 0, HISTO = 1, ANCHOR = 2, VHGW = 3 } |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef TKernel | KernelType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef WhiteTopHatImageFilter | Self |
typedef KernelImageFilter < TInputImage, TOutputImage, TKernel > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual void | ForceAlgorithmOff () |
virtual void | ForceAlgorithmOn () |
virtual const bool & | GetForceAlgorithm () |
virtual const char * | GetNameOfClass () const |
virtual void | SetForceAlgorithm (bool _arg) |
virtual void | SetSafeBorder (bool _arg) |
virtual const bool & | GetSafeBorder () |
virtual void | SafeBorderOn () |
virtual void | SafeBorderOff () |
virtual void | SetAlgorithm (int _arg) |
virtual int | GetAlgorithm () const |
Static Public Member Functions | |
static Pointer | New () |
Public Attributes | |
enum itk::WhiteTopHatImageFilter:: { ... } | AlgorithmChoice |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
void | GenerateData () |
void | PrintSelf (std::ostream &os, Indent indent) const |
WhiteTopHatImageFilter () | |
~WhiteTopHatImageFilter () | |
Private Member Functions | |
void | operator= (const Self &) |
WhiteTopHatImageFilter (const Self &) | |
Private Attributes | |
int | m_Algorithm |
bool | m_ForceAlgorithm |
bool | m_SafeBorder |
White top hat extract local maxima that are larger than the structuring element.
Top-hats are described in Chapter 4.5 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.
Definition at line 38 of file itkWhiteTopHatImageFilter.h.
typedef SmartPointer< const Self > itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 46 of file itkWhiteTopHatImageFilter.h.
typedef InputImageType::ConstPointer itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 52 of file itkWhiteTopHatImageFilter.h.
typedef InputImageType::PixelType itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkWhiteTopHatImageFilter.h.
typedef InputImageType::Pointer itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkWhiteTopHatImageFilter.h.
typedef InputImageType::RegionType itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 53 of file itkWhiteTopHatImageFilter.h.
typedef TInputImage itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 49 of file itkWhiteTopHatImageFilter.h.
typedef TKernel itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::KernelType |
Kernel typedef.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 61 of file itkWhiteTopHatImageFilter.h.
typedef OutputImageType::ConstPointer itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageConstPointer |
Definition at line 56 of file itkWhiteTopHatImageFilter.h.
typedef OutputImageType::PixelType itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkWhiteTopHatImageFilter.h.
typedef OutputImageType::Pointer itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 55 of file itkWhiteTopHatImageFilter.h.
typedef OutputImageType::RegionType itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkWhiteTopHatImageFilter.h.
typedef TOutputImage itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 50 of file itkWhiteTopHatImageFilter.h.
typedef SmartPointer< Self > itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::Pointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 45 of file itkWhiteTopHatImageFilter.h.
typedef WhiteTopHatImageFilter itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::Self |
Standard class typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 43 of file itkWhiteTopHatImageFilter.h.
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::Superclass |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 44 of file itkWhiteTopHatImageFilter.h.
anonymous enum |
define values used to determine which algorithm to use
Definition at line 85 of file itkWhiteTopHatImageFilter.h.
itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::WhiteTopHatImageFilter | ( | ) | [protected] |
itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::~WhiteTopHatImageFilter | ( | ) | [inline, protected] |
Definition at line 102 of file itkWhiteTopHatImageFilter.h.
itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::WhiteTopHatImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
virtual void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::ForceAlgorithmOff | ( | ) | [virtual] |
virtual void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::ForceAlgorithmOn | ( | ) | [virtual] |
void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData | ( | ) | [protected, virtual] |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual int itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::GetAlgorithm | ( | ) | const [virtual] |
Set/Get the backend filter class.
virtual const bool& itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::GetForceAlgorithm | ( | ) | [virtual] |
virtual const char* itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
virtual const bool& itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::GetSafeBorder | ( | ) | [virtual] |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
static Pointer itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::operator= | ( | const Self & | ) | [private] |
kernel or structuring element to use.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
virtual void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::SafeBorderOff | ( | ) | [virtual] |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
virtual void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::SafeBorderOn | ( | ) | [virtual] |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
virtual void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::SetAlgorithm | ( | int | _arg | ) | [virtual] |
Set/Get the backend filter class.
virtual void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::SetForceAlgorithm | ( | bool | _arg | ) | [virtual] |
virtual void itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::SetSafeBorder | ( | bool | _arg | ) | [virtual] |
A safe border is added to input image to avoid borders effects and remove it once the closing is done
enum { ... } itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::AlgorithmChoice |
define values used to determine which algorithm to use
const unsigned int itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 65 of file itkWhiteTopHatImageFilter.h.
int itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::m_Algorithm [private] |
Definition at line 113 of file itkWhiteTopHatImageFilter.h.
bool itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::m_ForceAlgorithm [private] |
Definition at line 115 of file itkWhiteTopHatImageFilter.h.
bool itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::m_SafeBorder [private] |
Definition at line 111 of file itkWhiteTopHatImageFilter.h.
const unsigned int itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageDimension = TOutputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 67 of file itkWhiteTopHatImageFilter.h.