OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
otb::BinaryImageDensityFunction< TInputImage, TCoordRep > Class Template Reference

#include <otbBinaryImageDensityFunction.h>

+ Inheritance diagram for otb::BinaryImageDensityFunction< TInputImage, TCoordRep >:
+ Collaboration diagram for otb::BinaryImageDensityFunction< TInputImage, TCoordRep >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ContinuousIndexType ContinuousIndexType
 
typedef Superclass::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef Superclass::OutputType OutputType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef InputImageType::SizeType RadiusType
 
typedef itk::NumericTraits< typename InputImageType::PixelType >::RealType RealType
 
typedef BinaryImageDensityFunction Self
 
typedef itk::ImageFunction< TInputImage, typename itk::NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
RealType EvaluateAtIndex (const IndexType &index) const override
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = InputImageType::ImageDimension
 
RadiusType m_NeighborhoodRadius
 
RealType Evaluate (const PointType &point) const override
 
RealType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const override
 
virtual void SetNeighborhoodRadius (RadiusType _arg)
 
virtual const RadiusTypeGetNeighborhoodRadius () const
 
void SetNeighborhoodRadius (unsigned int rad)
 
 BinaryImageDensityFunction ()
 
 ~BinaryImageDensityFunction () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 BinaryImageDensityFunction (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputImage, class TCoordRep = float>
class otb::BinaryImageDensityFunction< TInputImage, TCoordRep >

Calculate the density pixel of in the neighborhood of a pixel.

Calculate the variance pixel value over the standard 8, 26, etc. connected neighborhood. This calculation uses a ZeroFluxNeumannBoundaryCondition.

If called with a ContinuousIndex or Point, the calculation is performed at the nearest neighbor.

This class is templated over the input image type and the coordinate representation type (e.g. float or double ).

Definition at line 48 of file otbBinaryImageDensityFunction.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TCoordRep = float>
typedef itk::SmartPointer<const Self> otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::ConstPointer

Definition at line 57 of file otbBinaryImageDensityFunction.h.

◆ ContinuousIndexType

template<class TInputImage , class TCoordRep = float>
typedef Superclass::ContinuousIndexType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::ContinuousIndexType

Definition at line 70 of file otbBinaryImageDensityFunction.h.

◆ IndexType

template<class TInputImage , class TCoordRep = float>
typedef Superclass::IndexType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::IndexType

Definition at line 69 of file otbBinaryImageDensityFunction.h.

◆ InputImageType

template<class TInputImage , class TCoordRep = float>
typedef TInputImage otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::InputImageType

InputImageType typedef support.

Definition at line 63 of file otbBinaryImageDensityFunction.h.

◆ OutputType

template<class TInputImage , class TCoordRep = float>
typedef Superclass::OutputType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::OutputType

Definition at line 68 of file otbBinaryImageDensityFunction.h.

◆ Pointer

template<class TInputImage , class TCoordRep = float>
typedef itk::SmartPointer<Self> otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::Pointer

Definition at line 56 of file otbBinaryImageDensityFunction.h.

◆ PointType

template<class TInputImage , class TCoordRep = float>
typedef Superclass::PointType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::PointType

Definition at line 71 of file otbBinaryImageDensityFunction.h.

◆ RadiusType

template<class TInputImage , class TCoordRep = float>
typedef InputImageType::SizeType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::RadiusType

Definition at line 67 of file otbBinaryImageDensityFunction.h.

◆ RealType

template<class TInputImage , class TCoordRep = float>
typedef itk::NumericTraits<typename InputImageType::PixelType>::RealType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::RealType

Datatype used for the density

Definition at line 76 of file otbBinaryImageDensityFunction.h.

◆ Self

template<class TInputImage , class TCoordRep = float>
typedef BinaryImageDensityFunction otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::Self

Standard class typedefs.

Definition at line 54 of file otbBinaryImageDensityFunction.h.

◆ Superclass

template<class TInputImage , class TCoordRep = float>
typedef itk::ImageFunction<TInputImage, typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, TCoordRep> otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::Superclass

Definition at line 55 of file otbBinaryImageDensityFunction.h.

Constructor & Destructor Documentation

◆ BinaryImageDensityFunction() [1/2]

template<class TInputImage , class TCoordRep >
otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::BinaryImageDensityFunction
protected

Constructor

Definition at line 36 of file otbBinaryImageDensityFunction.hxx.

◆ ~BinaryImageDensityFunction()

template<class TInputImage , class TCoordRep = float>
otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::~BinaryImageDensityFunction ( )
inlineoverrideprotected

Evaluate the function at non-integer positions

Definition at line 109 of file otbBinaryImageDensityFunction.h.

◆ BinaryImageDensityFunction() [2/2]

template<class TInputImage , class TCoordRep = float>
otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::BinaryImageDensityFunction ( const Self )
privatedelete

Evaluate the function at non-integer positions

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TCoordRep = float>
virtual::itk::LightObject::Pointer otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::CreateAnother ( void  ) const

◆ Evaluate()

template<class TInputImage , class TCoordRep = float>
RealType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point) const
inlineoverride

Evaluate the function at non-integer positions

Definition at line 82 of file otbBinaryImageDensityFunction.h.

◆ EvaluateAtContinuousIndex()

template<class TInputImage , class TCoordRep = float>
RealType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType cindex) const
inlineoverride

Evaluate the function at non-integer positions

Definition at line 88 of file otbBinaryImageDensityFunction.h.

◆ EvaluateAtIndex()

template<class TInputImage , class TCoordRep >
BinaryImageDensityFunction< TInputImage, TCoordRep >::RealType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType index) const
override

Evalulate the function at specified index

Definition at line 57 of file otbBinaryImageDensityFunction.hxx.

◆ GetNameOfClass()

template<class TInputImage , class TCoordRep = float>
virtual const char* otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetNeighborhoodRadius()

template<class TInputImage , class TCoordRep = float>
virtual const RadiusType& otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::GetNeighborhoodRadius ( ) const
virtual

Evaluate the function at non-integer positions

◆ New()

template<class TInputImage , class TCoordRep = float>
static Pointer otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage , class TCoordRep = float>
void otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::operator= ( const Self )
privatedelete

Evaluate the function at non-integer positions

◆ PrintSelf()

template<class TInputImage , class TCoordRep >
void otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

Evaluate the function at non-integer positions

Definition at line 45 of file otbBinaryImageDensityFunction.hxx.

◆ SetNeighborhoodRadius() [1/2]

template<class TInputImage , class TCoordRep = float>
virtual void otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::SetNeighborhoodRadius ( RadiusType  _arg)
virtual

Get/Set the radius of the neighborhood over which the statistics are evaluated

◆ SetNeighborhoodRadius() [2/2]

template<class TInputImage , class TCoordRep = float>
void otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::SetNeighborhoodRadius ( unsigned int  rad)
inline

Evaluate the function at non-integer positions

Definition at line 100 of file otbBinaryImageDensityFunction.h.

Member Data Documentation

◆ ImageDimension

template<class TInputImage , class TCoordRep = float>
const unsigned int otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::ImageDimension = InputImageType::ImageDimension
static

Definition at line 73 of file otbBinaryImageDensityFunction.h.

◆ m_NeighborhoodRadius

template<class TInputImage , class TCoordRep = float>
RadiusType otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::m_NeighborhoodRadius
private

Evaluate the function at non-integer positions

Definition at line 118 of file otbBinaryImageDensityFunction.h.


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