ITK
5.0.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.
Public Types | |
enum | { ImageDimension = InputImageType::ImageDimension } |
using | IndexType = typename InputImageType::IndexType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageType = TInputImage |
using | NeighborhoodIteratorType = ConstNeighborhoodIterator< Image< float, 2 > > |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename InputImageType::RegionType |
using | ScalarType = typename InputImageType::PixelType |
using | Self = TobogganImageFilter |
using | SizeType = typename InputImageType::SizeType |
using | Superclass = ImageToImageFilter< InputImageType, OutputImageType > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | NDimensions = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
bool | m_DynamicMultiThreading |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::TobogganImageFilter< TInputImage, TOutputImage >::IndexType = typename InputImageType::IndexType |
Definition at line 71 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 73 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Input image pixel type.
Definition at line 63 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 72 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
The type of input image.
Definition at line 51 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::NeighborhoodIteratorType = ConstNeighborhoodIterator<Image<float, 2> > |
Neighborhood iterator type
Definition at line 99 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Output image pixel type.
Definition at line 60 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 74 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
The type of output image.
Definition at line 57 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer< Self > |
Smart pointer type alias support
Definition at line 83 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::RegionType = typename InputImageType::RegionType |
Other convenient type alias
Definition at line 69 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::ScalarType = typename InputImageType::PixelType |
Typedef support for the input image scalar value type.
Definition at line 80 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::Self = TobogganImageFilter |
Standard "Self" type alias.
Definition at line 48 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::SizeType = typename InputImageType::SizeType |
Definition at line 70 of file itkTobogganImageFilter.h.
using itk::TobogganImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter< InputImageType, OutputImageType > |
Standard super class type alias support
Definition at line 77 of file itkTobogganImageFilter.h.
anonymous enum |
Dimension of the input and output images.
Enumerator | |
---|---|
ImageDimension |
Definition at line 66 of file itkTobogganImageFilter.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
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.
|
overridevirtual |
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.
|
overridevirtual |
Standard process object method. This filter is not multithreaded.
Reimplemented from itk::ImageSource< TOutputImage >.
|
overridevirtual |
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 hierarchy. 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, TOutputImage >.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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 >.
|
static |
Number of dimensions.
Definition at line 54 of file itkTobogganImageFilter.h.