ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter > Class Template Reference

#include <itkImageFilterToVideoFilterWrapper.h>

+ Inheritance diagram for itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >:
+ Collaboration diagram for itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef WeakPointer< const SelfConstWeakPointer
typedef TImageToImageFilter ImageFilterType
typedef
ImageFilterType::InputImageType 
InputFrameType
typedef itk::VideoStream
< InputFrameType
InputVideoStreamType
typedef
ImageFilterType::OutputImageType 
OutputFrameType
typedef itk::VideoStream
< OutputFrameType
OutputVideoStreamType
typedef SmartPointer< SelfPointer
typedef
ImageFilterToVideoFilterWrapper
< ImageFilterType
Self
typedef VideoToVideoFilter
< InputVideoStreamType,
OutputVideoStreamType
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual void SetImageFilter (ImageFilterType *_arg)
virtual ImageFilterTypeGetImageFilter ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 ImageFilterToVideoFilterWrapper ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
virtual void TemporalStreamingGenerateData ()
virtual ~ImageFilterToVideoFilterWrapper ()

Protected Attributes

ImageFilterType::Pointer m_ImageFilter

Private Member Functions

 ImageFilterToVideoFilterWrapper (const Self &)
void operator= (const Self &)

Detailed Description

template<class TImageToImageFilter>
class itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >

Wrap an ImageToImageFilter as a VideoToVideoFilter that operates on a single frame at a time.

This filter wrapper allows all of the standard ITK image filters to be used in a video pipeline. This is done by instantiating the image filter, setting its parameters, and then using the SetImageFilter() method of this wrapper to use the filter to process each in a video pipeline. An instance of this wrapper must be templated over the apropriate image filter type.

Definition at line 39 of file itkImageFilterToVideoFilterWrapper.h.


Member Typedef Documentation

template<class TImageToImageFilter >
typedef SmartPointer< const Self > itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::ConstPointer
template<class TImageToImageFilter >
typedef WeakPointer< const Self > itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::ConstWeakPointer
template<class TImageToImageFilter >
typedef TImageToImageFilter itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::ImageFilterType

Standard class typedefs

Definition at line 47 of file itkImageFilterToVideoFilterWrapper.h.

template<class TImageToImageFilter >
typedef ImageFilterType::InputImageType itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::InputFrameType
template<class TImageToImageFilter >
typedef itk::VideoStream< InputFrameType > itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::InputVideoStreamType
template<class TImageToImageFilter >
typedef ImageFilterType::OutputImageType itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::OutputFrameType
template<class TImageToImageFilter >
typedef itk::VideoStream< OutputFrameType > itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::OutputVideoStreamType
template<class TImageToImageFilter >
typedef SmartPointer< Self > itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::Pointer
template<class TImageToImageFilter >
typedef ImageFilterToVideoFilterWrapper< ImageFilterType > itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::Self
template<class TImageToImageFilter >
typedef VideoToVideoFilter< InputVideoStreamType, OutputVideoStreamType > itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::Superclass

Constructor & Destructor Documentation

template<class TImageToImageFilter >
itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::ImageFilterToVideoFilterWrapper ( ) [protected]

Constructor and Destructor

template<class TImageToImageFilter >
virtual itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::~ImageFilterToVideoFilterWrapper ( ) [inline, protected, virtual]

Definition at line 73 of file itkImageFilterToVideoFilterWrapper.h.

template<class TImageToImageFilter >
itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::ImageFilterToVideoFilterWrapper ( const Self ) [private]

Member Function Documentation

template<class TImageToImageFilter >
virtual::itk::LightObject::Pointer itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::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::VideoToVideoFilter< itk::VideoStream< TImageToImageFilter::InputImageType >, itk::VideoStream< TImageToImageFilter::OutputImageType > >.

template<class TImageToImageFilter >
virtual ImageFilterType* itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::GetImageFilter ( ) [virtual]

Set the filter to use in the interal pipeline

template<class TImageToImageFilter >
virtual const char* itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::GetNameOfClass ( ) const [virtual]
template<class TImageToImageFilter >
static Pointer itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::New ( ) [static]
template<class TImageToImageFilter >
void itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::operator= ( const Self ) [private]
template<class TImageToImageFilter >
virtual void itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]
template<class TImageToImageFilter >
virtual void itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::SetImageFilter ( ImageFilterType _arg) [virtual]

Set the filter to use in the interal pipeline

template<class TImageToImageFilter >
virtual void itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::TemporalStreamingGenerateData ( ) [protected, virtual]

Since we just set up a mini image pipeline inside, we override TemporalStreamingGenerateData

Reimplemented from itk::VideoSource< itk::VideoStream< TImageToImageFilter::OutputImageType > >.


Member Data Documentation

template<class TImageToImageFilter >
ImageFilterType::Pointer itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::m_ImageFilter [protected]

Pointer to filter to use for internal filter

Definition at line 83 of file itkImageFilterToVideoFilterWrapper.h.


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