ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkAnchorOpenCloseImageFilter.h>
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.
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 SmartPointer< const Self > | ConstPointer |
typedef FlatStructuringElement < itkGetStaticConstMacro(ImageDimension) > | FlatKernelType |
typedef TImage::IndexType | IndexType |
typedef TImage | InputImageType |
typedef TImage::PixelType | InputPixelType |
typedef TKernel | KernelType |
typedef TImage::OffsetType | OffsetType |
typedef TImage | OutputImageType |
typedef TImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TImage::SizeType | RadiusType |
typedef TImage::RegionType | RegionType |
typedef KernelImageFilter | Self |
typedef TImage::SizeType | SizeType |
typedef BoxImageFilter< TImage, TImage > | Superclass |
Public Types inherited from itk::BoxImageFilter< TImage, TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TImage::IndexType | IndexType |
typedef TImage | InputImageType |
typedef TImage::PixelType | InputPixelType |
typedef TImage::OffsetType | OffsetType |
typedef TImage | OutputImageType |
typedef TImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TImage::SizeType | RadiusType |
typedef TImage::SizeValueType | RadiusValueType |
typedef TImage::RegionType | RegionType |
typedef BoxImageFilter | Self |
typedef TImage::SizeType | SizeType |
typedef ImageToImageFilter < TImage, TImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
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 Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TImage > | Superclass |
Public Types inherited from itk::ImageSource< TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::KernelImageFilter< TImage, TImage, TKernel > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BoxImageFilter< TImage, TImage > | |
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 const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static const unsigned int | OutputImageDimension |
Protected Attributes | |
InputImagePixelType | m_Boundary1 |
InputImagePixelType | m_Boundary2 |
Protected Attributes inherited from itk::KernelImageFilter< TImage, TImage, TKernel > | |
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 &) |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
|
private |
Definition at line 118 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 115 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 113 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 105 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 104 of file itkAnchorOpenCloseImageFilter.h.
typedef SmartPointer< const Self > itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::ConstPointer |
Definition at line 61 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::ConstPointer itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImageConstPointer |
Definition at line 71 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::PixelType itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImagePixelType |
Definition at line 73 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::Pointer itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImagePointer |
Definition at line 70 of file itkAnchorOpenCloseImageFilter.h.
typedef InputImageType::RegionType itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImageRegionType |
Definition at line 72 of file itkAnchorOpenCloseImageFilter.h.
typedef TImage itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::InputImageType |
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.
Definition at line 66 of file itkAnchorOpenCloseImageFilter.h.
typedef SmartPointer< Self > itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::Pointer |
Definition at line 60 of file itkAnchorOpenCloseImageFilter.h.
typedef AnchorOpenCloseImageFilter itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::Self |
Standard class typedefs.
Definition at line 57 of file itkAnchorOpenCloseImageFilter.h.
typedef KernelImageFilter< TImage, TImage, TKernel > itk::AnchorOpenCloseImageFilter< TImage, TKernel, TCompare1, TCompare2 >::Superclass |
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::Object.
|
private |
|
virtual |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
|
static |
Standard New method.
|
private |
|
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::ImageToImageFilter< TImage, TImage >.
|
protected |
Multi-thread version GenerateData.
|
static |
ImageDimension constants
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
Definition at line 79 of file itkAnchorOpenCloseImageFilter.h.