OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::StreamingInnerProductVectorImageFilter< TInputImage > Class Template Reference

#include <otbStreamingInnerProductVectorImageFilter.h>

+ Inheritance diagram for otb::StreamingInnerProductVectorImageFilter< TInputImage >:
+ Collaboration diagram for otb::StreamingInnerProductVectorImageFilter< TInputImage >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TInputImage InputImageType
 
typedef
StatFilterType::MatrixObjectType 
MatrixObjectType
 
typedef StatFilterType::MatrixType MatrixType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
StreamingInnerProductVectorImageFilter 
Self
 
typedef Superclass::FilterType StatFilterType
 
typedef
PersistentFilterStreamingDecorator
< PersistentInnerProductVectorImageFilter
< TInputImage > > 
Superclass
 
- Public Types inherited from otb::PersistentFilterStreamingDecorator< PersistentInnerProductVectorImageFilter< TInputImage > >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef FilterType::Pointer FilterPointerType
 
typedef
PersistentInnerProductVectorImageFilter
< TInputImage > 
FilterType
 
typedef FilterType::InputImageType ImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
PersistentFilterStreamingDecorator 
Self
 
typedef StreamerType::Pointer StreamerPointerType
 
typedef
StreamingImageVirtualWriter
< ImageType
StreamerType
 
typedef itk::ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
TInputImage * GetInput ()
 
virtual const char * GetNameOfClass () const
 
void SetCenterData (bool centerdata)
 
void SetInput (TInputImage *input)
 
MatrixType GetInnerProduct () const
 
MatrixObjectTypeGetInnerProductOutput ()
 
const MatrixObjectTypeGetInnerProductOutput () const
 
- Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentInnerProductVectorImageFilter< TInputImage > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const FilterTypeGetFilter () const
 
 itkGetObjectMacro (Filter, FilterType)
 
 itkGetObjectMacro (Streamer, StreamerType)
 
virtual void SetFilter (FilterType *_arg)
 
virtual void Update (void)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- 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
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () 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 ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- 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 ()
 
- Static Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentInnerProductVectorImageFilter< TInputImage > >
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 ()
 

Protected Member Functions

 StreamingInnerProductVectorImageFilter ()
 
virtual ~StreamingInnerProductVectorImageFilter ()
 
- Protected Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentInnerProductVectorImageFilter< TInputImage > >
virtual void GenerateData (void)
 
 PersistentFilterStreamingDecorator ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~PersistentFilterStreamingDecorator ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
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 SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- 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 ()
 

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from otb::PersistentFilterStreamingDecorator< PersistentInnerProductVectorImageFilter< TInputImage > >
FilterPointerType m_Filter
 
StreamerPointerType m_Streamer
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<class TInputImage>
class otb::StreamingInnerProductVectorImageFilter< TInputImage >

This class streams the whole input image through the PersistentStatisticsImageFilter.

=========================================================================== This way, it allows to compute the inner product of this image. It calls the Reset() method of the PersistentStatisticsImageFilter before streaming the image and the Synthetize() method of the PersistentStatisticsImageFilter after having streamed the image to compute the statistics. The accessor on the results are wrapping the accessors of the internal PersistentStatisticsImageFilter.

See Also
PersistentStatisticsVectorImageFilter
PersistentImageFilter
PersistentFilterStreamingDecorator
StreamingImageVirtualWriter

Definition at line 163 of file otbStreamingInnerProductVectorImageFilter.h.

Member Typedef Documentation

template<class TInputImage >
typedef itk::SmartPointer<const Self> otb::StreamingInnerProductVectorImageFilter< TInputImage >::ConstPointer

Definition at line 172 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
typedef TInputImage otb::StreamingInnerProductVectorImageFilter< TInputImage >::InputImageType

Definition at line 178 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
typedef StatFilterType::MatrixObjectType otb::StreamingInnerProductVectorImageFilter< TInputImage >::MatrixObjectType

Type of DataObjects used for scalar outputs

Definition at line 185 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
typedef StatFilterType::MatrixType otb::StreamingInnerProductVectorImageFilter< TInputImage >::MatrixType

Definition at line 182 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
typedef itk::SmartPointer<Self> otb::StreamingInnerProductVectorImageFilter< TInputImage >::Pointer

Definition at line 171 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
typedef StreamingInnerProductVectorImageFilter otb::StreamingInnerProductVectorImageFilter< TInputImage >::Self

Standard Self typedef

Definition at line 168 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
typedef Superclass::FilterType otb::StreamingInnerProductVectorImageFilter< TInputImage >::StatFilterType

Definition at line 181 of file otbStreamingInnerProductVectorImageFilter.h.

Definition at line 170 of file otbStreamingInnerProductVectorImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage >
otb::StreamingInnerProductVectorImageFilter< TInputImage >::StreamingInnerProductVectorImageFilter ( )
inlineprotected

Constructor

Definition at line 220 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
virtual otb::StreamingInnerProductVectorImageFilter< TInputImage >::~StreamingInnerProductVectorImageFilter ( )
inlineprotectedvirtual

Destructor

Definition at line 223 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
otb::StreamingInnerProductVectorImageFilter< TInputImage >::StreamingInnerProductVectorImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage >
virtual::itk::LightObject::Pointer otb::StreamingInnerProductVectorImageFilter< TInputImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputImage >
MatrixType otb::StreamingInnerProductVectorImageFilter< TInputImage >::GetInnerProduct ( ) const
inline

Return the computed inner product.

Definition at line 198 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
MatrixObjectType* otb::StreamingInnerProductVectorImageFilter< TInputImage >::GetInnerProductOutput ( )
inline

Return the computed inner product.

Definition at line 202 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
const MatrixObjectType* otb::StreamingInnerProductVectorImageFilter< TInputImage >::GetInnerProductOutput ( ) const
inline

Return the computed inner product.

Definition at line 206 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
TInputImage* otb::StreamingInnerProductVectorImageFilter< TInputImage >::GetInput ( void  )
inline

Definition at line 192 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
virtual const char* otb::StreamingInnerProductVectorImageFilter< TInputImage >::GetNameOfClass ( ) const
virtual
template<class TInputImage >
static Pointer otb::StreamingInnerProductVectorImageFilter< TInputImage >::New ( )
static

Type macro

template<class TInputImage >
void otb::StreamingInnerProductVectorImageFilter< TInputImage >::operator= ( const Self )
private
template<class TInputImage >
void otb::StreamingInnerProductVectorImageFilter< TInputImage >::SetCenterData ( bool  centerdata)
inline

Enable/Disable center data

Definition at line 213 of file otbStreamingInnerProductVectorImageFilter.h.

template<class TInputImage >
void otb::StreamingInnerProductVectorImageFilter< TInputImage >::SetInput ( TInputImage *  input)
inline

Definition at line 188 of file otbStreamingInnerProductVectorImageFilter.h.


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