#include <itkGrayscaleFillholeImageFilter.h>
Inheritance diagram for itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >:
Public Types | |
typedef GrayscaleFillholeImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::PixelType | OutputImagePixelType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
unsigned long | GetNumberOfIterationsUsed () |
virtual void | SetFullyConnected (bool _arg) |
virtual const bool & | GetFullyConnected () |
virtual void | FullyConnectedOn () |
virtual void | FullyConnectedOff () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
GrayscaleFillholeImageFilter () | |
~GrayscaleFillholeImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateInputRequestedRegion () |
void | EnlargeOutputRequestedRegion (DataObject *) |
void | GenerateData () |
GrayscaleFillholeImageFilter fills holes in a grayscale image. Holes are local minima in the grayscale topography that are not connected to boundaries of the image. Gray level values adjacent to a hole are extrapolated across the hole.
This filter is used to smooth over local minima without affecting the values of local maxima. If you take the difference between the output of this filter and the original image (and perhaps threshold the difference above a small value), you'll obtain a map of the local minima.
This filter uses the GrayscaleGeodesicErodeImageFilter. It provides its own input as the "mask" input to the geodesic erosion. The "marker" image for the geodesic erosion is constructed such that boundary pixels match the boundary pixels of the input image and the interior pixels are set to the maximum pixel value in the input image.
Geodesic morphology and the Fillhole algorithm is described in Chapter 6 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.
MorphologyImageFilter, GrayscaleErodeImageFilter, GrayscaleFunctionErodeImageFilter, BinaryErodeImageFilter
Definition at line 54 of file itkGrayscaleFillholeImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 63 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 69 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 71 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 68 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 70 of file itkGrayscaleFillholeImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 66 of file itkGrayscaleFillholeImageFilter.h. |
|
Definition at line 73 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 75 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 72 of file itkGrayscaleFillholeImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 74 of file itkGrayscaleFillholeImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 67 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 62 of file itkGrayscaleFillholeImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 59 of file itkGrayscaleFillholeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 61 of file itkGrayscaleFillholeImageFilter.h. |
|
|
|
Definition at line 113 of file itkGrayscaleFillholeImageFilter.h. |
|
GrayscaleFillholeImageFilter will produce the entire output. Reimplemented from itk::ProcessObject. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |
|
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter. Reimplemented from itk::ImageSource< TOutputImage >. |
|
GrayscaleFillholeImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion(). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |
|
Runtime information support. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Definition at line 95 of file itkGrayscaleFillholeImageFilter.h. References itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::GetNumberOfIterationsUsed(), and itkLegacyBody. Referenced by itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::GetNumberOfIterationsUsed(). |
|
ImageDimension constants Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
ImageDimension constants Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Standard New method. Reimplemented from itk::Object. |
|
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::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |