OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
otb::BandMathImageFilter< TImage > Class Template Reference

#include <otbBandMathImageFilter.h>

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

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef ImageType::ConstPointer ImagePointer
 
typedef ImageType::RegionType ImageRegionType
 
typedef TImage ImageType
 
typedef ImageType::IndexType IndexType
 
typedef ImageType::PointType OrigineType
 
typedef Parser ParserType
 
typedef ImageType::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef BandMathImageFilter
< TImage > 
Self
 
typedef ImageType::SpacingType SpacingType
 
typedef
itk::InPlaceImageFilter
< TImage > 
Superclass
 
- Public Types inherited from itk::InPlaceImageFilter< 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::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef InPlaceImageFilter Self
 
typedef ImageToImageFilter
< TImage, TOutputImage > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
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< TOutputImage > 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::InPlaceImageFilter< TImage >
virtual bool CanRunInPlace () const
 
virtual bool GetInPlace () const
 
virtual void InPlaceOff ()
 
virtual void InPlaceOn ()
 
virtual void SetInPlace (bool _arg)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput (void) const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
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)
 
const OutputImageTypeGetOutput (void) const
 
OutputImageTypeGetOutput (void)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_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 DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
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 (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 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 ()
 

Private Member Functions

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

Private Attributes

std::vector< std::vector
< double > > 
m_AImage
 
std::string m_Expression
 
unsigned int m_NbVar
 
OrigineType m_Origin
 
long m_OverflowCount
 
SpacingType m_Spacing
 
itk::Array< long > m_ThreadOverflow
 
itk::Array< long > m_ThreadUnderflow
 
long m_UnderflowCount
 
std::vector< ParserType::Pointerm_VParser
 
std::vector< std::string > m_VVarName
 
void SetNthInputName (DataObjectPointerArraySizeType idx, const std::string &expression)
 
void SetExpression (const std::string &expression)
 
std::string GetExpression () const
 
std::string GetNthInputName (DataObjectPointerArraySizeType idx) const
 
ImageTypeGetNthInput (DataObjectPointerArraySizeType idx)
 
 BandMathImageFilter ()
 
virtual ~BandMathImageFilter ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
void BeforeThreadedGenerateData ()
 
void ThreadedGenerateData (const ImageRegionType &outputRegionForThread, itk::ThreadIdType threadId)
 
void AfterThreadedGenerateData ()
 

Additional Inherited Members

- Static Public Attributes inherited from itk::InPlaceImageFilter< TImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
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< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< TImage >
virtual void AllocateOutputs ()
 
virtual bool GetRunningInPlace () const
 
 InPlaceImageFilter ()
 
virtual void ReleaseInputs ()
 
 ~InPlaceImageFilter ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void GenerateInputRequestedRegion ()
 
 ImageToImageFilter ()
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
virtual void VerifyInputInformation ()
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void GenerateData () ITK_OVERRIDE
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) 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 &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
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
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
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 ()
 
- 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
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<class TImage>
class otb::BandMathImageFilter< TImage >

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

This filter is based on the mathematical parser library muParser. The built in functions and operators list is available at: http://muparser.sourceforge.net/mup_features.html#idDef2

OTB additional functions: ndvi(r, niri)

OTB additional constants: e - log2e - log10e - ln2 - ln10 - pi - euler

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 nth input image, if no associated variable name has been spefified, a default variable name is given by concatenating the letter "b" (for band) and the corresponding input index. Next step is to set the expression according to the variable names. For example, in the default case with three input images the following expression is valid : "ndvi(b1, b2)*b3"

As an additional functionality, the filter also granted access to indexes information under special virtual bands named idxX, idxY for the images indexes and idxPhyX, idxPhyY for the physical indexes. It allows the user to perform, for example a spatial processing aiming to suppress a determined area : "if(sqrt((idxPhyX-105.3)*(idxPhyX-105.3)+ (idxPhyY-207.1)*(idxPhyY-207.1))>100, b1, 0)" This expression replace the physical zone around the point of physical index (105.3; 207.1) by a black area This functionality assumes that all the band involved have the same spacing and origin.

See Also
Parser

Definition at line 81 of file otbBandMathImageFilter.h.

Member Typedef Documentation

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

Definition at line 89 of file otbBandMathImageFilter.h.

Definition at line 106 of file otbBandMathImageFilter.h.

template<class TImage >
typedef ImageType::ConstPointer otb::BandMathImageFilter< TImage >::ImagePointer

Definition at line 99 of file otbBandMathImageFilter.h.

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

Definition at line 100 of file otbBandMathImageFilter.h.

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

Some convenient typedefs.

Definition at line 95 of file otbBandMathImageFilter.h.

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

Definition at line 102 of file otbBandMathImageFilter.h.

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

Definition at line 103 of file otbBandMathImageFilter.h.

template<class TImage >
typedef Parser otb::BandMathImageFilter< TImage >::ParserType

Definition at line 105 of file otbBandMathImageFilter.h.

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

Definition at line 101 of file otbBandMathImageFilter.h.

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

Definition at line 88 of file otbBandMathImageFilter.h.

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

Standard class typedefs.

Definition at line 86 of file otbBandMathImageFilter.h.

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

Definition at line 104 of file otbBandMathImageFilter.h.

template<class TImage >
typedef itk::InPlaceImageFilter< TImage > otb::BandMathImageFilter< TImage >::Superclass

Definition at line 87 of file otbBandMathImageFilter.h.

Constructor & Destructor Documentation

template<class TImage >
otb::BandMathImageFilter< TImage >::BandMathImageFilter ( )
protected

Constructor

Definition at line 40 of file otbBandMathImageFilter.txx.

template<class TImage >
otb::BandMathImageFilter< TImage >::~BandMathImageFilter ( )
protectedvirtual

Destructor

Definition at line 57 of file otbBandMathImageFilter.txx.

template<class TImage >
otb::BandMathImageFilter< TImage >::BandMathImageFilter ( const Self )
private

Member Function Documentation

template<typename TImage >
void otb::BandMathImageFilter< TImage >::AfterThreadedGenerateData ( void  )
protectedvirtual

Change the nth filter input associated variable name

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 222 of file otbBandMathImageFilter.txx.

References otbWarningMacro.

template<typename TImage >
void otb::BandMathImageFilter< TImage >::BeforeThreadedGenerateData ( void  )
protectedvirtual

Change the nth filter input associated variable name

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 147 of file otbBandMathImageFilter.txx.

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

Reimplemented from itk::Object.

template<typename TImage >
std::string otb::BandMathImageFilter< TImage >::GetExpression ( ) const

Return the expression to be parsed

Definition at line 133 of file otbBandMathImageFilter.txx.

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

Run-time type information (and related methods).

Reimplemented from itk::InPlaceImageFilter< TImage >.

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

Return a pointer on the nth filter input

Definition at line 117 of file otbBandMathImageFilter.txx.

template<typename TImage >
std::string otb::BandMathImageFilter< TImage >::GetNthInputName ( DataObjectPointerArraySizeType  idx) const

Return the nth filter input associated variable name

Definition at line 140 of file otbBandMathImageFilter.txx.

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

Method for creation through the object factory.

template<class TImage >
void otb::BandMathImageFilter< TImage >::operator= ( const Self )
private
template<class TImage >
void otb::BandMathImageFilter< TImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Change the nth filter input associated variable name

Reimplemented from itk::InPlaceImageFilter< TImage >.

Definition at line 63 of file otbBandMathImageFilter.txx.

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

template<typename TImage >
void otb::BandMathImageFilter< TImage >::SetExpression ( const std::string &  expression)

Set the expression to be parsed

Definition at line 124 of file otbBandMathImageFilter.txx.

template<class TImage >
void otb::BandMathImageFilter< TImage >::SetNthInput ( DataObjectPointerArraySizeType  idx,
const ImageType image 
)

Definition at line 79 of file otbBandMathImageFilter.txx.

template<class TImage >
void otb::BandMathImageFilter< TImage >::SetNthInput ( DataObjectPointerArraySizeType  idx,
const ImageType image,
const std::string &  varName 
)

Definition at line 96 of file otbBandMathImageFilter.txx.

template<class TImage >
void otb::BandMathImageFilter< TImage >::SetNthInputName ( DataObjectPointerArraySizeType  idx,
const std::string &  expression 
)

Change the nth filter input associated variable name

Definition at line 110 of file otbBandMathImageFilter.txx.

template<typename TImage >
void otb::BandMathImageFilter< TImage >::ThreadedGenerateData ( const ImageRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
protected

Change the nth filter input associated variable name

Definition at line 249 of file otbBandMathImageFilter.txx.

References itk::ImageRegionIterator< TImage >::Set().

Member Data Documentation

template<class TImage >
std::vector< std::vector<double> > otb::BandMathImageFilter< TImage >::m_AImage
private

Definition at line 144 of file otbBandMathImageFilter.h.

template<class TImage >
std::string otb::BandMathImageFilter< TImage >::m_Expression
private

Definition at line 142 of file otbBandMathImageFilter.h.

template<class TImage >
unsigned int otb::BandMathImageFilter< TImage >::m_NbVar
private

Definition at line 146 of file otbBandMathImageFilter.h.

template<class TImage >
OrigineType otb::BandMathImageFilter< TImage >::m_Origin
private

Definition at line 149 of file otbBandMathImageFilter.h.

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

Definition at line 152 of file otbBandMathImageFilter.h.

template<class TImage >
SpacingType otb::BandMathImageFilter< TImage >::m_Spacing
private

Definition at line 148 of file otbBandMathImageFilter.h.

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

Definition at line 154 of file otbBandMathImageFilter.h.

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

Definition at line 153 of file otbBandMathImageFilter.h.

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

Definition at line 151 of file otbBandMathImageFilter.h.

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

Definition at line 143 of file otbBandMathImageFilter.h.

template<class TImage >
std::vector< std::string > otb::BandMathImageFilter< TImage >::m_VVarName
private

Definition at line 145 of file otbBandMathImageFilter.h.


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