ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkTobogganImageFilter.h>
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.
typedef InputImageType::IndexType itk::TobogganImageFilter< TInputImage >::IndexType |
Definition at line 69 of file itkTobogganImageFilter.h.
typedef InputImageType::ConstPointer itk::TobogganImageFilter< TInputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 71 of file itkTobogganImageFilter.h.
typedef InputImageType::PixelType itk::TobogganImageFilter< TInputImage >::InputImagePixelType |
Input image pixel type.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 61 of file itkTobogganImageFilter.h.
typedef InputImageType::Pointer itk::TobogganImageFilter< TInputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 70 of file itkTobogganImageFilter.h.
typedef TInputImage itk::TobogganImageFilter< TInputImage >::InputImageType |
The type of input image.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 49 of file itkTobogganImageFilter.h.
typedef ConstNeighborhoodIterator< TInputImage > itk::TobogganImageFilter< TInputImage >::NeighborhoodIteratorType |
Neighborhood iterator type
Definition at line 98 of file itkTobogganImageFilter.h.
typedef OutputImageType::PixelType itk::TobogganImageFilter< TInputImage >::OutputImagePixelType |
Output image pixel type.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 58 of file itkTobogganImageFilter.h.
typedef OutputImageType::Pointer itk::TobogganImageFilter< TInputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 72 of file itkTobogganImageFilter.h.
typedef Image< IdentifierType, itkGetStaticConstMacro(NDimensions) > itk::TobogganImageFilter< TInputImage >::OutputImageType |
The type of output image.
Reimplemented from itk::ImageSource< Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 55 of file itkTobogganImageFilter.h.
typedef SmartPointer< Self > itk::TobogganImageFilter< TInputImage >::Pointer |
Smart pointer typedef support
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 81 of file itkTobogganImageFilter.h.
typedef InputImageType::RegionType itk::TobogganImageFilter< TInputImage >::RegionType |
Other convenient typedefs
Definition at line 67 of file itkTobogganImageFilter.h.
typedef InputImageType::PixelType itk::TobogganImageFilter< TInputImage >::ScalarType |
Typedef support for the input image scalar value type.
Definition at line 78 of file itkTobogganImageFilter.h.
typedef TobogganImageFilter itk::TobogganImageFilter< TInputImage >::Self |
Standard "Self" typedef.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 46 of file itkTobogganImageFilter.h.
typedef InputImageType::SizeType itk::TobogganImageFilter< TInputImage >::SizeType |
Definition at line 68 of file itkTobogganImageFilter.h.
typedef ImageToImageFilter< InputImageType, OutputImageType > itk::TobogganImageFilter< TInputImage >::Superclass |
Standard super class typedef support.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 75 of file itkTobogganImageFilter.h.
anonymous enum |
Dimension of the input and output images.
Definition at line 64 of file itkTobogganImageFilter.h.
itk::TobogganImageFilter< TInputImage >::TobogganImageFilter | ( | ) | [protected] |
End concept checking
itk::TobogganImageFilter< TInputImage >::~TobogganImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 111 of file itkTobogganImageFilter.h.
itk::TobogganImageFilter< TInputImage >::TobogganImageFilter | ( | const Self & | ) | [private] |
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.
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.
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 > >.
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.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
virtual const char* itk::TobogganImageFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
static Pointer itk::TobogganImageFilter< TInputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
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 > >.
void itk::TobogganImageFilter< TInputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
itk::TobogganImageFilter< TInputImage >::typedef | ( | Concept::LessThanComparable< InputImagePixelType > | ) |
Begin concept checking This class requires LessThanComparableCheck in the form of ( Concept::LessThanComparable< InputImagePixelType > )
itk::TobogganImageFilter< TInputImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
This class requires OStreamWritableCheck in the form of ( Concept::OStreamWritable< InputImagePixelType > )
const unsigned int itk::TobogganImageFilter< TInputImage >::NDimensions = TInputImage::ImageDimension [static] |
Number of dimensions.
Definition at line 52 of file itkTobogganImageFilter.h.