ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions
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 >:
Collaboration diagram for itk::TobogganImageFilter< TInputImage >:

List of all members.

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
void EnlargeOutputRequestedRegion (DataObject *)
void GenerateData ()
void GenerateInputRequestedRegion ()
virtual const char * GetNameOfClass () const
 typedef (Concept::LessThanComparable< InputImagePixelType >) LessThanComparableCheck
 typedef (Concept::OStreamWritable< InputImagePixelType >) OStreamWritableCheck

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int NDimensions = TInputImage::ImageDimension

Protected Member Functions

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

Private Member Functions

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

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 39 of file itkTobogganImageFilter.h.


Member Typedef Documentation

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

Definition at line 69 of file itkTobogganImageFilter.h.

template<class TInputImage >
typedef InputImageType::ConstPointer itk::TobogganImageFilter< TInputImage >::InputImageConstPointer
template<class TInputImage >
typedef InputImageType::PixelType itk::TobogganImageFilter< TInputImage >::InputImagePixelType
template<class TInputImage >
typedef InputImageType::Pointer itk::TobogganImageFilter< TInputImage >::InputImagePointer
template<class TInputImage >
typedef TInputImage itk::TobogganImageFilter< TInputImage >::InputImageType
template<class TInputImage >
typedef ConstNeighborhoodIterator< TInputImage > itk::TobogganImageFilter< TInputImage >::NeighborhoodIteratorType

Neighborhood iterator type

Definition at line 98 of file itkTobogganImageFilter.h.

template<class TInputImage >
typedef OutputImageType::PixelType itk::TobogganImageFilter< TInputImage >::OutputImagePixelType
template<class TInputImage >
typedef OutputImageType::Pointer itk::TobogganImageFilter< TInputImage >::OutputImagePointer
template<class TInputImage >
typedef Image< IdentifierType, itkGetStaticConstMacro(NDimensions) > itk::TobogganImageFilter< TInputImage >::OutputImageType
template<class TInputImage >
typedef SmartPointer< Self > itk::TobogganImageFilter< TInputImage >::Pointer
template<class TInputImage >
typedef InputImageType::RegionType itk::TobogganImageFilter< TInputImage >::RegionType

Other convenient typedefs

Definition at line 67 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 78 of file itkTobogganImageFilter.h.

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

Definition at line 68 of file itkTobogganImageFilter.h.

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

Member Enumeration Documentation

template<class TInputImage >
anonymous enum

Dimension of the input and output images.

Enumerator:
ImageDimension 

Definition at line 64 of file itkTobogganImageFilter.h.


Constructor & Destructor Documentation

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

End concept checking

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

End concept checking

Definition at line 111 of file itkTobogganImageFilter.h.

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

Member Function Documentation

template<class TInputImage >
virtual::itk::LightObject::Pointer itk::TobogganImageFilter< 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::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< Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.

template<class TInputImage >
void itk::TobogganImageFilter< TInputImage >::GenerateInputRequestedRegion ( void  ) [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, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage >
void itk::TobogganImageFilter< 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, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.

template<class TInputImage >
void itk::TobogganImageFilter< TInputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]
template<class TInputImage >
itk::TobogganImageFilter< TInputImage >::typedef ( Concept::LessThanComparable< InputImagePixelType )

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

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

This class requires OStreamWritableCheck in the form of ( Concept::OStreamWritable< InputImagePixelType > )


Member Data Documentation

template<class TInputImage >
const unsigned int itk::TobogganImageFilter< TInputImage >::NDimensions = TInputImage::ImageDimension [static]

Number of dimensions.

Definition at line 52 of file itkTobogganImageFilter.h.


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