ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkAnchorOpenCloseImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef KernelType::LType | KernelLType |
typedef TKernel | KernelType |
typedef SmartPointer< Self > | Pointer |
typedef AnchorOpenCloseImageFilter | Self |
typedef KernelImageFilter < TImage, TImage, TKernel > | Superclass |
Public Types inherited from itk::KernelImageFilter< TImage, TImage, TKernel > | |
typedef FlatStructuringElement < itkGetStaticConstMacro(ImageDimension) > | FlatKernelType |
typedef TImage::IndexType | IndexType |
typedef TImage::PixelType | InputPixelType |
typedef TImage::OffsetType | OffsetType |
typedef TImage | OutputImageType |
typedef TImage::PixelType | OutputPixelType |
typedef TImage::SizeType | RadiusType |
typedef TImage::RegionType | RegionType |
typedef TImage::SizeType | SizeType |
Public Types inherited from itk::BoxImageFilter< TImage, TImage > | |
typedef TImage::SizeValueType | RadiusValueType |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
Public Types inherited from itk::ImageSource< TImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::Pointer | OutputImagePointer |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TImage::ImageDimension |
static const unsigned int | OutputImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::KernelImageFilter< TImage, TImage, TKernel > | |
static const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::BoxImageFilter< TImage, TImage > | |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
Static Public Attributes inherited from itk::ImageSource< TImage > |
Protected Attributes | |
InputImagePixelType | m_Boundary1 |
InputImagePixelType | m_Boundary2 |
KernelType | m_Kernel |
Private Types | |
typedef AnchorErodeDilateLine < InputImagePixelType, TCompare2 > | AnchorLineDilateType |
typedef AnchorErodeDilateLine < InputImagePixelType, TCompare1 > | AnchorLineErodeType |
typedef AnchorOpenCloseLine < InputImagePixelType, TCompare1 > | AnchorLineOpenType |
typedef BresType::OffsetArray | BresOffsetArray |
typedef BresenhamLine < itkGetStaticConstMacro(InputImageDimension) > | BresType |
Private Member Functions | |
AnchorOpenCloseImageFilter (const Self &) | |
void | DoFaceOpen (InputImageConstPointer input, InputImagePointer output, InputImagePixelType border, KernelLType line, AnchorLineOpenType &AnchorLineOpen, const BresOffsetArray LineOffsets, std::vector< InputImagePixelType > &outbuffer, const InputImageRegionType AllImage, const InputImageRegionType face) |
void | operator= (const Self &) |
class to implement openings and closings using anchor methods.
Anchor methods directly implement opening/closing by line structuring elements, and erosion/dilation is slightly more complicated. This class used line structuring elements to produce more complex shaped SEs, and must be instantiated with a decomposable structuring element type such as FlatStructuringElement. The direct implementation of openings by lines gives a mechanism to short cut the decomposition slightly - e.g. in the case of a rectangle the basic decomposition is Ex Ey Ez Dz Dy Dz, which can be changed to Ex Ey Oz Dy Dx, where Ex, Dx and Ox indicate erosions, dilations and openings along the x direction. Because anchor operations do openings directly, this is a saving of one pass through the filter. Unfortunately it results in more complex template parameters because the appropriate comparison operations need to be passed in. The less
Definition at line 51 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 117 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 114 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 112 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 104 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 103 of file itkAnchorOpenCloseImageFilter.h.
typedef SmartPointer< const Self > itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::ConstPointer |
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Reimplemented in itk::AnchorCloseImageFilter< TImage, TKernel >, and itk::AnchorOpenImageFilter< TImage, TKernel >.
Definition at line 61 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::ConstPointer itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 71 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::PixelType itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 73 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::Pointer itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 70 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::RegionType itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 72 of file itkAnchorOpenCloseImageFilter.h.
typedef TImage itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImageType |
Image related typedefs.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Definition at line 69 of file itkAnchorOpenCloseImageFilter.h.
typedef KernelType::LType itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::KernelLType |
Definition at line 67 of file itkAnchorOpenCloseImageFilter.h.
typedef TKernel itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::KernelType |
Some convenient typedefs. Kernel typedef.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Definition at line 66 of file itkAnchorOpenCloseImageFilter.h.
typedef SmartPointer< Self > itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::Pointer |
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Reimplemented in itk::AnchorCloseImageFilter< TImage, TKernel >, and itk::AnchorOpenImageFilter< TImage, TKernel >.
Definition at line 60 of file itkAnchorOpenCloseImageFilter.h.
typedef AnchorOpenCloseImageFilter itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::Self |
Standard class typedefs.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Reimplemented in itk::AnchorCloseImageFilter< TImage, TKernel >, and itk::AnchorOpenImageFilter< TImage, TKernel >.
Definition at line 57 of file itkAnchorOpenCloseImageFilter.h.
typedef KernelImageFilter< TImage, TImage, TKernel > itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::Superclass |
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Reimplemented in itk::AnchorCloseImageFilter< TImage, TKernel >, and itk::AnchorOpenImageFilter< TImage, TKernel >.
Definition at line 59 of file itkAnchorOpenCloseImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 91 of file itkAnchorOpenCloseImageFilter.h.
|
private |
|
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::KernelImageFilter< TImage, TImage, TKernel >.
Reimplemented in itk::AnchorCloseImageFilter< TImage, TKernel >, and itk::AnchorOpenImageFilter< TImage, TKernel >.
|
private |
|
virtual |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
|
static |
Standard New method.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Reimplemented in itk::AnchorCloseImageFilter< TImage, TKernel >, and itk::AnchorOpenImageFilter< TImage, TKernel >.
|
private |
kernel or structuring element to use.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
Reimplemented in itk::AnchorCloseImageFilter< TImage, TKernel >, and itk::AnchorOpenImageFilter< TImage, TKernel >.
|
protectedvirtual |
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::KernelImageFilter< TImage, TImage, TKernel >.
|
protected |
Multi-thread version GenerateData.
|
static |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 77 of file itkAnchorOpenCloseImageFilter.h.
|
protected |
Definition at line 98 of file itkAnchorOpenCloseImageFilter.h.
|
protected |
Definition at line 98 of file itkAnchorOpenCloseImageFilter.h.
|
static |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 79 of file itkAnchorOpenCloseImageFilter.h.