OTB  7.3.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members

#include <otbTerraSarBrightnessImageFilter.h>

+ Inheritance diagram for otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Functor::TerraSarBrightnessFunctor< InputValueType, OutputValueTypeFunctorType
 
typedef TInputImage InputImageType
 
typedef InputImageType::InternalPixelType InputInternalPixelType
 
typedef itk::NumericTraits< InputInternalPixelType >::ValueType InputValueType
 
typedef itk::MetaDataDictionary MetaDataDictionaryType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::InternalPixelType OutputInternalPixelType
 
typedef itk::NumericTraits< OutputInternalPixelType >::ValueType OutputValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TerraSarBrightnessImageFilter Self
 
typedef itk::UnaryFunctorImageFilter< InputImageType, OutputImageType, FunctorTypeSuperclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
double GetCalibrationFactor ()
 
double GetDefaultValue ()
 
virtual const char * GetNameOfClass () const
 
bool GetResultsInDecibels ()
 
void SetCalibrationFactor (double pCalibrationFactor)
 
void SetResultsInDecibels (bool db)
 
void SetDefaultValue (double value)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

void BeforeThreadedGenerateData () override
 
 TerraSarBrightnessImageFilter ()
 
 ~TerraSarBrightnessImageFilter () override
 

Private Member Functions

void operator= (const Self &)=delete
 
 TerraSarBrightnessImageFilter (const Self &)=delete
 

Detailed Description

template<class TInputImage, class TOutputImage>
class otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >

Calculates the brightness of TerraSar sensor images.

Implementation of the brightness algorithm has been made following Infoterra documentation "Radiometric Calibration of TerraSAR-X Data".

This filter computes the beta naught ( $ \beta^{0} $) using the following formula:

\[\beta^{0} = k_{s} \cdot |DN|^{2} \]

Where $ k_{s} $ is the calibration factor, which is imported from the input image metadata, even if one can set different values using the proper accessors.

Results can be obtained either in linear or logarithmic scale (decibels), using the ResultsInDecibels flag.

This filter works with either real or complex image. In the case of the complex images (SLC products for instance), modulus and phase are extracted, sigma naught is computed from the modulus and the phase is set back to the result.

For implementation details, consider reading the code TerraSarBrightnessFunctor.

See also
TerraSarBrightnessFunctor
TerraSarBrightnessImageFilter

Definition at line 67 of file otbTerraSarBrightnessImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 92 of file otbTerraSarBrightnessImageFilter.h.

◆ FunctorType

template<class TInputImage , class TOutputImage >
typedef Functor::TerraSarBrightnessFunctor<InputValueType, OutputValueType> otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::FunctorType

Definition at line 85 of file otbTerraSarBrightnessImageFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage >
typedef TInputImage otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::InputImageType

"typedef" to simplify the variables definition and the declaration.

Definition at line 79 of file otbTerraSarBrightnessImageFilter.h.

◆ InputInternalPixelType

template<class TInputImage , class TOutputImage >
typedef InputImageType::InternalPixelType otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::InputInternalPixelType

Definition at line 81 of file otbTerraSarBrightnessImageFilter.h.

◆ InputValueType

template<class TInputImage , class TOutputImage >
typedef itk::NumericTraits<InputInternalPixelType>::ValueType otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::InputValueType

Definition at line 83 of file otbTerraSarBrightnessImageFilter.h.

◆ MetaDataDictionaryType

template<class TInputImage , class TOutputImage >
typedef itk::MetaDataDictionary otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::MetaDataDictionaryType

Definition at line 86 of file otbTerraSarBrightnessImageFilter.h.

◆ OutputImageType

template<class TInputImage , class TOutputImage >
typedef TOutputImage otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::OutputImageType

Definition at line 80 of file otbTerraSarBrightnessImageFilter.h.

◆ OutputInternalPixelType

template<class TInputImage , class TOutputImage >
typedef OutputImageType::InternalPixelType otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType

Definition at line 82 of file otbTerraSarBrightnessImageFilter.h.

◆ OutputValueType

template<class TInputImage , class TOutputImage >
typedef itk::NumericTraits<OutputInternalPixelType>::ValueType otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::OutputValueType

Definition at line 84 of file otbTerraSarBrightnessImageFilter.h.

◆ Pointer

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 91 of file otbTerraSarBrightnessImageFilter.h.

◆ Self

template<class TInputImage , class TOutputImage >
typedef TerraSarBrightnessImageFilter otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::Self

"typedef" for standard classes.

Definition at line 89 of file otbTerraSarBrightnessImageFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage >
typedef itk::UnaryFunctorImageFilter<InputImageType, OutputImageType, FunctorType> otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 90 of file otbTerraSarBrightnessImageFilter.h.

Constructor & Destructor Documentation

◆ TerraSarBrightnessImageFilter() [1/2]

template<class TInputImage , class TOutputImage >
otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::TerraSarBrightnessImageFilter ( )
inlineprotected

Constructor

Definition at line 143 of file otbTerraSarBrightnessImageFilter.h.

◆ ~TerraSarBrightnessImageFilter()

template<class TInputImage , class TOutputImage >
otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::~TerraSarBrightnessImageFilter ( )
inlineoverrideprotected

Destructor

Definition at line 146 of file otbTerraSarBrightnessImageFilter.h.

◆ TerraSarBrightnessImageFilter() [2/2]

template<class TInputImage , class TOutputImage >
otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::TerraSarBrightnessImageFilter ( const Self )
privatedelete

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<class TInputImage , class TOutputImage >
void otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( void  )
overrideprotected

Initialize the functor vector

Definition at line 31 of file otbTerraSarBrightnessImageFilter.hxx.

References otb::TerraSarImageMetadataInterface::New().

◆ CreateAnother()

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

◆ GetCalibrationFactor()

template<class TInputImage , class TOutputImage >
double otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::GetCalibrationFactor ( )
inline

Get the calibration factor

Definition at line 109 of file otbTerraSarBrightnessImageFilter.h.

◆ GetDefaultValue()

template<class TInputImage , class TOutputImage >
double otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::GetDefaultValue ( )
inline

Definition at line 136 of file otbTerraSarBrightnessImageFilter.h.

◆ GetNameOfClass()

template<class TInputImage , class TOutputImage >
virtual const char* otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

return class name.

◆ GetResultsInDecibels()

template<class TInputImage , class TOutputImage >
bool otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::GetResultsInDecibels ( )
inline

Get the ResultsInDecibels flag

Definition at line 123 of file otbTerraSarBrightnessImageFilter.h.

◆ New()

template<class TInputImage , class TOutputImage >
static Pointer otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::New ( )
static

object factory method.

◆ operator=()

template<class TInputImage , class TOutputImage >
void otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
privatedelete

◆ SetCalibrationFactor()

template<class TInputImage , class TOutputImage >
void otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::SetCalibrationFactor ( double  pCalibrationFactor)
inline

Set the calibration factor

Definition at line 101 of file otbTerraSarBrightnessImageFilter.h.

◆ SetDefaultValue()

template<class TInputImage , class TOutputImage >
void otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::SetDefaultValue ( double  value)
inline

Set the default value (replacing negative beta)

Definition at line 129 of file otbTerraSarBrightnessImageFilter.h.

◆ SetResultsInDecibels()

template<class TInputImage , class TOutputImage >
void otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::SetResultsInDecibels ( bool  db)
inline

Set the ResultsInDecibels flag

Definition at line 115 of file otbTerraSarBrightnessImageFilter.h.

Member Data Documentation

◆ InputImageDimension

template<class TInputImage , class TOutputImage >
const unsigned int otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension
static

Extract input and output images dimensions.

Definition at line 74 of file otbTerraSarBrightnessImageFilter.h.

◆ OutputImageDimension

template<class TInputImage , class TOutputImage >
const unsigned int otb::TerraSarBrightnessImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
static

Extract input and output images dimensions.

Definition at line 75 of file otbTerraSarBrightnessImageFilter.h.


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