ITK
4.9.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< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage::OffsetType | OffsetType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::SizeValueType | RadiusValueType |
typedef TInputImage::RegionType | RegionType |
typedef BoxImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
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 TOutputImage | 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< TInputImage, TOutputImage > | |
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 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< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
InputImagePixelType | m_Boundary1 |
InputImagePixelType | m_Boundary2 |
Protected Attributes inherited from itk::KernelImageFilter< TImage, TImage, TKernel > | |
KernelType | m_Kernel |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
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 &) ITK_DELETE_FUNCTION | |
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 &) ITK_DELETE_FUNCTION |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
|
private |
Definition at line 119 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 116 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 114 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 106 of file itkAnchorOpenCloseImageFilter.h.
|
private |
Definition at line 105 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::BoxImageFilter< TInputImage, TOutputImage >.
|
private |
|
virtual |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TImage, TImage, TKernel >.
|
static |
Standard New method.
|
private |
|
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::BoxImageFilter< TInputImage, TOutputImage >.
|
overrideprotected |
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 99 of file itkAnchorOpenCloseImageFilter.h.
|
static |
ImageDimension constants
Definition at line 79 of file itkAnchorOpenCloseImageFilter.h.