OTB
9.0.0
Orfeo Toolbox
|
#include <otbHistogramStatisticsFunction.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TInputHistogram::AbsoluteFrequencyType | FrequencyType |
typedef TInputHistogram::MeasurementType | MeasurementType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::NumericTraits< MeasurementType >::RealType | RealType |
typedef HistogramStatisticsFunction | Self |
typedef itk::HistogramAlgorithmBase< TInputHistogram > | Superclass |
typedef std::vector< TOutput > | OutputType |
OutputType | m_entropy |
OutputType | m_mean |
OutputType | m_covariance |
bool | m_IsModified |
TInputHistogram::ConstPointer | m_InputHistogram |
virtual const char * | GetNameOfClass () const |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
OutputType | GetEntropy () |
OutputType | GetMean () |
OutputType | GetCovariance () |
void | SetInputHistogram (const TInputHistogram *histogram) |
void | Compute () override |
static Pointer | New () |
HistogramStatisticsFunction () | |
~HistogramStatisticsFunction () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateData () |
void | CalculateEntropy () |
void | CalculateMean () |
void | CalculateCovariance () |
Computes parameters for a histogram.
You plug in the target histogram using SetInputHistogram method and get the entropy value from the histogram by calling the method GetEntropy or the GenerateData method.
Definition at line 44 of file otbHistogramStatisticsFunction.h.
typedef itk::SmartPointer<const Self> otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::ConstPointer |
Definition at line 51 of file otbHistogramStatisticsFunction.h.
typedef TInputHistogram::AbsoluteFrequencyType otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::FrequencyType |
Definition at line 54 of file otbHistogramStatisticsFunction.h.
typedef TInputHistogram::MeasurementType otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::MeasurementType |
Definition at line 53 of file otbHistogramStatisticsFunction.h.
typedef std::vector<TOutput> otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::OutputType |
Typedef for the output type
Definition at line 59 of file otbHistogramStatisticsFunction.h.
typedef itk::SmartPointer<Self> otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::Pointer |
Definition at line 50 of file otbHistogramStatisticsFunction.h.
typedef itk::NumericTraits<MeasurementType>::RealType otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::RealType |
Definition at line 55 of file otbHistogramStatisticsFunction.h.
typedef HistogramStatisticsFunction otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::Self |
Standard class typedefs.
Definition at line 48 of file otbHistogramStatisticsFunction.h.
typedef itk::HistogramAlgorithmBase<TInputHistogram> otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::Superclass |
Definition at line 49 of file otbHistogramStatisticsFunction.h.
|
protected |
Typedef for the output type
Definition at line 31 of file otbHistogramStatisticsFunction.hxx.
|
inlineoverrideprotected |
Typedef for the output type
Definition at line 94 of file otbHistogramStatisticsFunction.h.
|
protected |
Calculate covariance value
Definition at line 127 of file otbHistogramStatisticsFunction.hxx.
|
protected |
Calculate the entropy value
Definition at line 67 of file otbHistogramStatisticsFunction.hxx.
|
protected |
Calculate mean value
Definition at line 95 of file otbHistogramStatisticsFunction.hxx.
|
inlineoverride |
Calculates the thresholds and save them
Definition at line 87 of file otbHistogramStatisticsFunction.h.
References otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::GenerateData().
virtual::itk::LightObject::Pointer otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::CreateAnother | ( | void | ) | const |
Typedef for the output type
|
protected |
Calculates the thresholds and save them
Definition at line 163 of file otbHistogramStatisticsFunction.hxx.
Referenced by otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::Compute().
HistogramStatisticsFunction< TInputHistogram, TOutput >::OutputType otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::GetCovariance |
Returns the covariance value from histogram
Definition at line 57 of file otbHistogramStatisticsFunction.hxx.
HistogramStatisticsFunction< TInputHistogram, TOutput >::OutputType otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::GetEntropy |
Returns the entropy value
Definition at line 37 of file otbHistogramStatisticsFunction.hxx.
HistogramStatisticsFunction< TInputHistogram, TOutput >::OutputType otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::GetMean |
Returns the mean value from histogram
Definition at line 47 of file otbHistogramStatisticsFunction.hxx.
|
virtual |
Standard Macros
|
static |
Typedef for the output type
|
overrideprotected |
Typedef for the output type
Definition at line 173 of file otbHistogramStatisticsFunction.hxx.
|
inline |
Stores the histogram pointer
Definition at line 75 of file otbHistogramStatisticsFunction.h.
References otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::m_InputHistogram, and otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::m_IsModified.
|
private |
Typedef for the output type
Definition at line 115 of file otbHistogramStatisticsFunction.h.
|
private |
Typedef for the output type
Definition at line 113 of file otbHistogramStatisticsFunction.h.
|
private |
Target histogram data pointer
Definition at line 119 of file otbHistogramStatisticsFunction.h.
Referenced by otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram().
|
private |
Typedef for the output type
Definition at line 116 of file otbHistogramStatisticsFunction.h.
Referenced by otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram().
|
private |
Typedef for the output type
Definition at line 114 of file otbHistogramStatisticsFunction.h.