ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Attributes
itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare > Class Template Reference

#include <itkReconstructionImageFilter.h>

+ Inheritance diagram for itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >:
+ Collaboration diagram for itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef InputImageType::IndexType InputImageIndexType
typedef InputImageType::PixelType InputImagePixelType
typedef TInputImage InputImageType
typedef InputImageType::SizeType ISizeType
typedef
MarkerImageType::ConstPointer 
MarkerImageConstPointer
typedef MarkerImageType::PixelType MarkerImagePixelType
typedef MarkerImageType::Pointer MarkerImagePointer
typedef MarkerImageType::RegionType MarkerImageRegionType
typedef TInputImage MarkerImageType
typedef MaskImageType::ConstPointer MaskImageConstPointer
typedef MaskImageType::PixelType MaskImagePixelType
typedef MaskImageType::Pointer MaskImagePointer
typedef MaskImageType::RegionType MaskImageRegionType
typedef TInputImage MaskImageType
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
typedef OutputImageType::IndexType OutputImageIndexType
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef ReconstructionImageFilter Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
const MarkerImageTypeGetMarkerImage ()
const MaskImageTypeGetMaskImage ()
virtual const char * GetNameOfClass () const
void SetMarkerImage (const MarkerImageType *)
void SetMaskImage (const MaskImageType *)
virtual void SetFullyConnected (bool _arg)
virtual const bool & GetFullyConnected ()
virtual void FullyConnectedOn ()
virtual void FullyConnectedOff ()

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int MarkerImageDimension = TInputImage::ImageDimension
static const unsigned int MaskImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension

Protected Member Functions

void EnlargeOutputRequestedRegion (DataObject *)
void GenerateData ()
void GenerateInputRequestedRegion ()

Private Types

typedef
ConstShapedNeighborhoodIterator
< InputImageType
CNInputIterator
typedef
itk::NeighborhoodAlgorithm::ImageBoundaryFacesCalculator
< OutputImageType
FaceCalculatorType
typedef
FaceCalculatorType::FaceListType 
FaceListType
typedef
FaceCalculatorType::FaceListType::iterator 
FaceListTypeIt
typedef InputImageType::IndexType InIndexType
typedef
ImageRegionConstIterator
< InputImageType
InputIteratorType
typedef
ShapedNeighborhoodIterator
< OutputImageType
NOutputIterator
typedef OutputImageType::IndexType OutIndexType
typedef ImageRegionIterator
< OutputImageType
OutputIteratorType

Private Attributes

bool m_FullyConnected
bool m_UseInternalCopy
virtual void SetUseInternalCopy (bool _arg)
virtual const bool & GetUseInternalCopy ()
virtual void UseInternalCopyOn ()
virtual void UseInternalCopyOff ()
 ReconstructionImageFilter ()
 ~ReconstructionImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
TInputImage::PixelType m_MarkerValue
 ReconstructionImageFilter (const Self &)
void operator= (const Self &)

Detailed Description

template<class TInputImage, class TOutputImage, class TCompare>
class itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >

Performs a grayscale geodesic reconstruction -- for performance comparison with GrayscaleGeodesicDilateImageFilter.

This filter uses Luc Vincent's algorithm, which employs raster and antiraster propogation steps followed by a FIFO based propogation step. "Morphological grayscale reconstruction in image analysis - applications and efficient algorithms" -- IEEE Transactions on Image processing, Vol 2, No 2, pp 176-201, April 1993

Author:
Richard Beare. Department of Medicine, Monash University, Melbourne, Australia.
See also:
MorphologicalReonstructionErosionImageFilter MorphologicalReonstructionDilationImageFilter

Definition at line 55 of file itkReconstructionImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage, class TCompare>
typedef ConstShapedNeighborhoodIterator< InputImageType > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::CNInputIterator [private]

Definition at line 179 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef SmartPointer< const Self > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::ConstPointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef itk::NeighborhoodAlgorithm::ImageBoundaryFacesCalculator< OutputImageType > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::FaceCalculatorType [private]

Definition at line 169 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef FaceCalculatorType::FaceListType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::FaceListType [private]

Definition at line 171 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef FaceCalculatorType::FaceListType::iterator itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::FaceListTypeIt [private]

Definition at line 172 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef InputImageType::IndexType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::InIndexType [private]

Definition at line 178 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef InputImageType::IndexType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::InputImageIndexType

Definition at line 75 of file itkReconstructionImageFilter.h.

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

Some convenient typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 67 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef ImageRegionConstIterator< InputImageType > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::InputIteratorType [private]

Definition at line 174 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef InputImageType::SizeType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::ISizeType

Definition at line 68 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef MarkerImageType::ConstPointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImageConstPointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef MarkerImageType::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImagePixelType
template<class TInputImage, class TOutputImage, class TCompare>
typedef MarkerImageType::Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImagePointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef MarkerImageType::RegionType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImageRegionType
template<class TInputImage, class TOutputImage, class TCompare>
typedef TInputImage itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImageType
template<class TInputImage, class TOutputImage, class TCompare>
typedef MaskImageType::ConstPointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImageConstPointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef MaskImageType::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImagePixelType
template<class TInputImage, class TOutputImage, class TCompare>
typedef MaskImageType::Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImagePointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef MaskImageType::RegionType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImageRegionType
template<class TInputImage, class TOutputImage, class TCompare>
typedef TInputImage itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImageType
template<class TInputImage, class TOutputImage, class TCompare>
typedef ShapedNeighborhoodIterator< OutputImageType > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::NOutputIterator [private]

Definition at line 180 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef OutputImageType::IndexType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutIndexType [private]

Definition at line 177 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef OutputImageType::ConstPointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageConstPointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef OutputImageType::IndexType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageIndexType

Definition at line 86 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef OutputImageType::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImagePixelType
template<class TInputImage, class TOutputImage, class TCompare>
typedef OutputImageType::Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImagePointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef OutputImageType::RegionType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageRegionType
template<class TInputImage, class TOutputImage, class TCompare>
typedef TOutputImage itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageType
template<class TInputImage, class TOutputImage, class TCompare>
typedef ImageRegionIterator< OutputImageType > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputIteratorType [private]

Definition at line 175 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
typedef SmartPointer< Self > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::Pointer
template<class TInputImage, class TOutputImage, class TCompare>
typedef ReconstructionImageFilter itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::Self
template<class TInputImage, class TOutputImage, class TCompare>
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::Superclass

Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage, class TCompare>
itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::ReconstructionImageFilter ( ) [protected]

Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.

template<class TInputImage, class TOutputImage, class TCompare>
itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::~ReconstructionImageFilter ( ) [inline, protected]

Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.

Definition at line 143 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::ReconstructionImageFilter ( const Self ) [private]

the value of the border - used in boundary condition.


Member Function Documentation

template<class TInputImage, class TOutputImage, class TCompare>
virtual::itk::LightObject::Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::CreateAnother ( void  ) const [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.

Reimplemented in itk::ReconstructionByDilationImageFilter< TInputImage, TOutputImage >, and itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TCompare>
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::EnlargeOutputRequestedRegion ( DataObject ) [protected, virtual]

ValuedRegionalExtremaImageFilter will produce the entire output.

Reimplemented from itk::ProcessObject.

template<class TInputImage, class TOutputImage, class TCompare>
virtual void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::FullyConnectedOff ( ) [virtual]

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

template<class TInputImage, class TOutputImage, class TCompare>
virtual void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::FullyConnectedOn ( ) [virtual]

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

template<class TInputImage, class TOutputImage, class TCompare>
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateData ( ) [protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage, class TCompare>
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GenerateInputRequestedRegion ( ) [protected, virtual]

ValuedRegionalExtremaImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TCompare>
virtual const bool& itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GetFullyConnected ( ) [virtual]

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

template<class TInputImage, class TOutputImage, class TCompare>
const MarkerImageType* itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GetMarkerImage ( )
template<class TInputImage, class TOutputImage, class TCompare>
const MaskImageType* itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GetMaskImage ( )
template<class TInputImage, class TOutputImage, class TCompare>
virtual const char* itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GetNameOfClass ( ) const [virtual]
template<class TInputImage, class TOutputImage, class TCompare>
virtual const bool& itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::GetUseInternalCopy ( ) [virtual]

Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.

template<class TInputImage, class TOutputImage, class TCompare>
static Pointer itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::New ( ) [static]
template<class TInputImage, class TOutputImage, class TCompare>
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::operator= ( const Self ) [private]
template<class TInputImage, class TOutputImage, class TCompare>
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TCompare>
virtual void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::SetFullyConnected ( bool  _arg) [virtual]

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

template<class TInputImage, class TOutputImage, class TCompare>
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::SetMarkerImage ( const MarkerImageType )

Set/Get the marker image. Traditionally, the marker image must be pixelwise less than or equal to the mask image (for dilation), however this filter implicitly applies a mask to force the constraint to hold. The marker image the image that is dilated by this filter.

template<class TInputImage, class TOutputImage, class TCompare>
void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::SetMaskImage ( const MaskImageType )

Set/Get the mask image. The mask image is used to "mask" the dilated marker image. The mask operation is a pixelwise minimum.

template<class TInputImage, class TOutputImage, class TCompare>
virtual void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::SetUseInternalCopy ( bool  _arg) [virtual]

Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.

template<class TInputImage, class TOutputImage, class TCompare>
virtual void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::UseInternalCopyOff ( ) [virtual]

Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.

template<class TInputImage, class TOutputImage, class TCompare>
virtual void itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::UseInternalCopyOn ( ) [virtual]

Perform a padding of the image internally to increase the performance of the filter. UseInternalCopy can be set to false to reduce the memory usage.


Member Data Documentation

template<class TInputImage, class TOutputImage, class TCompare>
bool itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::m_FullyConnected [private]

Definition at line 166 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
TInputImage::PixelType itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::m_MarkerValue [protected]

the value of the border - used in boundary condition.

Definition at line 160 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
bool itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::m_UseInternalCopy [private]

Definition at line 167 of file itkReconstructionImageFilter.h.

template<class TInputImage, class TOutputImage, class TCompare>
const unsigned int itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MarkerImageDimension = TInputImage::ImageDimension [static]
template<class TInputImage, class TOutputImage, class TCompare>
const unsigned int itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::MaskImageDimension = TInputImage::ImageDimension [static]
template<class TInputImage, class TOutputImage, class TCompare>
const unsigned int itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::OutputImageDimension = TOutputImage::ImageDimension [static]

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