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

#include <otbStreamingCompareImageFilter.h>

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

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef TInputImage ImageType
 
typedef TInputImage::IndexType IndexType
 
typedef TInputImage::Pointer InputImagePointer
 
typedef
itk::SimpleDataObjectDecorator
< PixelType
PixelObjectType
 
typedef TInputImage::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
itk::SimpleDataObjectDecorator
< RealType
RealObjectType
 
typedef itk::NumericTraits
< PixelType >::RealType 
RealType
 
typedef TInputImage::RegionType RegionType
 
typedef
PersistentCompareImageFilter 
Self
 
typedef TInputImage::SizeType SizeType
 
typedef PersistentImageFilter
< TInputImage, TInputImage > 
Superclass
 
- Public Types inherited from otb::PersistentImageFilter< TInputImage, TInputImage >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TInputImage InputImageType
 
typedef TInputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentImageFilter Self
 
typedef
itk::ImageToImageFilter
< TInputImage, TInputImage > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TInputImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ImageSource Self
 
typedef 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
 
virtual const char * GetNameOfClass () const
 
virtual bool GetPhysicalSpaceCheck ()
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void SetInput1 (const TInputImage *image)
 
void SetInput2 (const TInputImage *image)
 
virtual void SetPhysicalSpaceCheck (bool _arg)
 
const TInputImage * GetInput1 ()
 
const TInputImage * GetInput2 ()
 
RealType GetPSNR () const
 
RealObjectTypeGetPSNROutput ()
 
const RealObjectTypeGetPSNROutput () const
 
RealType GetMSE () const
 
RealObjectTypeGetMSEOutput ()
 
const RealObjectTypeGetMSEOutput () const
 
RealType GetMAE () const
 
RealObjectTypeGetMAEOutput ()
 
const RealObjectTypeGetMAEOutput () const
 
RealType GetDiffCount () const
 
RealObjectTypeGetDiffCountOutput ()
 
const RealObjectTypeGetDiffCountOutput () const
 
void AllocateOutputs () override
 
void GenerateOutputInformation () override
 
void Synthetize (void) override
 
void Reset (void) override
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- 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 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 Update ()
 
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 () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
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 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) override
 
virtual void UnRegister () const noexceptoverride
 
- 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 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 ImageDimension = TInputImage::ImageDimension
 
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 

Protected Member Functions

 PersistentCompareImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void VerifyInputInformation () override
 
 ~PersistentCompareImageFilter () override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
- Protected Member Functions inherited from otb::PersistentImageFilter< TInputImage, TInputImage >
 PersistentImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageFilter () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void GenerateData () override
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
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 RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) 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 SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
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 &)=delete
 
 PersistentCompareImageFilter (const Self &)=delete
 

Private Attributes

itk::Array< RealTypem_AbsoluteValueOfDifferences
 
itk::Array< long > m_Count
 
itk::Array< long > m_DiffCount
 
bool m_PhysicalSpaceCheck
 
itk::Array< RealTypem_SquareOfDifferences
 
itk::Array< PixelTypem_ThreadMaxRef
 
itk::Array< PixelTypem_ThreadMinRef
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
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)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TInputImage>
class otb::PersistentCompareImageFilter< TInputImage >

Compute mean squared error, mean absolute error and PSNR of two imagee using the output requested region.

This filter persists its temporary data. It means that if you Update it n times on n different requested regions, the output estimators will be the estimators of the whole set of n regions.

To reset the temporary data, one should call the Reset() function.

To get the estimators once the regions have been processed via the pipeline, use the Synthetize() method.

See Also
PersistentImageFilter

Definition at line 51 of file otbStreamingCompareImageFilter.h.

Member Typedef Documentation

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

Definition at line 59 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef itk::DataObject::Pointer otb::PersistentCompareImageFilter< TInputImage >::DataObjectPointer

Smart Pointer type to a DataObject.

Definition at line 88 of file otbStreamingCompareImageFilter.h.

Definition at line 75 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef TInputImage otb::PersistentCompareImageFilter< TInputImage >::ImageType

Image related typedefs.

Definition at line 65 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef TInputImage::IndexType otb::PersistentCompareImageFilter< TInputImage >::IndexType

Definition at line 73 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef TInputImage::Pointer otb::PersistentCompareImageFilter< TInputImage >::InputImagePointer

Definition at line 69 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef itk::SimpleDataObjectDecorator<PixelType> otb::PersistentCompareImageFilter< TInputImage >::PixelObjectType

Definition at line 92 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef TInputImage::PixelType otb::PersistentCompareImageFilter< TInputImage >::PixelType

Definition at line 74 of file otbStreamingCompareImageFilter.h.

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

Definition at line 58 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef itk::SimpleDataObjectDecorator<RealType> otb::PersistentCompareImageFilter< TInputImage >::RealObjectType

Type of DataObjects used for scalar outputs

Definition at line 91 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef itk::NumericTraits<PixelType>::RealType otb::PersistentCompareImageFilter< TInputImage >::RealType

Type to use for computations.

Definition at line 85 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef TInputImage::RegionType otb::PersistentCompareImageFilter< TInputImage >::RegionType

Definition at line 71 of file otbStreamingCompareImageFilter.h.

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

Standard Self typedef

Definition at line 56 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef TInputImage::SizeType otb::PersistentCompareImageFilter< TInputImage >::SizeType

Definition at line 72 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
typedef PersistentImageFilter<TInputImage, TInputImage> otb::PersistentCompareImageFilter< TInputImage >::Superclass

Definition at line 57 of file otbStreamingCompareImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage >
otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter ( )
protected
template<class TInputImage >
otb::PersistentCompareImageFilter< TInputImage >::~PersistentCompareImageFilter ( )
inlineoverrideprotected

Definition at line 160 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter ( const Self )
privatedelete

Member Function Documentation

template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::AllocateOutputs ( void  )
overridevirtual

Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 214 of file otbStreamingCompareImageFilter.hxx.

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

Reimplemented from itk::Object.

template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::GenerateOutputInformation ( void  )
overridevirtual

Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.

Reimplemented from itk::ProcessObject.

Definition at line 197 of file otbStreamingCompareImageFilter.hxx.

template<class TInputImage >
RealType otb::PersistentCompareImageFilter< TInputImage >::GetDiffCount ( ) const
inline

Return the Number of Pixel which are different.

Definition at line 133 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetDiffCountOutput ( )

Return the Number of Pixel which are different.

Definition at line 181 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetDiffCountOutput ( ) const

Return the Number of Pixel which are different.

Definition at line 189 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
const TInputImage * otb::PersistentCompareImageFilter< TInputImage >::GetInput1 ( void  )

Get the inputs

Definition at line 86 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage >
const TInputImage * otb::PersistentCompareImageFilter< TInputImage >::GetInput2 ( void  )

Get the inputs

Definition at line 98 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage >
RealType otb::PersistentCompareImageFilter< TInputImage >::GetMAE ( ) const
inline

Return the computed MAE.

Definition at line 124 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetMAEOutput ( )

Return the computed MAE.

Definition at line 165 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetMAEOutput ( ) const

Return the computed MAE.

Definition at line 173 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
RealType otb::PersistentCompareImageFilter< TInputImage >::GetMSE ( ) const
inline

Return the computed MSE.

Definition at line 115 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetMSEOutput ( )

Return the computed MSE.

Definition at line 149 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetMSEOutput ( ) const

Return the computed MSE.

Definition at line 157 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
virtual const char* otb::PersistentCompareImageFilter< TInputImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

Reimplemented from otb::PersistentImageFilter< TInputImage, TInputImage >.

template<class TInputImage >
virtual bool otb::PersistentCompareImageFilter< TInputImage >::GetPhysicalSpaceCheck ( )
virtual
template<class TInputImage >
RealType otb::PersistentCompareImageFilter< TInputImage >::GetPSNR ( ) const
inline

Return the computed PSNR.

Definition at line 106 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetPSNROutput ( )

Return the computed PSNR.

Definition at line 133 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetPSNROutput ( ) const

Return the computed PSNR.

Definition at line 141 of file otbStreamingCompareImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage >
itk::DataObject::Pointer otb::PersistentCompareImageFilter< TInputImage >::MakeOutput ( DataObjectPointerArraySizeType  idx)
overridevirtual

Make a DataObject of the correct type to be used as the specified output.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 110 of file otbStreamingCompareImageFilter.hxx.

template<class TInputImage >
static Pointer otb::PersistentCompareImageFilter< TInputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::operator= ( const Self )
privatedelete
template<class TImage >
void otb::PersistentCompareImageFilter< TImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual
template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::Reset ( void  )
overridevirtual

Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.

Implements otb::PersistentImageFilter< TInputImage, TInputImage >.

Definition at line 282 of file otbStreamingCompareImageFilter.hxx.

template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::SetInput1 ( const TInputImage *  image)

Connect one the first operands.

Connect one of the first operand

Definition at line 65 of file otbStreamingCompareImageFilter.hxx.

template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::SetInput2 ( const TInputImage *  image)

Connect one the second operands.

Connect one of the second operand

Definition at line 77 of file otbStreamingCompareImageFilter.hxx.

template<class TInputImage >
virtual void otb::PersistentCompareImageFilter< TInputImage >::SetPhysicalSpaceCheck ( bool  _arg)
virtual
template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::Synthetize ( void  )
overridevirtual

Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.

Implements otb::PersistentImageFilter< TInputImage, TInputImage >.

Definition at line 226 of file otbStreamingCompareImageFilter.hxx.

References itk::NumericTraits< T >::max(), and itk::NumericTraits< T >::NonpositiveMin().

template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected
template<class TInputImage >
void otb::PersistentCompareImageFilter< TInputImage >::VerifyInputInformation ( )
overrideprotectedvirtual

Allows skipping the verification of physical space between the two input images (see flag m_PhysicalSpaceCheck)

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

Definition at line 307 of file otbStreamingCompareImageFilter.hxx.

Member Data Documentation

template<class TInputImage >
const unsigned int otb::PersistentCompareImageFilter< TInputImage >::ImageDimension = TInputImage::ImageDimension
static

Image related typedefs.

Definition at line 82 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
const unsigned int otb::PersistentCompareImageFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension
static

Definition at line 78 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
itk::Array<RealType> otb::PersistentCompareImageFilter< TInputImage >::m_AbsoluteValueOfDifferences
private

Definition at line 178 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
itk::Array<long> otb::PersistentCompareImageFilter< TInputImage >::m_Count
private

Definition at line 181 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
itk::Array<long> otb::PersistentCompareImageFilter< TInputImage >::m_DiffCount
private

Definition at line 182 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
bool otb::PersistentCompareImageFilter< TInputImage >::m_PhysicalSpaceCheck
private

Definition at line 183 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
itk::Array<RealType> otb::PersistentCompareImageFilter< TInputImage >::m_SquareOfDifferences
private

Definition at line 177 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
itk::Array<PixelType> otb::PersistentCompareImageFilter< TInputImage >::m_ThreadMaxRef
private

Definition at line 180 of file otbStreamingCompareImageFilter.h.

template<class TInputImage >
itk::Array<PixelType> otb::PersistentCompareImageFilter< TInputImage >::m_ThreadMinRef
private

Definition at line 179 of file otbStreamingCompareImageFilter.h.


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