Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions
itk::LevelTracingImageFilter< TInputImage, TOutputImage > Class Template Reference

Trace a level curve/surface given a seed point on the level curve/surface. More...

#include <Libs/vtkITK/itkLevelTracingImageFilter.h>

Inheritance diagram for itk::LevelTracingImageFilter< TInputImage, TOutputImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::LevelTracingImageFilter< TInputImage, TOutputImage >:
Collaboration graph
[legend]

Classes

struct  Dispatch
 
struct  DispatchBase
 To control overloaded versions of ComputeThreshold. More...
 

Public Types

typedef ChainCodePathType::Pointer ChainCodePathPointer
 
typedef ChainCodePath< ImageDimension > ChainCodePathType
 
typedef SmartPointer< const SelfConstPointer
 
typedef DataObject::Pointer DataObjectPointer
 
typedef InputImageType::IndexType IndexType
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef ChainCodePathType::OffsetType OffsetType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef LevelTracingImageFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

InputImagePixelType GetMaxIntensity ()
 
InputImagePixelType GetMinIntensity ()
 
ChainCodePathTypeGetPathOutput ()
 Get the output as a ChainCodePath. This output is only generated in the 2D case. More...
 
int GetThreshold ()
 
 itkGetMacro (Seed, IndexType)
 
 itkGetMacro (MovedSeed, bool)
 Did we move the seed point to put in on a boundary? More...
 
 itkNewMacro (Self)
 
 itkSetMacro (Seed, IndexType)
 Set/Get the seed. More...
 
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
 
 itkTypeMacro (LevelTracingImageFilter, ImageToImageFilter)
 
void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 

Protected Member Functions

void EnlargeOutputRequestedRegion (DataObject *output) ITK_OVERRIDE
 Override since the filter produces the entire dataset. More...
 
void GenerateData () ITK_OVERRIDE
 
void GenerateInputRequestedRegion () ITK_OVERRIDE
 Override since the filter needs all the data for the algorithm. More...
 
 LevelTracingImageFilter ()
 
DataObjectPointer MakeOutput (unsigned int output)
 
virtual void Trace (const Dispatch< 2 > &)
 
virtual void Trace (const DispatchBase &)
 
 ~LevelTracingImageFilter ()
 

Detailed Description

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

Trace a level curve/surface given a seed point on the level curve/surface.

LevelTracingImageFilter traces a level curve (or surface) from a seed point. The pixels on this level curve "boundary" are labeled as 1. Does nothing if seed is in uniform area.

LevelTracingImageFilter provides a quick method to select a point on a boundary of an object in a grayscale image and retrieve the entire boundary of the object.

For 2D images, the algorithm follows the boundary using 8-connected neighbors. For ND images, the algorithm traces the boundary using face connected neighbors.

Definition at line 30 of file itkLevelTracingImageFilter.h.

Member Typedef Documentation

◆ ChainCodePathPointer

template<class TInputImage , class TOutputImage >
typedef ChainCodePathType::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::ChainCodePathPointer

Definition at line 64 of file itkLevelTracingImageFilter.h.

◆ ChainCodePathType

template<class TInputImage , class TOutputImage >
typedef ChainCodePath<ImageDimension> itk::LevelTracingImageFilter< TInputImage, TOutputImage >::ChainCodePathType

Definition at line 63 of file itkLevelTracingImageFilter.h.

◆ ConstPointer

template<class TInputImage , class TOutputImage >
typedef SmartPointer<const Self> itk::LevelTracingImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 37 of file itkLevelTracingImageFilter.h.

◆ DataObjectPointer

template<class TInputImage , class TOutputImage >
typedef DataObject::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::DataObjectPointer

Smart Pointer type to a DataObject.

Definition at line 69 of file itkLevelTracingImageFilter.h.

◆ IndexType

template<class TInputImage , class TOutputImage >
typedef InputImageType::IndexType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::IndexType

Definition at line 55 of file itkLevelTracingImageFilter.h.

◆ InputImageConstPointer

template<class TInputImage , class TOutputImage >
typedef InputImageType::ConstPointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImageConstPointer

Definition at line 52 of file itkLevelTracingImageFilter.h.

◆ InputImagePixelType

template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImagePixelType

Definition at line 54 of file itkLevelTracingImageFilter.h.

◆ InputImagePointer

template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImagePointer

Definition at line 51 of file itkLevelTracingImageFilter.h.

◆ InputImageRegionType

template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImageRegionType

Definition at line 53 of file itkLevelTracingImageFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage >
typedef TInputImage itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImageType

Definition at line 50 of file itkLevelTracingImageFilter.h.

◆ OffsetType

template<class TInputImage , class TOutputImage >
typedef ChainCodePathType::OffsetType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OffsetType

Definition at line 66 of file itkLevelTracingImageFilter.h.

◆ OutputImagePixelType

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OutputImagePixelType

Definition at line 61 of file itkLevelTracingImageFilter.h.

◆ OutputImagePointer

template<class TInputImage , class TOutputImage >
typedef OutputImageType::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OutputImagePointer

Definition at line 59 of file itkLevelTracingImageFilter.h.

◆ OutputImageRegionType

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

Definition at line 60 of file itkLevelTracingImageFilter.h.

◆ OutputImageType

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

Definition at line 58 of file itkLevelTracingImageFilter.h.

◆ Pointer

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

Definition at line 36 of file itkLevelTracingImageFilter.h.

◆ Self

template<class TInputImage , class TOutputImage >
typedef LevelTracingImageFilter itk::LevelTracingImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 34 of file itkLevelTracingImageFilter.h.

◆ SizeType

template<class TInputImage , class TOutputImage >
typedef InputImageType::SizeType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::SizeType

Definition at line 56 of file itkLevelTracingImageFilter.h.

◆ Superclass

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

Definition at line 35 of file itkLevelTracingImageFilter.h.

Constructor & Destructor Documentation

◆ LevelTracingImageFilter()

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::LevelTracingImageFilter ( )
protected

◆ ~LevelTracingImageFilter()

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::~LevelTracingImageFilter ( )
inlineprotected

Definition at line 95 of file itkLevelTracingImageFilter.h.

Member Function Documentation

◆ EnlargeOutputRequestedRegion()

template<class TInputImage , class TOutputImage >
void itk::LevelTracingImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion ( DataObject *  output)
protected

Override since the filter produces the entire dataset.

◆ GenerateData()

template<class TInputImage , class TOutputImage >
void itk::LevelTracingImageFilter< TInputImage, TOutputImage >::GenerateData ( )
protected

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputImage >
void itk::LevelTracingImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
protected

Override since the filter needs all the data for the algorithm.

◆ GetMaxIntensity()

template<class TInputImage , class TOutputImage >
InputImagePixelType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::GetMaxIntensity ( )
inline

Definition at line 87 of file itkLevelTracingImageFilter.h.

◆ GetMinIntensity()

template<class TInputImage , class TOutputImage >
InputImagePixelType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::GetMinIntensity ( )
inline

Definition at line 88 of file itkLevelTracingImageFilter.h.

◆ GetPathOutput()

template<class TInputImage , class TOutputImage >
ChainCodePathType* itk::LevelTracingImageFilter< TInputImage, TOutputImage >::GetPathOutput ( )
inline

Get the output as a ChainCodePath. This output is only generated in the 2D case.

Definition at line 91 of file itkLevelTracingImageFilter.h.

◆ GetThreshold()

template<class TInputImage , class TOutputImage >
int itk::LevelTracingImageFilter< TInputImage, TOutputImage >::GetThreshold ( )

◆ itkGetMacro() [1/2]

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkGetMacro ( Seed  ,
IndexType   
)

◆ itkGetMacro() [2/2]

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkGetMacro ( MovedSeed  ,
bool   
)

Did we move the seed point to put in on a boundary?

◆ itkNewMacro()

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

◆ itkSetMacro()

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkSetMacro ( Seed  ,
IndexType   
)

Set/Get the seed.

◆ itkStaticConstMacro() [1/3]

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

Image related typedefs.

◆ itkStaticConstMacro() [2/3]

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

Image dimension constants

◆ itkStaticConstMacro() [3/3]

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ( OutputImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension   
)

◆ itkTypeMacro()

template<class TInputImage , class TOutputImage >
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkTypeMacro ( LevelTracingImageFilter< TInputImage, TOutputImage >  ,
ImageToImageFilter   
)

Run-time type information (and related methods).

◆ MakeOutput()

template<class TInputImage , class TOutputImage >
DataObjectPointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::MakeOutput ( unsigned int  output)
protected

◆ PrintSelf()

template<class TInputImage , class TOutputImage >
void itk::LevelTracingImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const

◆ Trace() [1/2]

template<class TInputImage , class TOutputImage >
virtual void itk::LevelTracingImageFilter< TInputImage, TOutputImage >::Trace ( const Dispatch< 2 > &  )
protectedvirtual

This method traces the level curve/surface.

◆ Trace() [2/2]

template<class TInputImage , class TOutputImage >
virtual void itk::LevelTracingImageFilter< TInputImage, TOutputImage >::Trace ( const DispatchBase )
protectedvirtual

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