ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::BinaryGrindPeakImageFilter< TInputImage > Class Template Reference

#include <itkBinaryGrindPeakImageFilter.h>

+ Inheritance diagram for itk::BinaryGrindPeakImageFilter< TInputImage >:
+ Collaboration diagram for itk::BinaryGrindPeakImageFilter< TInputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TInputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef BinaryGrindPeakImageFilter Self
typedef ImageToImageFilter
< TInputImage, TInputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual InputImagePixelType GetBackgroundValue ()
virtual InputImagePixelType GetForegroundValue ()
virtual const char * GetNameOfClass () const
virtual void SetBackgroundValue (InputImagePixelType _arg)
virtual void SetForegroundValue (InputImagePixelType _arg)
 typedef (Concept::OStreamWritable< InputImagePixelType >) InputOStreamWritableCheck
virtual void SetFullyConnected (bool _arg)
virtual const bool & GetFullyConnected ()
virtual void FullyConnectedOn ()
virtual void FullyConnectedOff ()

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = OutputImageType::ImageDimension

Protected Member Functions

 BinaryGrindPeakImageFilter ()
void EnlargeOutputRequestedRegion (DataObject *)
void GenerateData ()
void GenerateInputRequestedRegion ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~BinaryGrindPeakImageFilter ()

Private Member Functions

 BinaryGrindPeakImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

InputImagePixelType m_BackgroundValue
InputImagePixelType m_ForegroundValue
bool m_FullyConnected

Detailed Description

template<class TInputImage>
class itk::BinaryGrindPeakImageFilter< TInputImage >

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.

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176

See also:
GrayscaleGrindPeakImageFilter

Definition at line 45 of file itkBinaryGrindPeakImageFilter.h.


Member Typedef Documentation

template<class TInputImage >
typedef SmartPointer<const Self> itk::BinaryGrindPeakImageFilter< TInputImage >::ConstPointer
template<class TInputImage >
typedef InputImageType::ConstPointer itk::BinaryGrindPeakImageFilter< TInputImage >::InputImageConstPointer
template<class TInputImage >
typedef InputImageType::PixelType itk::BinaryGrindPeakImageFilter< TInputImage >::InputImagePixelType
template<class TInputImage >
typedef InputImageType::Pointer itk::BinaryGrindPeakImageFilter< TInputImage >::InputImagePointer
template<class TInputImage >
typedef InputImageType::RegionType itk::BinaryGrindPeakImageFilter< TInputImage >::InputImageRegionType
template<class TInputImage >
typedef TInputImage itk::BinaryGrindPeakImageFilter< TInputImage >::InputImageType

Some convenient typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 56 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
typedef OutputImageType::ConstPointer itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImageConstPointer

Definition at line 63 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
typedef OutputImageType::PixelType itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImagePixelType
template<class TInputImage >
typedef OutputImageType::Pointer itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImagePointer

Reimplemented from itk::ImageSource< TInputImage >.

Definition at line 62 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
typedef OutputImageType::RegionType itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 64 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
typedef TInputImage itk::BinaryGrindPeakImageFilter< TInputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::ImageSource< TInputImage >.

Definition at line 57 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
typedef SmartPointer<Self> itk::BinaryGrindPeakImageFilter< TInputImage >::Pointer
template<class TInputImage >
typedef BinaryGrindPeakImageFilter itk::BinaryGrindPeakImageFilter< TInputImage >::Self

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 50 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
typedef ImageToImageFilter<TInputImage, TInputImage> itk::BinaryGrindPeakImageFilter< TInputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage >
itk::BinaryGrindPeakImageFilter< TInputImage >::BinaryGrindPeakImageFilter ( ) [protected]
template<class TInputImage >
itk::BinaryGrindPeakImageFilter< TInputImage >::~BinaryGrindPeakImageFilter ( ) [inline, protected]

Definition at line 117 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
itk::BinaryGrindPeakImageFilter< TInputImage >::BinaryGrindPeakImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage >
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.

template<class TInputImage >
void itk::BinaryGrindPeakImageFilter< TInputImage >::EnlargeOutputRequestedRegion ( DataObject ) [protected, virtual]

BinaryGrindPeakImageFilter will produce the entire output.

Reimplemented from itk::ProcessObject.

template<class TInputImage >
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.

template<class TInputImage >
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.

template<class TInputImage >
void itk::BinaryGrindPeakImageFilter< TInputImage >::GenerateData ( ) [protected, virtual]

Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.

Reimplemented from itk::ImageSource< TInputImage >.

template<class 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 >.

template<class TInputImage >
virtual InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::GetBackgroundValue ( ) [virtual]

Set the value in eroded part of the image. Defaults to zero

template<class TInputImage >
virtual InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::GetForegroundValue ( ) [virtual]

Get the value in the image considered as "foreground". Defaults to maximum value of InputPixelType.

template<class TInputImage >
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.

template<class TInputImage >
virtual const char* itk::BinaryGrindPeakImageFilter< TInputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

template<class TInputImage >
static Pointer itk::BinaryGrindPeakImageFilter< TInputImage >::New ( ) [static]

Standard New method.

Reimplemented from itk::Object.

template<class TInputImage >
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 >.

template<class 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 >.

template<class TInputImage >
virtual void itk::BinaryGrindPeakImageFilter< TInputImage >::SetBackgroundValue ( InputImagePixelType  _arg) [virtual]

Set the value in eroded part of the image. Defaults to zero

template<class TInputImage >
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.

template<class TInputImage >
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.

template<class TInputImage >
itk::BinaryGrindPeakImageFilter< TInputImage >::typedef ( Concept::OStreamWritable< InputImagePixelType )

Begin concept checking This class requires InputOStreamWritableCheck in the form of (Concept::OStreamWritable<InputImagePixelType>)


Member Data Documentation

template<class TInputImage >
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.

template<class TInputImage >
InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::m_BackgroundValue [private]

Definition at line 139 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
InputImagePixelType itk::BinaryGrindPeakImageFilter< TInputImage >::m_ForegroundValue [private]

Definition at line 137 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
bool itk::BinaryGrindPeakImageFilter< TInputImage >::m_FullyConnected [private]

Definition at line 141 of file itkBinaryGrindPeakImageFilter.h.

template<class TInputImage >
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.


The documentation for this class was generated from the following file: