ITK  4.2.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 Types inherited from itk::VideoToVideoFilter< itk::VideoStream< TImageToImageFilter::InputImageType >, itk::VideoStream< TImageToImageFilter::OutputImageType > >
typedef
InputVideoStreamType::DirectionType 
InputFrameDirectionType
typedef
InputVideoStreamType::IndexType 
InputFrameIndexType
typedef
InputVideoStreamType::PixelType 
InputFramePixelType
typedef
InputVideoStreamType::PointType 
InputFramePointType
typedef
InputVideoStreamType::SizeType 
InputFrameSizeType
typedef
InputVideoStreamType::SpacingType 
InputFrameSpacingType
typedef
InputVideoStreamType::SpatialRegionType 
InputFrameSpatialRegionType
typedef
Superclass::OutputFrameSpatialRegionType 
OutputFrameSpatialRegionType
- Public Types inherited from itk::VideoSource< itk::VideoStream< TImageToImageFilter::OutputImageType > >
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
typedef
OutputVideoStreamType::DirectionType 
OutputFrameDirectionType
typedef
OutputVideoStreamType::IndexType 
OutputFrameIndexType
typedef
OutputVideoStreamType::PixelType 
OutputFramePixelType
typedef
OutputVideoStreamType::PointType 
OutputFramePointType
typedef
OutputVideoStreamType::SizeType 
OutputFrameSizeType
typedef
OutputVideoStreamType::SpacingType 
OutputFrameSpacingType
- Public Types inherited from itk::TemporalProcessObject
- Public Types inherited from itk::ProcessObject
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
typedef DataObject::Pointer DataObjectPointer
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual void SetImageFilter (ImageFilterType *_arg)
virtual ImageFilterTypeGetImageFilter ()
- Public Member Functions inherited from itk::VideoToVideoFilter< itk::VideoStream< TImageToImageFilter::InputImageType >, itk::VideoStream< TImageToImageFilter::OutputImageType > >
const InputVideoStreamTypeGetInput () const
const InputVideoStreamTypeGetInput (unsigned int idx) const
virtual void SetInput (const InputVideoStreamType *videoStream)
virtual void SetInput (unsigned int idx, const InputVideoStreamType *videoStream)
virtual void UpdateOutputInformation ()
- Public Member Functions inherited from itk::VideoSource< itk::VideoStream< TImageToImageFilter::OutputImageType > >
OutputVideoStreamTypeGetOutput ()
OutputVideoStreamTypeGetOutput (unsigned int idx)
virtual void GraftNthOutput (unsigned int idx, OutputVideoStreamType *output)
virtual void GraftOutput (OutputVideoStreamType *output)
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
- Public Member Functions inherited from itk::TemporalProcessObject
virtual void EnlargeOutputRequestedRegion (DataObject *output)
virtual void GenerateData ()
virtual SizeValueType GetUnitInputNumberOfFrames ()
virtual SizeValueType GetUnitOutputNumberOfFrames ()
virtual void UpdateOutputData (DataObject *output)
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual const bool & GetAbortGenerateData ()
NameArray GetInputNames () const
MultiThreader * GetMultiThreader () const
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
DataObjectPointerArraySizeType GetNumberOfOutputs () const
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
NameArray GetOutputNames () const
virtual const float & GetProgress ()
NameArray GetRequiredInputNames () const
bool HasInput (const DataObjectIdentifierType &key) const
bool HasOutput (const DataObjectIdentifierType &key) const
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
virtual void PrepareOutputs ()
virtual void PropagateRequestedRegion (DataObject *output)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
virtual void SetProgress (float _arg)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
void UpdateProgress (float amount)
DataObjectPointerArray GetInputs ()
DataObjectPointerArray GetOutputs ()
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
virtual void SetReleaseDataFlag (bool flag)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (ThreadIdType _arg)
virtual const ThreadIdTypeGetNumberOfThreads ()
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

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 Member Functions inherited from itk::VideoToVideoFilter< itk::VideoStream< TImageToImageFilter::InputImageType >, itk::VideoStream< TImageToImageFilter::OutputImageType > >
virtual void BeforeTemporalStreamingGenerateData ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
InputVideoStreamTypeGetInput ()
InputVideoStreamTypeGetInput (unsigned int idx)
 VideoToVideoFilter ()
virtual ~VideoToVideoFilter ()
- Protected Member Functions inherited from itk::VideoSource< itk::VideoStream< TImageToImageFilter::OutputImageType > >
virtual void AfterThreadedGenerateData ()
virtual void AllocateOutputs ()
virtual void BeforeThreadedGenerateData ()
virtual void GenerateOutputRequestedTemporalRegion (TemporalDataObject *output)
virtual int SplitRequestedSpatialRegion (int i, int num, OutputFrameSpatialRegionType &splitRegion)
virtual void ThreadedGenerateData (const OutputFrameSpatialRegionType &outputRegionForThread, int threadId)
 VideoSource ()
virtual ~VideoSource ()
- Protected Member Functions inherited from itk::TemporalProcessObject
virtual void AfterTemporalStreamingGenerateData ()
virtual void EnlargeOutputRequestedTemporalRegion (TemporalDataObject *output)
virtual TemporalRegion GenerateDefaultLargestPossibleTemporalRegion ()
virtual void GenerateInputRequestedTemporalRegion ()
virtual SizeValueType GetInputStencilCurrentFrameIndex ()
virtual void SetFrameSkipPerOutput (OffsetValueType _arg)
virtual void SetInputStencilCurrentFrameIndex (SizeValueType _arg)
virtual void SetUnitInputNumberOfFrames (SizeValueType _arg)
virtual void SetUnitOutputNumberOfFrames (SizeValueType _arg)
virtual std::vector
< TemporalRegion
SplitRequestedTemporalRegion ()
 TemporalProcessObject ()
virtual ~TemporalProcessObject ()
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateOutputInformation ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void ReleaseInputs ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryOutput (DataObject *output)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyInputInformation ()
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
virtual void PushBackInput (const DataObject *input)
virtual void PopBackInput ()
virtual void PushFrontInput (const DataObject *input)
virtual void PopFrontInput ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

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 appropriate 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 ( )
inlineprotectedvirtual

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
protectedvirtual
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 ( )
protectedvirtual

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: