Slicer
5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Trace a level curve/surface given a seed point on the level curve/surface. More...
#include <Libs/vtkITK/itkLevelTracingImageFilter.h>
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 Self > | ConstPointer |
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< Self > | Pointer |
typedef LevelTracingImageFilter | Self |
typedef InputImageType::SizeType | SizeType |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
InputImagePixelType | GetMaxIntensity () |
InputImagePixelType | GetMinIntensity () |
ChainCodePathType * | GetPathOutput () |
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 override |
Protected Member Functions | |
void | EnlargeOutputRequestedRegion (DataObject *output) override |
Override since the filter produces the entire dataset. More... | |
void | GenerateData () override |
void | GenerateInputRequestedRegion () 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 () override=default | |
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.
typedef ChainCodePathType::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::ChainCodePathPointer |
Definition at line 64 of file itkLevelTracingImageFilter.h.
typedef ChainCodePath<ImageDimension> itk::LevelTracingImageFilter< TInputImage, TOutputImage >::ChainCodePathType |
Definition at line 63 of file itkLevelTracingImageFilter.h.
typedef SmartPointer<const Self> itk::LevelTracingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 37 of file itkLevelTracingImageFilter.h.
typedef DataObject::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::DataObjectPointer |
Smart Pointer type to a DataObject.
Definition at line 69 of file itkLevelTracingImageFilter.h.
typedef InputImageType::IndexType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 55 of file itkLevelTracingImageFilter.h.
typedef InputImageType::ConstPointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 52 of file itkLevelTracingImageFilter.h.
typedef InputImageType::PixelType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 54 of file itkLevelTracingImageFilter.h.
typedef InputImageType::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 51 of file itkLevelTracingImageFilter.h.
typedef InputImageType::RegionType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 53 of file itkLevelTracingImageFilter.h.
typedef TInputImage itk::LevelTracingImageFilter< TInputImage, TOutputImage >::InputImageType |
Definition at line 50 of file itkLevelTracingImageFilter.h.
typedef ChainCodePathType::OffsetType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OffsetType |
Definition at line 66 of file itkLevelTracingImageFilter.h.
typedef OutputImageType::PixelType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 61 of file itkLevelTracingImageFilter.h.
typedef OutputImageType::Pointer itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 59 of file itkLevelTracingImageFilter.h.
typedef OutputImageType::RegionType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 60 of file itkLevelTracingImageFilter.h.
typedef TOutputImage itk::LevelTracingImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 58 of file itkLevelTracingImageFilter.h.
typedef SmartPointer<Self> itk::LevelTracingImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 36 of file itkLevelTracingImageFilter.h.
typedef LevelTracingImageFilter itk::LevelTracingImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 34 of file itkLevelTracingImageFilter.h.
typedef InputImageType::SizeType itk::LevelTracingImageFilter< TInputImage, TOutputImage >::SizeType |
Definition at line 56 of file itkLevelTracingImageFilter.h.
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::LevelTracingImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 35 of file itkLevelTracingImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotected |
Override since the filter produces the entire dataset.
|
overrideprotected |
|
overrideprotected |
Override since the filter needs all the data for the algorithm.
|
inline |
Definition at line 87 of file itkLevelTracingImageFilter.h.
|
inline |
Definition at line 88 of file itkLevelTracingImageFilter.h.
|
inline |
Get the output as a ChainCodePath. This output is only generated in the 2D case.
Definition at line 91 of file itkLevelTracingImageFilter.h.
int itk::LevelTracingImageFilter< TInputImage, TOutputImage >::GetThreshold | ( | ) |
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkGetMacro | ( | Seed | , |
IndexType | |||
) |
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkGetMacro | ( | MovedSeed | , |
bool | |||
) |
Did we move the seed point to put in on a boundary?
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkSetMacro | ( | Seed | , |
IndexType | |||
) |
Set/Get the seed.
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Image related typedefs.
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Image dimension constants
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
unsigned | int, | ||
TOutputImage::ImageDimension | |||
) |
itk::LevelTracingImageFilter< TInputImage, TOutputImage >::itkTypeMacro | ( | LevelTracingImageFilter< TInputImage, TOutputImage > | , |
ImageToImageFilter | |||
) |
Run-time type information (and related methods).
|
protected |
|
override |
|
protectedvirtual |
This method traces the level curve/surface.
|
protectedvirtual |