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::RegionalMinimaImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkRegionalMinimaImageFilter.h>

+ Inheritance diagram for itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >:

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 TOutputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef RegionalMinimaImageFilter Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::HasPixelTraits< InputImagePixelType >) InputHasPixelTraitsCheck
 typedef (Concept::HasNumericTraits< InputImagePixelType >) InputHasNumericTraitsCheck
virtual void SetFullyConnected (bool _arg)
virtual const bool & GetFullyConnected ()
virtual void FullyConnectedOn ()
virtual void FullyConnectedOff ()
virtual void SetForegroundValue (OutputImagePixelType _arg)
virtual OutputImagePixelType GetForegroundValue () const
virtual void SetBackgroundValue (OutputImagePixelType _arg)
virtual OutputImagePixelType GetBackgroundValue () const
virtual void SetFlatIsMinima (bool _arg)
virtual bool GetFlatIsMinima () const
virtual void FlatIsMinimaOn ()
virtual void FlatIsMinimaOff ()

Static Public Member Functions

static Pointer New ()

Static Public Attributes

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

Protected Member Functions

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

Private Member Functions

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

Private Attributes

OutputImagePixelType m_BackgroundValue
bool m_FlatIsMinima
OutputImagePixelType m_ForegroundValue
bool m_FullyConnected

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >

Produce a binary image where foreground is the regional minima of the input image.

Regional minima are flat zones surounded by pixels of greater value.

If the input image is constant, the entire image can be considered as a minima or not. The SetFlatIsMinima() method let the user choose which behavior to use.

This class was contribtued to the Insight Journal by

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. http://hdl.handle.net/1926/153

RegionalMaximaImageFilter MathematicalMorphologyImageFilters

See also:
ValuedRegionalMinimaImageFilter
HConcaveImageFilter
Wiki Examples:

Definition at line 54 of file itkRegionalMinimaImageFilter.h.


Member Typedef Documentation

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

Some convenient typedefs.

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

Definition at line 65 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::ConstPointer itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::OutputImageConstPointer

Definition at line 72 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::OutputImagePixelType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::Pointer itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::OutputImagePointer

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 71 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Superclass typedefs.

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

Definition at line 73 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 66 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef RegionalMinimaImageFilter itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

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

Definition at line 59 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::RegionalMinimaImageFilter ( ) [protected]

End concept checking

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

End concept checking

Definition at line 137 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::RegionalMinimaImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::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 , class TOutputImage >
void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion ( DataObject ) [protected, virtual]

RegionalMinimaImageFilter will produce the entire output.

Reimplemented from itk::ProcessObject.

template<class TInputImage , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::FlatIsMinimaOff ( ) [virtual]

Set/Get wether a flat image must be considered as a minima or not. Defaults to true.

template<class TInputImage , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::FlatIsMinimaOn ( ) [virtual]

Set/Get wether a flat image must be considered as a minima or not. Defaults to true.

template<class TInputImage , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::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 , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::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 , class TOutputImage >
void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::GenerateData ( ) [protected, virtual]

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

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( ) [protected, virtual]

RegionalMinimaImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().

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

template<class TInputImage , class TOutputImage >
virtual OutputImagePixelType itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::GetBackgroundValue ( ) const [virtual]

Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

template<class TInputImage , class TOutputImage >
virtual bool itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::GetFlatIsMinima ( ) const [virtual]

Set/Get wether a flat image must be considered as a minima or not. Defaults to true.

template<class TInputImage , class TOutputImage >
virtual OutputImagePixelType itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::GetForegroundValue ( ) const [virtual]

Set/Get the value in the output image to consider as "foreground". Defaults to maximum value of PixelType.

template<class TInputImage , class TOutputImage >
virtual const bool& itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::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 , class TOutputImage >
virtual const char* itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

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

template<class TInputImage , class TOutputImage >
static Pointer itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::New ( ) [static]

Standard New method.

Reimplemented from itk::Object.

template<class TInputImage , class TOutputImage >
void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::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, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

End concept checking

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

template<class TInputImage , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::SetBackgroundValue ( OutputImagePixelType  _arg) [virtual]

Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

template<class TInputImage , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::SetFlatIsMinima ( bool  _arg) [virtual]

Set/Get wether a flat image must be considered as a minima or not. Defaults to true.

template<class TInputImage , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::SetForegroundValue ( OutputImagePixelType  _arg) [virtual]

Set/Get the value in the output image to consider as "foreground". Defaults to maximum value of PixelType.

template<class TInputImage , class TOutputImage >
virtual void itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::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 , class TOutputImage >
itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasPixelTraits< InputImagePixelType )

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

template<class TInputImage , class TOutputImage >
itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< InputImagePixelType )

This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputImagePixelType > )


Member Data Documentation

template<class TInputImage , class TOutputImage >
const unsigned int itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

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

Definition at line 78 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
OutputImagePixelType itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::m_BackgroundValue [private]

Definition at line 160 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
bool itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::m_FlatIsMinima [private]

Definition at line 158 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
OutputImagePixelType itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::m_ForegroundValue [private]

Definition at line 159 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
bool itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::m_FullyConnected [private]

Definition at line 157 of file itkRegionalMinimaImageFilter.h.

template<class TInputImage , class TOutputImage >
const unsigned int itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

ImageDimension constants

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

Definition at line 80 of file itkRegionalMinimaImageFilter.h.


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