OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage > Class Template Reference

#include <otbScalarImageToTexturesFilter.h>

+ Inheritance diagram for otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >:
+ Collaboration diagram for otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
CooccurrenceIndexedListType::ConstPointer 
CooccurrenceIndexedListConstPointerType
 
typedef
CooccurrenceIndexedListType::Pointer 
CooccurrenceIndexedListPointerType
 
typedef
GreyLevelCooccurrenceIndexedList
< InputPixelType
CooccurrenceIndexedListType
 
typedef
CooccurrenceIndexedListType::IndexType 
CooccurrenceIndexType
 
typedef InputImageType::Pointer InputImagePointerType
 
typedef TInpuImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef InputImageType::RegionType InputRegionType
 
typedef InputImageType::OffsetType OffsetType
 
typedef OutputImageType::Pointer OutputImagePointerType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::RegionType OutputRegionType
 
typedef
CooccurrenceIndexedListType::PixelValueType 
PixelValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
CooccurrenceIndexedListType::RelativeFrequencyType 
RelativeFrequencyType
 
typedef ScalarImageToTexturesFilter Self
 
typedef InputRegionType::SizeType SizeType
 
typedef
itk::ImageToImageFilter
< TInpuImage, TOutputImage > 
Superclass
 
typedef VectorType::const_iterator VectorConstIteratorType
 
typedef VectorType::iterator VectorIteratorType
 
typedef
CooccurrenceIndexedListType::VectorType 
VectorType
 
- Public Types inherited from itk::ImageToImageFilter< TInpuImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInpuImage 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
 
OutputImageTypeGetClusterProminenceOutput ()
 
OutputImageTypeGetClusterShadeOutput ()
 
OutputImageTypeGetCorrelationOutput ()
 
OutputImageTypeGetEnergyOutput ()
 
OutputImageTypeGetEntropyOutput ()
 
OutputImageTypeGetHaralickCorrelationOutput ()
 
OutputImageTypeGetInertiaOutput ()
 
virtual InputPixelType GetInputImageMaximum ()
 
virtual InputPixelType GetInputImageMinimum ()
 
OutputImageTypeGetInverseDifferenceMomentOutput ()
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfBinsPerAxis ()
 
virtual OffsetType GetOffset ()
 
virtual SizeType GetRadius ()
 
virtual void SetInputImageMaximum (InputPixelType _arg)
 
virtual void SetInputImageMinimum (InputPixelType _arg)
 
virtual void SetNumberOfBinsPerAxis (unsigned int _arg)
 
virtual void SetOffset (OffsetType _arg)
 
virtual void SetRadius (SizeType _arg)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInpuImage, 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 TInpuImage *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 ()
 

Protected Member Functions

virtual void BeforeThreadedGenerateData ()
 
virtual void GenerateInputRequestedRegion ()
 
 ScalarImageToTexturesFilter ()
 
virtual void ThreadedGenerateData (const OutputRegionType &outputRegion, itk::ThreadIdType threadId)
 
 ~ScalarImageToTexturesFilter ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInpuImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
virtual void VerifyInputInformation ()
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
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 ~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 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

double GetPixelValueTolerance () const
 
void operator= (const Self &)
 
 ScalarImageToTexturesFilter (const Self &)
 

Static Private Member Functions

static OutputRegionType RegionUnion (const OutputRegionType &region1, const OutputRegionType &region2)
 

Private Attributes

InputPixelType m_InputImageMaximum
 
InputPixelType m_InputImageMinimum
 
SizeType m_NeighborhoodRadius
 
unsigned int m_NumberOfBinsPerAxis
 
OffsetType m_Offset
 
SizeType m_Radius
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageToImageFilter< TInpuImage, 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< TInpuImage, 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
 
- 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 TInpuImage, class TOutputImage>
class otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >

This class compute 8 local Haralick textures features. The 8 output image channels are: Energy, Entropy, Correlation, Inverse Difference Moment, Inertia, Cluster Shade, Cluster Prominence and Haralick Correlation. They are provided in this exact order in the output image. Thus, this application computes the following Haralick textures over a neighborhood with user defined radius.

Print references:

Haralick, R.M., K. Shanmugam and I. Dinstein. 1973. Textural Features for Image Classification. IEEE Transactions on Systems, Man and Cybernetics. SMC-3(6):610-620.

David A. Clausi and Yongping Zhao. 2002. Rapid extraction of image texture by co-occurrence using a hybrid data structure. Comput. Geosci. 28, 6 (July 2002), 763-774. DOI=10.1016/S0098-3004(01)00108-X http://dx.doi.org/10.1016/S0098-3004(01)00108-X

de O.Bastos, L.; Liatsis, P.; Conci, A., Automatic texture segmentation based on k-means clustering and efficient calculation of co-occurrence features. Systems, Signals and Image Processing, 2008. IWSSIP 2008. 15th International Conference on , vol., no., pp.141,144, 25-28 June 2008 doi: 10.1109/IWSSIP.2008.4604387

Neighborhood size can be set using the SetRadius() method. Offset for co-occurence estimation is set using the SetOffset() method.

See Also
otb::GreyLevelCooccurrenceIndexedList
otb::ScalarImageToAdvancedTexturesFiler
otb::ScalarImageToHigherOrderTexturesFilter

To improve the speed of computation, a variant of Grey Level Co-occurrence Matrix(GLCM) called Grey Level Co-occurrence Indexed List (GLCIL) is used. Given below is the mathematical explanation on the computation of each textures. Here $ g(i, j) $ is the frequency of element in the GLCIL whose index is i, j. GLCIL stores a pair of frequency of two pixels from the given offset and the cell index (i, j) of the pixel in the neighborhood window. :(where each element in GLCIL is a pair of pixel index and it's frequency, $ g(i, j) $ is the frequency value of the pair having index is i, j).

"Energy" $ = f_1 = \sum_{i, j}g(i, j)^2 $

"Entropy" $ = f_2 = -\sum_{i, j}g(i, j) \log_2 g(i, j)$, or 0 if $g(i, j) = 0$

"Correlation" $ = f_3 = \sum_{i, j}\frac{(i - \mu)(j - \mu)g(i, j)}{\sigma^2} $

"Difference Moment" $= f_4 = \sum_{i, j}\frac{1}{1 + (i - j)^2}g(i, j) $

"Inertia" $ = f_5 = \sum_{i, j}(i - j)^2g(i, j) $ (sometimes called "contrast")

"Cluster Shade" $ = f_6 = \sum_{i, j}((i - \mu) + (j - \mu))^3 g(i, j) $

"Cluster Prominence" $ = f_7 = \sum_{i, j}((i - \mu) + (j - \mu))^4 g(i, j) $

"Haralick's Correlation" $ = f_8 = \frac{\sum_{i, j}(i, j) g(i, j) -\mu_t^2}{\sigma_t^2} $ where $\mu_t$ and $\sigma_t$ are the mean and standard deviation of the row (or column, due to symmetry) sums.

Above, $ \mu = $ (weighted pixel average) $ = \sum_{i, j}i \cdot g(i, j) = \sum_{i, j}j \cdot g(i, j) $ (due to matrix summetry), and

$ \sigma = $ (weighted pixel variance) $ = \sum_{i, j}(i - \mu)^2 \cdot g(i, j) = \sum_{i, j}(j - \mu)^2 \cdot g(i, j) $ (due to matrix summetry)

Definition at line 102 of file otbScalarImageToTexturesFilter.h.

Member Typedef Documentation

template<class TInpuImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::ConstPointer

Definition at line 110 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef CooccurrenceIndexedListType::ConstPointer otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::CooccurrenceIndexedListConstPointerType

Definition at line 132 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef CooccurrenceIndexedListType::Pointer otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::CooccurrenceIndexedListPointerType

Definition at line 131 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef GreyLevelCooccurrenceIndexedList< InputPixelType > otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::CooccurrenceIndexedListType

Definition at line 130 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef CooccurrenceIndexedListType::IndexType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::CooccurrenceIndexType

Definition at line 133 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef InputImageType::Pointer otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::InputImagePointerType

Definition at line 120 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef TInpuImage otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::InputImageType

Template class typedefs

Definition at line 116 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef InputImageType::PixelType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::InputPixelType

Definition at line 121 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef InputImageType::RegionType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::InputRegionType

Definition at line 122 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef InputImageType::OffsetType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::OffsetType

Definition at line 124 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef OutputImageType::Pointer otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::OutputImagePointerType

Definition at line 127 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef TOutputImage otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::OutputImageType

Definition at line 126 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef OutputImageType::RegionType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::OutputRegionType

Definition at line 128 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef CooccurrenceIndexedListType::PixelValueType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::PixelValueType

Definition at line 134 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::Pointer

Definition at line 109 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef CooccurrenceIndexedListType::RelativeFrequencyType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::RelativeFrequencyType

Definition at line 135 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef ScalarImageToTexturesFilter otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::Self

Standard class typedefs

Definition at line 107 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef InputRegionType::SizeType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::SizeType

Definition at line 123 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef itk::ImageToImageFilter<TInpuImage, TOutputImage> otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::Superclass

Definition at line 108 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef VectorType::const_iterator otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::VectorConstIteratorType

Definition at line 139 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef VectorType::iterator otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::VectorIteratorType

Definition at line 138 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
typedef CooccurrenceIndexedListType::VectorType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::VectorType

Definition at line 136 of file otbScalarImageToTexturesFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::ScalarImageToTexturesFilter ( )
protected

Constructor

Definition at line 35 of file otbScalarImageToTexturesFilter.txx.

template<class TInputImage , class TOutputImage >
otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::~ScalarImageToTexturesFilter ( )
protected

Destructor

Definition at line 59 of file otbScalarImageToTexturesFilter.txx.

template<class TInpuImage , class TOutputImage >
otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::ScalarImageToTexturesFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage >
void otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( void  )
protectedvirtual

Before Parallel textures extraction

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 229 of file otbScalarImageToTexturesFilter.txx.

template<class TInpuImage , class TOutputImage >
virtual::itk::LightObject::Pointer otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputImage , class TOutputImage >
void otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( void  )
protectedvirtual
template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetClusterProminenceOutput ( )

Get the cluster prominence image

Definition at line 144 of file otbScalarImageToTexturesFilter.txx.

template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetClusterShadeOutput ( )

Get the cluster shade output image

Definition at line 131 of file otbScalarImageToTexturesFilter.txx.

template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetCorrelationOutput ( )

Get the correlation output image

Definition at line 92 of file otbScalarImageToTexturesFilter.txx.

template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetEnergyOutput ( )

Get the energy output image

Definition at line 66 of file otbScalarImageToTexturesFilter.txx.

template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetEntropyOutput ( )

Get the entropy output image

Definition at line 79 of file otbScalarImageToTexturesFilter.txx.

template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetHaralickCorrelationOutput ( )

Get the Haralick correlation output image

Definition at line 157 of file otbScalarImageToTexturesFilter.txx.

template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetInertiaOutput ( )

Get the inertia output image

Definition at line 118 of file otbScalarImageToTexturesFilter.txx.

template<class TInpuImage , class TOutputImage >
virtual InputPixelType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::GetInputImageMaximum ( )
virtual

Get the input image maximum

template<class TInpuImage , class TOutputImage >
virtual InputPixelType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::GetInputImageMinimum ( )
virtual

Get the input image minimum

template<class TInputImage , class TOutputImage >
ScalarImageToTexturesFilter< TInputImage, TOutputImage >::OutputImageType * otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::GetInverseDifferenceMomentOutput ( )

Get the inverse difference moment output image

Definition at line 105 of file otbScalarImageToTexturesFilter.txx.

template<class TInpuImage , class TOutputImage >
virtual const char* otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::GetNameOfClass ( ) const
virtual
template<class TInpuImage , class TOutputImage >
virtual unsigned int otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::GetNumberOfBinsPerAxis ( )
virtual

Get the number of bin per axis

template<class TInpuImage , class TOutputImage >
virtual OffsetType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::GetOffset ( )
virtual

Get the offset for co-occurence computation

template<class TInpuImage , class TOutputImage >
double otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::GetPixelValueTolerance ( ) const
inlineprivate

Definition at line 237 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
virtual SizeType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::GetRadius ( )
virtual

Get the radius of the window on which textures will be computed

template<class TInpuImage , class TOutputImage >
static Pointer otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::New ( )
static

Creation through the object factory

template<class TInpuImage , class TOutputImage >
void otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::operator= ( const Self )
private
template<class TInpuImage , class TOutputImage >
static OutputRegionType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::RegionUnion ( const OutputRegionType region1,
const OutputRegionType region2 
)
staticprivate

Convenient method to compute union of 2 regions

template<class TInpuImage , class TOutputImage >
virtual void otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::SetInputImageMaximum ( InputPixelType  _arg)
virtual

Set the input image maximum

template<class TInpuImage , class TOutputImage >
virtual void otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::SetInputImageMinimum ( InputPixelType  _arg)
virtual

Set the input image minimum

template<class TInpuImage , class TOutputImage >
virtual void otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::SetNumberOfBinsPerAxis ( unsigned int  _arg)
virtual

Set the number of bin per axis

template<class TInpuImage , class TOutputImage >
virtual void otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::SetOffset ( OffsetType  _arg)
virtual

Set the offset for co-occurence computation

template<class TInpuImage , class TOutputImage >
virtual void otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::SetRadius ( SizeType  _arg)
virtual

Set the radius of the window on which textures will be computed

template<class TInputImage , class TOutputImage >
void otb::ScalarImageToTexturesFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const OutputRegionType outputRegion,
itk::ThreadIdType  threadId 
)
protectedvirtual

Member Data Documentation

template<class TInpuImage , class TOutputImage >
InputPixelType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::m_InputImageMaximum
private

Input image maximum

Definition at line 234 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
InputPixelType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::m_InputImageMinimum
private

Input image minimum

Definition at line 231 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
SizeType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::m_NeighborhoodRadius
private

Radius of the neighborhood iterator which is minumum of m_Radius

Definition at line 225 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
unsigned int otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::m_NumberOfBinsPerAxis
private

Number of bins per axis

Definition at line 228 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
OffsetType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::m_Offset
private

Offset for co-occurence

Definition at line 222 of file otbScalarImageToTexturesFilter.h.

template<class TInpuImage , class TOutputImage >
SizeType otb::ScalarImageToTexturesFilter< TInpuImage, TOutputImage >::m_Radius
private

Radius of the window on which to compute textures

Definition at line 219 of file otbScalarImageToTexturesFilter.h.


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