All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
te::rp::Contrast::InputParameters Class Reference

Contrast input parameters. More...

#include <Contrast.h>

Inheritance diagram for te::rp::Contrast::InputParameters:
te::rp::AlgorithmInputParameters te::common::AbstractParameters

Public Types

enum  ContrastType { InvalidContrastT = 0, LinearContrastT = 1, HistogramEqualizationContrastT = 2, SetMeanAndStdContrastT = 3 }
 

Public Member Functions

AbstractParametersclone () const
 Create a clone copy of this instance. More...
 
 InputParameters ()
 
const InputParametersoperator= (const InputParameters &params)
 
void reset () throw ( te::rp::Exception )
 Clear all internal allocated resources and reset the parameters instance to its initial state. More...
 
 ~InputParameters ()
 

Public Attributes

bool m_enableProgress
 Enable/Disable the progress interface (default:false). More...
 
std::vector< double > m_hECMaxInput
 The contrast maximum input greyscale value of each band. More...
 
std::vector< unsigned int > m_inRasterBands
 Bands to be processed from the input raster. More...
 
te::rst::Raster const * m_inRasterPtr
 Input raster. More...
 
std::vector< double > m_lCMaxInput
 The contrast maximum input greyscale value of each band. More...
 
std::vector< double > m_lCMinInput
 The contrast minimum input greyscale value of each band. More...
 
std::vector< double > m_sMASCMeanInput
 The mean greyscale to be applied in each band. More...
 
std::vector< double > m_sMASCStdInput
 The standard deviation to be applied in each band. More...
 
ContrastType m_type
 The contrast type to be applied. More...
 

Detailed Description

Contrast input parameters.

Definition at line 64 of file Contrast.h.

Member Enumeration Documentation

Enumerator
InvalidContrastT 

Invalid contrast.

LinearContrastT 

The histogram range will be changed to the supplied min/max range ( linear function ).

HistogramEqualizationContrastT 

The histogram of the image will be equalized automatically.

SetMeanAndStdContrastT 

The contrasted image will have a predefined mean and standard deviation.

Definition at line 69 of file Contrast.h.

Constructor & Destructor Documentation

te::rp::Contrast::InputParameters::InputParameters ( )

Definition at line 47 of file Contrast.cpp.

References reset().

te::rp::Contrast::InputParameters::~InputParameters ( )

Definition at line 52 of file Contrast.cpp.

References te::rp::Contrast::reset().

Member Function Documentation

te::common::AbstractParameters * te::rp::Contrast::InputParameters::clone ( ) const
virtual

Create a clone copy of this instance.

Returns
A clone copy of this instance.
Note
The caller will take the ownership of the returned pointer.

Implements te::common::AbstractParameters.

Definition at line 90 of file Contrast.cpp.

const Contrast::InputParameters & te::rp::Contrast::InputParameters::operator= ( const InputParameters params)
void te::rp::Contrast::InputParameters::reset ( )
throw (te::rp::Exception
)
virtual

Clear all internal allocated resources and reset the parameters instance to its initial state.

Implements te::common::AbstractParameters.

Definition at line 57 of file Contrast.cpp.

References InvalidContrastT.

Referenced by InputParameters(), and te::rp::Contrast::reset().

Member Data Documentation

bool te::rp::Contrast::InputParameters::m_enableProgress
std::vector< double > te::rp::Contrast::InputParameters::m_hECMaxInput
std::vector< double > te::rp::Contrast::InputParameters::m_lCMaxInput
std::vector< double > te::rp::Contrast::InputParameters::m_lCMinInput
std::vector< double > te::rp::Contrast::InputParameters::m_sMASCMeanInput
std::vector< double > te::rp::Contrast::InputParameters::m_sMASCStdInput

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