Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::TobogganImageFilter< TInputImage > Class Template Reference

toboggan image segmentation The Toboggan segmentation takes a gradient magnitude image as input and produces an (over-)segmentation of the image based on connecting each pixel to a local minimum of gradient. It is roughly equivalent to a watershed segmentation of the lowest level. More...

#include <itkTobogganImageFilter.h>

Inheritance diagram for itk::TobogganImageFilter< TInputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::TobogganImageFilter< TInputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TobogganImageFilter Self
typedef TInputImage InputImageType
typedef Image< unsigned long,
itkGetStaticConstMacro(NDimensions) 
OutputImageType )
typedef OutputImageType::PixelType OutputImagePixelType
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::RegionType RegionType
typedef InputImageType::SizeType SizeType
typedef InputImageType::IndexType IndexType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::ConstPointer InputImageConstPointer
typedef OutputImageType::Pointer OutputImagePointer
typedef ImageToImageFilter<
InputImageType, OutputImageType
Superclass
typedef InputImageType::PixelType ScalarType
typedef SmartPointer< SelfPointer
typedef ConstNeighborhoodIterator<
TInputImage > 
NeighborhoodIteratorType
enum  { ImageDimension = InputImageType::ImageDimension }

Public Member Functions

 itkStaticConstMacro (NDimensions, unsigned int, TInputImage::ImageDimension)
virtual const char * GetNameOfClass () const
void GenerateData ()
void GenerateInputRequestedRegion ()
void EnlargeOutputRequestedRegion (DataObject *)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 TobogganImageFilter ()
 ~TobogganImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage>
class itk::TobogganImageFilter< TInputImage >

toboggan image segmentation The Toboggan segmentation takes a gradient magnitude image as input and produces an (over-)segmentation of the image based on connecting each pixel to a local minimum of gradient. It is roughly equivalent to a watershed segmentation of the lowest level.

The output is a 4 connected labeled map of the image.

Definition at line 37 of file itkTobogganImageFilter.h.


Member Typedef Documentation

template<class TInputImage>
typedef InputImageType::IndexType itk::TobogganImageFilter< TInputImage >::IndexType
 

Definition at line 67 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef InputImageType::ConstPointer itk::TobogganImageFilter< TInputImage >::InputImageConstPointer
 

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

Definition at line 69 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef InputImageType::PixelType itk::TobogganImageFilter< TInputImage >::InputImagePixelType
 

Input image pixel type.

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

Definition at line 59 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef InputImageType::Pointer itk::TobogganImageFilter< TInputImage >::InputImagePointer
 

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

Definition at line 68 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef TInputImage itk::TobogganImageFilter< TInputImage >::InputImageType
 

The type of input image.

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

Definition at line 47 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef ConstNeighborhoodIterator<TInputImage> itk::TobogganImageFilter< TInputImage >::NeighborhoodIteratorType
 

Neighborhood iterator type

Definition at line 94 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef OutputImageType::PixelType itk::TobogganImageFilter< TInputImage >::OutputImagePixelType
 

Output image pixel type.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 56 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef OutputImageType::Pointer itk::TobogganImageFilter< TInputImage >::OutputImagePointer
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 70 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef Image<unsigned long, itkGetStaticConstMacro(NDimensions) itk::TobogganImageFilter< TInputImage >::OutputImageType)
 

The type of output image.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 53 of file itkTobogganImageFilter.h.

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

Smart pointer typedef support

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

Definition at line 79 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef InputImageType::RegionType itk::TobogganImageFilter< TInputImage >::RegionType
 

Other convenient typedefs

Definition at line 65 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef InputImageType::PixelType itk::TobogganImageFilter< TInputImage >::ScalarType
 

Typedef support for the input image scalar value type.

Definition at line 76 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef TobogganImageFilter itk::TobogganImageFilter< TInputImage >::Self
 

Standard "Self" typedef.

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

Definition at line 44 of file itkTobogganImageFilter.h.

Referenced by itk::TobogganImageFilter< TInputImage >::~TobogganImageFilter().

template<class TInputImage>
typedef InputImageType::SizeType itk::TobogganImageFilter< TInputImage >::SizeType
 

Definition at line 66 of file itkTobogganImageFilter.h.

template<class TInputImage>
typedef ImageToImageFilter< InputImageType, OutputImageType > itk::TobogganImageFilter< TInputImage >::Superclass
 

Standard super class typedef support.

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

Definition at line 73 of file itkTobogganImageFilter.h.


Member Enumeration Documentation

template<class TInputImage>
anonymous enum
 

Dimension of the input and output images.

Enumeration values:
ImageDimension 

Definition at line 62 of file itkTobogganImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage>
itk::TobogganImageFilter< TInputImage >::TobogganImageFilter  )  [protected]
 

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

Definition at line 98 of file itkTobogganImageFilter.h.

References itk::TobogganImageFilter< TInputImage >::Self.


Member Function Documentation

template<class TInputImage>
void itk::TobogganImageFilter< TInputImage >::EnlargeOutputRequestedRegion DataObject  )  [virtual]
 

Give the process object a chance to indictate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.

Reimplemented from itk::ProcessObject.

template<class TInputImage>
void itk::TobogganImageFilter< TInputImage >::GenerateData  )  [virtual]
 

Standard process object method. This filter is not multithreaded.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage>
void itk::TobogganImageFilter< TInputImage >::GenerateInputRequestedRegion  )  [virtual]
 

What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierachy. Up till now, the base assumption has been that the largest possible region will be requested of the input.

This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.

See also:
ProcessObject::GenerateInputRequestedRegion(), ImageSource::GenerateInputRequestedRegion()

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

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

Run-time type information (and related methods)

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

template<class TInputImage>
itk::TobogganImageFilter< TInputImage >::itkStaticConstMacro NDimensions  ,
unsigned  int,
TInputImage::ImageDimension 
 

Number of dimensions.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

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


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:30:43 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000