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

#include <otbBandMathXImageFilter.h>

+ Inheritance diagram for otb::BandMathXImageFilter< TImage >:
+ Collaboration diagram for otb::BandMathXImageFilter< TImage >:

Classes

struct  adhocStruct
 

Public Types

typedef ImageType::ConstPointer ConstImagePointer
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef ImageType::Pointer ImagePointer
 
typedef ImageType::RegionType ImageRegionType
 
typedef TImage ImageType
 
typedef ImageType::IndexType IndexType
 
typedef
StreamingStatisticsVectorImageFilterType::MatrixType 
MatrixType
 
typedef ImageType::PointType OrigineType
 
typedef ParserX ParserType
 
typedef ImageType::PixelType PixelType
 
typedef
ImageType::PixelType::ValueType 
PixelValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
itk::ConstNeighborhoodIterator
< TImage >::RadiusType 
RadiusType
 
typedef BandMathXImageFilter
< TImage > 
Self
 
typedef ImageType::SpacingType SpacingType
 
typedef
StreamingStatisticsVectorImageFilterType::Pointer 
StreamingStatisticsVectorImageFilterPointerType
 
typedef
StreamingStatisticsVectorImageFilter
< ImageType
StreamingStatisticsVectorImageFilterType
 
typedef
itk::ImageToImageFilter
< TImage, TImage > 
Superclass
 
typedef ParserType::ValueType ValueType
 
- Public Types inherited from itk::ImageToImageFilter< TImage, TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TImage > 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
 
void SetNthInput (DataObjectPointerArraySizeType idx, const ImageType *image)
 
void SetNthInput (DataObjectPointerArraySizeType idx, const ImageType *image, const std::string &varName)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TImage, TImage >
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 TImage *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 (ProcessObject::DataObjectPointerArraySizeType idx) override
 
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 ()
 

Protected Member Functions

 BandMathXImageFilter ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TImage, TImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AllocateOutputs ()
 
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

 BandMathXImageFilter (const Self &)=delete
 
bool globalStatsDetected () const
 
void operator= (const Self &)=delete
 

Private Attributes

std::vector< std::vector
< adhocStruct > > 
m_AImage
 
std::vector< std::string > m_Expression
 
bool m_ManyExpressions
 
std::vector< unsigned int > m_NeighDetected
 
std::vector< RadiusTypem_NeighExtremaSizes
 
std::vector< unsigned int > m_outputsDimensions
 
long m_OverflowCount
 
unsigned int m_SizeNeighbourhood
 
std::vector< int > m_StatsVarDetected
 
itk::Array< long > m_ThreadOverflow
 
itk::Array< long > m_ThreadUnderflow
 
long m_UnderflowCount
 
std::vector< adhocStructm_VAllowedVarNameAddedByUser
 
std::vector< adhocStructm_VAllowedVarNameAuto
 
std::vector< adhocStructm_VFinalAllowedVarName
 
std::vector< adhocStructm_VNotAllowedVarName
 
std::vector< std::vector
< ParserType::Pointer > > 
m_VParser
 
std::vector< adhocStructm_VVarName
 
ImageTypeGetNthInput (DataObjectPointerArraySizeType idx)
 
void SetManyExpressions (bool flag)
 
void SetExpression (const std::string &expression)
 
std::string GetExpression (int) const
 
void SetMatrix (const std::string &name, const std::string &definition)
 
void SetConstant (const std::string &name, double value)
 
void ExportContext (const std::string &filename)
 
void ImportContext (const std::string &filename)
 
std::vector< std::string > GetVarNames () const
 
 ~BandMathXImageFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void GenerateOutputInformation () override
 
void GenerateInputRequestedRegion () override
 
void BeforeThreadedGenerateData () override
 
void ThreadedGenerateData (const ImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
void AfterThreadedGenerateData () override
 
void AddVariable (adhocStruct &)
 
void CheckImageDimensions ()
 
void PrepareParsers ()
 
void PrepareParsersGlobStats ()
 
void OutputsDimensions ()
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TImage, TImage >
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 TImage>
class otb::BandMathXImageFilter< TImage >

Performs mathematical operations on the input images according to the formula specified by the user.

This filter is based on the mathematical parser library muParserX. The built in functions and operators list is available at: http://articles.beltoforion.de/article.php?a=muparserx.

In order to use this filter, at least one input image is to be set. An associated variable name can be specified or not by using the corresponding SetNthInput method. For the jth (j=1..T) input image, if no associated variable name has been specified, a default variable name is given by concatenating the prefix "im" with the corresponding input index plus one (for instance, im1 is related to the first input). If the jth input image is multidimensional, then the variable imj represents a vector whose components are related to its bands. In order to access the kth band, the variable observes the following pattern : imjbk.

See Also
Parser

Definition at line 65 of file otbBandMathXImageFilter.h.

Member Typedef Documentation

template<class TImage >
typedef ImageType::ConstPointer otb::BandMathXImageFilter< TImage >::ConstImagePointer

Definition at line 83 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef itk::SmartPointer< const Self > otb::BandMathXImageFilter< TImage >::ConstPointer

Definition at line 73 of file otbBandMathXImageFilter.h.

Definition at line 94 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ImageType::Pointer otb::BandMathXImageFilter< TImage >::ImagePointer

Definition at line 84 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ImageType::RegionType otb::BandMathXImageFilter< TImage >::ImageRegionType

Definition at line 85 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef TImage otb::BandMathXImageFilter< TImage >::ImageType

Some convenient typedefs.

Definition at line 79 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ImageType::IndexType otb::BandMathXImageFilter< TImage >::IndexType

Definition at line 89 of file otbBandMathXImageFilter.h.

Definition at line 99 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ImageType::PointType otb::BandMathXImageFilter< TImage >::OrigineType

Definition at line 90 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ParserX otb::BandMathXImageFilter< TImage >::ParserType

Definition at line 92 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ImageType::PixelType otb::BandMathXImageFilter< TImage >::PixelType

Definition at line 88 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ImageType::PixelType::ValueType otb::BandMathXImageFilter< TImage >::PixelValueType

Definition at line 87 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef itk::SmartPointer< Self > otb::BandMathXImageFilter< TImage >::Pointer

Definition at line 72 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef itk::ConstNeighborhoodIterator<TImage>::RadiusType otb::BandMathXImageFilter< TImage >::RadiusType

Definition at line 86 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef BandMathXImageFilter< TImage > otb::BandMathXImageFilter< TImage >::Self

Standard class typedefs.

Definition at line 70 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ImageType::SpacingType otb::BandMathXImageFilter< TImage >::SpacingType

Definition at line 91 of file otbBandMathXImageFilter.h.

Definition at line 98 of file otbBandMathXImageFilter.h.

Typedef for statistic computing.

Definition at line 97 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef itk::ImageToImageFilter< TImage , TImage> otb::BandMathXImageFilter< TImage >::Superclass

Definition at line 71 of file otbBandMathXImageFilter.h.

template<class TImage >
typedef ParserType::ValueType otb::BandMathXImageFilter< TImage >::ValueType

Definition at line 93 of file otbBandMathXImageFilter.h.

Constructor & Destructor Documentation

template<class TImage >
otb::BandMathXImageFilter< TImage >::BandMathXImageFilter ( )
protected
template<class TImage >
otb::BandMathXImageFilter< TImage >::~BandMathXImageFilter ( )
overrideprotected

Destructor

Definition at line 78 of file otbBandMathXImageFilter.hxx.

template<class TImage >
otb::BandMathXImageFilter< TImage >::BandMathXImageFilter ( const Self )
privatedelete

Member Function Documentation

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::AddVariable ( adhocStruct ahc)
private

Return a pointer on the nth filter input

Definition at line 541 of file otbBandMathXImageFilter.hxx.

References otb::BandMathXImageFilter< TImage >::adhocStruct::name.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::AfterThreadedGenerateData ( void  )
overrideprotectedvirtual

Return a pointer on the nth filter input

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 1012 of file otbBandMathXImageFilter.hxx.

References otbWarningMacro.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::BeforeThreadedGenerateData ( void  )
overrideprotectedvirtual

Return a pointer on the nth filter input

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 997 of file otbBandMathXImageFilter.hxx.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::CheckImageDimensions ( void  )
private

Return a pointer on the nth filter input

Definition at line 886 of file otbBandMathXImageFilter.hxx.

template<class TImage >
virtual::itk::LightObject::Pointer otb::BandMathXImageFilter< TImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::ExportContext ( const std::string &  filename)

Export constants and expressions to a given filename

Definition at line 346 of file otbBandMathXImageFilter.hxx.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::GenerateInputRequestedRegion ( void  )
overrideprotectedvirtual
template<typename TImage >
void otb::BandMathXImageFilter< TImage >::GenerateOutputInformation ( void  )
overrideprotectedvirtual

Return a pointer on the nth filter input

Reimplemented from itk::ProcessObject.

Definition at line 910 of file otbBandMathXImageFilter.hxx.

References itk::DataObjectIterator::IsAtEnd().

template<typename TImage >
std::string otb::BandMathXImageFilter< TImage >::GetExpression ( int  IDExpression) const

Return the nth expression to be parsed

Definition at line 521 of file otbBandMathXImageFilter.hxx.

template<class TImage >
virtual const char* otb::BandMathXImageFilter< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

template<typename TImage >
TImage * otb::BandMathXImageFilter< TImage >::GetNthInput ( DataObjectPointerArraySizeType  idx)

Return a pointer on the nth filter input

Definition at line 222 of file otbBandMathXImageFilter.hxx.

template<typename TImage >
std::vector< std::string > otb::BandMathXImageFilter< TImage >::GetVarNames ( ) const

Return the variable and constant names

Definition at line 529 of file otbBandMathXImageFilter.hxx.

template<class TImage >
bool otb::BandMathXImageFilter< TImage >::globalStatsDetected ( ) const
inlineprivate

Definition at line 149 of file otbBandMathXImageFilter.h.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::ImportContext ( const std::string &  filename)

Import constants and expressions from a given filename

Definition at line 418 of file otbBandMathXImageFilter.hxx.

template<class TImage >
static Pointer otb::BandMathXImageFilter< TImage >::New ( )
static

Method for creation through the object factory.

template<class TImage >
void otb::BandMathXImageFilter< TImage >::operator= ( const Self )
privatedelete
template<typename TImage >
void otb::BandMathXImageFilter< TImage >::OutputsDimensions ( )
private

Return a pointer on the nth filter input

Definition at line 835 of file otbBandMathXImageFilter.hxx.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::PrepareParsers ( )
private

Return a pointer on the nth filter input

Definition at line 556 of file otbBandMathXImageFilter.hxx.

References otb::BandMathXImageFilter< TImage >::adhocStruct::name, and type.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::PrepareParsersGlobStats ( )
private

Return a pointer on the nth filter input

Definition at line 761 of file otbBandMathXImageFilter.hxx.

References type.

template<class TImage >
void otb::BandMathXImageFilter< TImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

Return a pointer on the nth filter input

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

Definition at line 101 of file otbBandMathXImageFilter.hxx.

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

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::SetConstant ( const std::string &  name,
double  value 
)
template<typename TImage >
void otb::BandMathXImageFilter< TImage >::SetExpression ( const std::string &  expression)

Set an expression to be parsed

Definition at line 236 of file otbBandMathXImageFilter.hxx.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::SetManyExpressions ( bool  flag)

Set an expression to be parsed

Definition at line 229 of file otbBandMathXImageFilter.hxx.

template<typename TImage >
void otb::BandMathXImageFilter< TImage >::SetMatrix ( const std::string &  name,
const std::string &  definition 
)
template<class TImage >
void otb::BandMathXImageFilter< TImage >::SetNthInput ( DataObjectPointerArraySizeType  idx,
const ImageType image 
)

Definition at line 119 of file otbBandMathXImageFilter.hxx.

template<class TImage >
void otb::BandMathXImageFilter< TImage >::SetNthInput ( DataObjectPointerArraySizeType  idx,
const ImageType image,
const std::string &  varName 
)
template<typename TImage >
void otb::BandMathXImageFilter< TImage >::ThreadedGenerateData ( const ImageRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Return a pointer on the nth filter input

Definition at line 1045 of file otbBandMathXImageFilter.hxx.

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

Member Data Documentation

template<class TImage >
std::vector< std::vector<adhocStruct> > otb::BandMathXImageFilter< TImage >::m_AImage
private

Definition at line 173 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector<std::string> otb::BandMathXImageFilter< TImage >::m_Expression
private

Definition at line 171 of file otbBandMathXImageFilter.h.

template<class TImage >
bool otb::BandMathXImageFilter< TImage >::m_ManyExpressions
private

Definition at line 193 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< unsigned int > otb::BandMathXImageFilter< TImage >::m_NeighDetected
private

Definition at line 185 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< RadiusType > otb::BandMathXImageFilter< TImage >::m_NeighExtremaSizes
private

Definition at line 186 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< unsigned int > otb::BandMathXImageFilter< TImage >::m_outputsDimensions
private

Definition at line 179 of file otbBandMathXImageFilter.h.

template<class TImage >
long otb::BandMathXImageFilter< TImage >::m_OverflowCount
private

Definition at line 189 of file otbBandMathXImageFilter.h.

template<class TImage >
unsigned int otb::BandMathXImageFilter< TImage >::m_SizeNeighbourhood
private

Definition at line 181 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< int > otb::BandMathXImageFilter< TImage >::m_StatsVarDetected
private

Definition at line 183 of file otbBandMathXImageFilter.h.

template<class TImage >
itk::Array<long> otb::BandMathXImageFilter< TImage >::m_ThreadOverflow
private

Definition at line 191 of file otbBandMathXImageFilter.h.

template<class TImage >
itk::Array<long> otb::BandMathXImageFilter< TImage >::m_ThreadUnderflow
private

Definition at line 190 of file otbBandMathXImageFilter.h.

template<class TImage >
long otb::BandMathXImageFilter< TImage >::m_UnderflowCount
private

Definition at line 188 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< adhocStruct > otb::BandMathXImageFilter< TImage >::m_VAllowedVarNameAddedByUser
private

Definition at line 176 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< adhocStruct > otb::BandMathXImageFilter< TImage >::m_VAllowedVarNameAuto
private

Definition at line 175 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< adhocStruct > otb::BandMathXImageFilter< TImage >::m_VFinalAllowedVarName
private

Definition at line 177 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< adhocStruct > otb::BandMathXImageFilter< TImage >::m_VNotAllowedVarName
private

Definition at line 178 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< std::vector<ParserType::Pointer> > otb::BandMathXImageFilter< TImage >::m_VParser
private

Definition at line 172 of file otbBandMathXImageFilter.h.

template<class TImage >
std::vector< adhocStruct > otb::BandMathXImageFilter< TImage >::m_VVarName
private

Definition at line 174 of file otbBandMathXImageFilter.h.


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