OTB
9.0.0
Orfeo Toolbox
|
#include <otbLocalHistogramImageFunction.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef TCoordRep | CoordRepType |
typedef HistogramType::Pointer | HistogramPointer |
typedef itk::Statistics::Histogram< typename TInputImage::PixelType > | HistogramType |
typedef Superclass::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputType | OutputType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Superclass::PointType | PointType |
typedef LocalHistogramImageFunction | Self |
typedef itk::ImageFunction< TInputImage, typename itk::Statistics::Histogram< typename TInputImage::PixelType >::Pointer, TCoordRep > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
OutputType | EvaluateAtIndex (const IndexType &index) const override |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = InputImageType::ImageDimension |
unsigned int | m_NeighborhoodRadius |
unsigned long | m_NumberOfHistogramBins |
double | m_HistogramMin |
double | m_HistogramMax |
bool | m_GaussianSmoothing |
OutputType | Evaluate (const PointType &point) const override |
OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const override |
virtual void | SetNeighborhoodRadius (unsigned int _arg) |
virtual const unsigned int & | GetNeighborhoodRadius () const |
virtual void | SetNumberOfHistogramBins (unsigned long _arg) |
virtual unsigned long | GetNumberOfHistogramBins () const |
virtual void | SetHistogramMin (double _arg) |
virtual const double & | GetHistogramMin () const |
virtual void | SetHistogramMax (double _arg) |
virtual const double & | GetHistogramMax () const |
virtual void | SetGaussianSmoothing (bool _arg) |
virtual const bool & | GetGaussianSmoothing () const |
virtual void | GaussianSmoothingOn () |
virtual void | GaussianSmoothingOff () |
LocalHistogramImageFunction () | |
~LocalHistogramImageFunction () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
LocalHistogramImageFunction (const Self &)=delete | |
void | operator= (const Self &)=delete |
Calculate a local histogram over a specified circular neighborhood.
This image function computes the local histogram of the pixels lying in a circular neighborhood around the given position.
Pixel count can be optionally weighted by a gaussian kernel with so that pixel far from the center position account less in the histogram than pixel near the center position. This option can be deactivated using the GaussianSmoothing flag.
Histogram mininimum value, maximum value and number of bins can be set using the Setters/Getters.
This class is templated over the input image type and the coordinate representation type (e.g. float or double).
Definition at line 55 of file otbLocalHistogramImageFunction.h.
typedef itk::SmartPointer<const Self> otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::ConstPointer |
Definition at line 63 of file otbLocalHistogramImageFunction.h.
typedef Superclass::ContinuousIndexType otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::ContinuousIndexType |
Definition at line 74 of file otbLocalHistogramImageFunction.h.
typedef TCoordRep otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::CoordRepType |
Definition at line 81 of file otbLocalHistogramImageFunction.h.
typedef HistogramType::Pointer otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::HistogramPointer |
Definition at line 79 of file otbLocalHistogramImageFunction.h.
typedef itk::Statistics::Histogram<typename TInputImage::PixelType> otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::HistogramType |
Definition at line 78 of file otbLocalHistogramImageFunction.h.
typedef Superclass::IndexType otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::IndexType |
Definition at line 73 of file otbLocalHistogramImageFunction.h.
typedef TInputImage otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::InputImageType |
InputImageType typedef support.
Definition at line 69 of file otbLocalHistogramImageFunction.h.
typedef Superclass::OutputType otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::OutputType |
Definition at line 77 of file otbLocalHistogramImageFunction.h.
typedef itk::SmartPointer<Self> otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::Pointer |
Definition at line 62 of file otbLocalHistogramImageFunction.h.
typedef Superclass::PointType otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::PointType |
Definition at line 75 of file otbLocalHistogramImageFunction.h.
typedef LocalHistogramImageFunction otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::Self |
Standard class typedefs.
Definition at line 60 of file otbLocalHistogramImageFunction.h.
typedef itk::ImageFunction<TInputImage, typename itk::Statistics::Histogram<typename TInputImage::PixelType>::Pointer, TCoordRep> otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::Superclass |
Definition at line 61 of file otbLocalHistogramImageFunction.h.
|
protected |
Constructor
Definition at line 36 of file otbLocalHistogramImageFunction.hxx.
|
inlineoverrideprotected |
Evaluate the function at non-integer positions
Definition at line 128 of file otbLocalHistogramImageFunction.h.
|
privatedelete |
Evaluate the function at non-integer positions
virtual::itk::LightObject::Pointer otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::CreateAnother | ( | void | ) | const |
|
inlineoverride |
Evaluate the function at non-integer positions
Definition at line 90 of file otbLocalHistogramImageFunction.h.
|
inlineoverride |
Evaluate the function at non-integer positions
Definition at line 96 of file otbLocalHistogramImageFunction.h.
|
override |
Evalulate the function at specified index
Definition at line 53 of file otbLocalHistogramImageFunction.hxx.
References otb::CONST_2PI.
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Run-time type information (and related methods).
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Evaluate the function at non-integer positions
|
static |
Method for creation through the object factory.
|
privatedelete |
Evaluate the function at non-integer positions
|
overrideprotected |
Evaluate the function at non-integer positions
Definition at line 42 of file otbLocalHistogramImageFunction.hxx.
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Evaluate the function at non-integer positions
|
virtual |
Get/Set the radius of the neighborhood over which the statistics are evaluated
|
virtual |
Set/Get the number of histogram bins. Default is 128.
|
static |
Dimension of the underlying image.
Definition at line 84 of file otbLocalHistogramImageFunction.h.
|
private |
Evaluate the function at non-integer positions
Definition at line 141 of file otbLocalHistogramImageFunction.h.
|
private |
Evaluate the function at non-integer positions
Definition at line 140 of file otbLocalHistogramImageFunction.h.
|
private |
Evaluate the function at non-integer positions
Definition at line 139 of file otbLocalHistogramImageFunction.h.
|
private |
Evaluate the function at non-integer positions
Definition at line 137 of file otbLocalHistogramImageFunction.h.
|
private |
Evaluate the function at non-integer positions
Definition at line 138 of file otbLocalHistogramImageFunction.h.