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

#include <otbVectorRescaleIntensityImageFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::ConstPointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef itk::NumericTraits< InputValueType >::RealType InputRealType
 
typedef InputPixelType::ValueType InputValueType
 
typedef TOutputImage::PixelType OutputPixelType
 
typedef itk::NumericTraits< OutputValueType >::RealType OutputRealType
 
typedef OutputPixelType::ValueType OutputValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorRescaleIntensityImageFilter Self
 
typedef itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorAffineTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
 

Public Member Functions

virtual void AutomaticInputMinMaxComputationOff ()
 
virtual void AutomaticInputMinMaxComputationOn ()
 
void BeforeThreadedGenerateData (void) override
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void GenerateInputRequestedRegion (void) override
 
void GenerateOutputInformation (void) override
 
virtual bool GetAutomaticInputMinMaxComputation ()
 
virtual double GetClampThreshold ()
 
virtual const double & GetGamma () const
 
virtual InputPixelType GetInputMaximum ()
 
virtual InputPixelType GetInputMinimum ()
 
virtual const OutputPixelTypeGetOutputMaximum () const
 
virtual const OutputPixelTypeGetOutputMinimum () const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
virtual void SetAutomaticInputMinMaxComputation (bool _arg)
 
virtual void SetClampThreshold (double _arg)
 
virtual void SetGamma (double _arg)
 
virtual void SetInputMaximum (InputPixelType _arg)
 
virtual void SetInputMinimum (InputPixelType _arg)
 
virtual void SetOutputMaximum (OutputPixelType _arg)
 
virtual void SetOutputMinimum (OutputPixelType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 VectorRescaleIntensityImageFilter ()
 
 ~VectorRescaleIntensityImageFilter () override
 

Private Member Functions

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

Private Attributes

bool m_AutomaticInputMinMaxComputation
 
double m_ClampThreshold
 
double m_Gamma
 
InputPixelType m_InputMaximum
 
InputPixelType m_InputMinimum
 
OutputPixelType m_OutputMaximum
 
OutputPixelType m_OutputMinimum
 

Detailed Description

template<class TInputImage, class TOutputImage = TInputImage>
class otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >

This filter performs a rescaling of a vector image on a per band basis.

This filter rescales each band to match the [OutputMinimum, OutputMaximum] range. In order to avoid odd values to alter the intensity extent, one can set a clamp percentage. The clamp percentage is set to 0.01 by default.

Values lower than the first quantile of this percentage are set to the OutputMinimum. Values upper than the last quantile of this percentage are set to the OutputMaximum.

This filter differ from itk::VectorRescaleIntensityImageFilter. Instead of setting only the OutputMaximumMagnitude, you can set the minimum and maximum values for the input and output images. There is also the possibility to set a Gamma value and change the clamp percentage.

Examples
FeatureExtraction/CloudDetectionExample.cxx, and Fusion/BayesianFusionImageFilter.cxx.

Definition at line 220 of file otbVectorRescaleIntensityImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 231 of file otbVectorRescaleIntensityImageFilter.h.

◆ InputImagePointer

template<class TInputImage , class TOutputImage = TInputImage>
typedef InputImageType::ConstPointer otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::InputImagePointer

Definition at line 234 of file otbVectorRescaleIntensityImageFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage = TInputImage>
typedef TInputImage otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::InputImageType

Definition at line 233 of file otbVectorRescaleIntensityImageFilter.h.

◆ InputPixelType

template<class TInputImage , class TOutputImage = TInputImage>
typedef InputImageType::PixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::InputPixelType

Definition at line 236 of file otbVectorRescaleIntensityImageFilter.h.

◆ InputRealType

template<class TInputImage , class TOutputImage = TInputImage>
typedef itk::NumericTraits<InputValueType>::RealType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::InputRealType

Definition at line 239 of file otbVectorRescaleIntensityImageFilter.h.

◆ InputValueType

template<class TInputImage , class TOutputImage = TInputImage>
typedef InputPixelType::ValueType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::InputValueType

Definition at line 237 of file otbVectorRescaleIntensityImageFilter.h.

◆ OutputPixelType

template<class TInputImage , class TOutputImage = TInputImage>
typedef TOutputImage::PixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::OutputPixelType

Definition at line 235 of file otbVectorRescaleIntensityImageFilter.h.

◆ OutputRealType

template<class TInputImage , class TOutputImage = TInputImage>
typedef itk::NumericTraits<OutputValueType>::RealType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::OutputRealType

Definition at line 240 of file otbVectorRescaleIntensityImageFilter.h.

◆ OutputValueType

template<class TInputImage , class TOutputImage = TInputImage>
typedef OutputPixelType::ValueType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::OutputValueType

Definition at line 238 of file otbVectorRescaleIntensityImageFilter.h.

◆ Pointer

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

Definition at line 230 of file otbVectorRescaleIntensityImageFilter.h.

◆ Self

template<class TInputImage , class TOutputImage = TInputImage>
typedef VectorRescaleIntensityImageFilter otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 226 of file otbVectorRescaleIntensityImageFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage = TInputImage>
typedef itk::UnaryFunctorImageFilter<TInputImage, TOutputImage, Functor::VectorAffineTransform<typename TInputImage::PixelType, typename TOutputImage::PixelType> > otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 229 of file otbVectorRescaleIntensityImageFilter.h.

Constructor & Destructor Documentation

◆ VectorRescaleIntensityImageFilter() [1/2]

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

◆ ~VectorRescaleIntensityImageFilter()

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

Definition at line 279 of file otbVectorRescaleIntensityImageFilter.h.

◆ VectorRescaleIntensityImageFilter() [2/2]

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

Member Function Documentation

◆ AutomaticInputMinMaxComputationOff()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::AutomaticInputMinMaxComputationOff ( )
virtual

◆ AutomaticInputMinMaxComputationOn()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::AutomaticInputMinMaxComputationOn ( )
virtual

◆ BeforeThreadedGenerateData()

template<class TInputImage , class TOutputImage = TInputImage>
void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( void  )
override

Process to execute before entering the multithreaded section

◆ CreateAnother()

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

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputImage = TInputImage>
void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( void  )
override

Generate input requested region

◆ GenerateOutputInformation()

template<class TInputImage , class TOutputImage = TInputImage>
void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation ( void  )
override

Generate output information

◆ GetAutomaticInputMinMaxComputation()

template<class TInputImage , class TOutputImage = TInputImage>
virtual bool otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GetAutomaticInputMinMaxComputation ( )
virtual

◆ GetClampThreshold()

template<class TInputImage , class TOutputImage = TInputImage>
virtual double otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GetClampThreshold ( )
virtual

◆ GetGamma()

template<class TInputImage , class TOutputImage = TInputImage>
virtual const double& otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GetGamma ( ) const
virtual

◆ GetInputMaximum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual InputPixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GetInputMaximum ( )
virtual

◆ GetInputMinimum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual InputPixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GetInputMinimum ( )
virtual

◆ GetOutputMaximum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual const OutputPixelType& otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GetOutputMaximum ( ) const
virtual

◆ GetOutputMinimum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual const OutputPixelType& otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::GetOutputMinimum ( ) const
virtual

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

◆ PrintSelf()

template<class TInputImage , class TOutputImage = TInputImage>
void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
override

Print internal ivars

◆ SetAutomaticInputMinMaxComputation()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::SetAutomaticInputMinMaxComputation ( bool  _arg)
virtual

◆ SetClampThreshold()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::SetClampThreshold ( double  _arg)
virtual

◆ SetGamma()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::SetGamma ( double  _arg)
virtual

◆ SetInputMaximum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::SetInputMaximum ( InputPixelType  _arg)
virtual

◆ SetInputMinimum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::SetInputMinimum ( InputPixelType  _arg)
virtual

◆ SetOutputMaximum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::SetOutputMaximum ( OutputPixelType  _arg)
virtual

◆ SetOutputMinimum()

template<class TInputImage , class TOutputImage = TInputImage>
virtual void otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::SetOutputMinimum ( OutputPixelType  _arg)
virtual

Member Data Documentation

◆ m_AutomaticInputMinMaxComputation

template<class TInputImage , class TOutputImage = TInputImage>
bool otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::m_AutomaticInputMinMaxComputation
private

Definition at line 292 of file otbVectorRescaleIntensityImageFilter.h.

◆ m_ClampThreshold

template<class TInputImage , class TOutputImage = TInputImage>
double otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::m_ClampThreshold
private

Definition at line 291 of file otbVectorRescaleIntensityImageFilter.h.

◆ m_Gamma

template<class TInputImage , class TOutputImage = TInputImage>
double otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::m_Gamma
private

Definition at line 293 of file otbVectorRescaleIntensityImageFilter.h.

◆ m_InputMaximum

template<class TInputImage , class TOutputImage = TInputImage>
InputPixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::m_InputMaximum
private

Definition at line 290 of file otbVectorRescaleIntensityImageFilter.h.

◆ m_InputMinimum

template<class TInputImage , class TOutputImage = TInputImage>
InputPixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::m_InputMinimum
private

Definition at line 289 of file otbVectorRescaleIntensityImageFilter.h.

◆ m_OutputMaximum

template<class TInputImage , class TOutputImage = TInputImage>
OutputPixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::m_OutputMaximum
private

Definition at line 288 of file otbVectorRescaleIntensityImageFilter.h.

◆ m_OutputMinimum

template<class TInputImage , class TOutputImage = TInputImage>
OutputPixelType otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >::m_OutputMinimum
private

Definition at line 287 of file otbVectorRescaleIntensityImageFilter.h.


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