ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryGrindPeakImageFilter.h>
Remove the objects not connected to the boundary of the image.
BinaryGrindPeakImageFilter ginds peaks in a grayscale image.
Geodesic morphology and the grind peak algorithm is described in Chapter 6 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 45 of file itkBinaryGrindPeakImageFilter.h.
typedef SmartPointer<const Self> itk::BinaryGrindPeakImageFilter< TInputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 53 of file itkBinaryGrindPeakImageFilter.h.
typedef InputImageType::ConstPointer itk::BinaryGrindPeakImageFilter< TInputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 59 of file itkBinaryGrindPeakImageFilter.h.
typedef InputImageType::PixelType itk::BinaryGrindPeakImageFilter< TInputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 61 of file itkBinaryGrindPeakImageFilter.h.
typedef InputImageType::Pointer itk::BinaryGrindPeakImageFilter< TInputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 58 of file itkBinaryGrindPeakImageFilter.h.
typedef InputImageType::RegionType itk::BinaryGrindPeakImageFilter< TInputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 60 of file itkBinaryGrindPeakImageFilter.h.
typedef TInputImage itk::BinaryGrindPeakImageFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 56 of file itkBinaryGrindPeakImageFilter.h.
typedef OutputImageType::ConstPointer itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImageConstPointer |
Definition at line 63 of file itkBinaryGrindPeakImageFilter.h.
typedef OutputImageType::PixelType itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 65 of file itkBinaryGrindPeakImageFilter.h.
typedef OutputImageType::Pointer itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 62 of file itkBinaryGrindPeakImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 64 of file itkBinaryGrindPeakImageFilter.h.
typedef TInputImage itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 57 of file itkBinaryGrindPeakImageFilter.h.
typedef SmartPointer<Self> itk::BinaryGrindPeakImageFilter< TInputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 52 of file itkBinaryGrindPeakImageFilter.h.
typedef BinaryGrindPeakImageFilter itk::BinaryGrindPeakImageFilter< TInputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 50 of file itkBinaryGrindPeakImageFilter.h.
typedef ImageToImageFilter<TInputImage, TInputImage> itk::BinaryGrindPeakImageFilter< TInputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 51 of file itkBinaryGrindPeakImageFilter.h.
itk::BinaryGrindPeakImageFilter< TInputImage >::BinaryGrindPeakImageFilter | ( | ) | [protected] |
itk::BinaryGrindPeakImageFilter< TInputImage >::~BinaryGrindPeakImageFilter | ( | ) | [inline, protected] |
Definition at line 117 of file itkBinaryGrindPeakImageFilter.h.
itk::BinaryGrindPeakImageFilter< TInputImage >::BinaryGrindPeakImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryGrindPeakImageFilter< TInputImage >::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::Object.
void itk::BinaryGrindPeakImageFilter< TInputImage >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
BinaryGrindPeakImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
virtual void itk::BinaryGrindPeakImageFilter< TInputImage >::FullyConnectedOff | ( | ) | [virtual] |
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.
virtual void itk::BinaryGrindPeakImageFilter< TInputImage >::FullyConnectedOn | ( | ) | [virtual] |
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.
void itk::BinaryGrindPeakImageFilter< TInputImage >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::BinaryGrindPeakImageFilter< TInputImage >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryGrindPeakImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
virtual InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::GetBackgroundValue | ( | ) | [virtual] |
Set the value in eroded part of the image. Defaults to zero
virtual InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::GetForegroundValue | ( | ) | [virtual] |
Get the value in the image considered as "foreground". Defaults to maximum value of InputPixelType.
virtual const bool& itk::BinaryGrindPeakImageFilter< TInputImage >::GetFullyConnected | ( | ) | [virtual] |
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.
virtual const char* itk::BinaryGrindPeakImageFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
static Pointer itk::BinaryGrindPeakImageFilter< TInputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::BinaryGrindPeakImageFilter< TInputImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
void itk::BinaryGrindPeakImageFilter< TInputImage >::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::ImageToImageFilter< TInputImage, TInputImage >.
virtual void itk::BinaryGrindPeakImageFilter< TInputImage >::SetBackgroundValue | ( | InputImagePixelType | _arg | ) | [virtual] |
Set the value in eroded part of the image. Defaults to zero
virtual void itk::BinaryGrindPeakImageFilter< TInputImage >::SetForegroundValue | ( | InputImagePixelType | _arg | ) | [virtual] |
End concept checking Set the value in the image to consider as "foreground". Defaults to maximum value of InputPixelType.
virtual void itk::BinaryGrindPeakImageFilter< TInputImage >::SetFullyConnected | ( | bool | _arg | ) | [virtual] |
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.
itk::BinaryGrindPeakImageFilter< TInputImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
Begin concept checking This class requires InputOStreamWritableCheck in the form of (Concept::OStreamWritable<InputImagePixelType>)
const unsigned int itk::BinaryGrindPeakImageFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 69 of file itkBinaryGrindPeakImageFilter.h.
InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::m_BackgroundValue [private] |
Definition at line 139 of file itkBinaryGrindPeakImageFilter.h.
InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::m_ForegroundValue [private] |
Definition at line 137 of file itkBinaryGrindPeakImageFilter.h.
bool itk::BinaryGrindPeakImageFilter< TInputImage >::m_FullyConnected [private] |
Definition at line 141 of file itkBinaryGrindPeakImageFilter.h.
const unsigned int itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImageDimension = OutputImageType::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 71 of file itkBinaryGrindPeakImageFilter.h.