![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbHillShadingFunctor.h>
Public Types | |
typedef TNeighIter | IteratorType |
typedef IteratorType::PixelType | PixelType |
typedef HillShadingFunctor | Self |
Public Member Functions | |
double | GetAzimuthLight () const |
double | GetElevationLight () const |
double | GetScale () const |
double | GetXRes () const |
double | GetYRes () const |
HillShadingFunctor () | |
TOutput | operator() (const TNeighIter &it) const |
void | SetAzimuthLight (double az) |
void | SetElevationLight (double el) |
void | SetScale (double scale) |
void | SetXRes (double res) |
void | SetYRes (double res) |
~HillShadingFunctor () | |
Private Member Functions | |
PixelType | makeValid (PixelType v) const |
Private Attributes | |
double | m_AzimuthLight |
double | m_CosAz |
double | m_CosElev |
double | m_ElevationLight |
double | m_Scale |
double | m_SinAz |
double | m_SinElev |
double | m_XRes |
double | m_YRes |
Unary neighborhood functor to compute the lambertian of a surface.
The light source is assumed to be at a given elevation and azimuth (by default and
respectively). This is used to generate hill shading representation of relief. The output is a value between 0 and 1.
Definition at line 77 of file otbHillShadingFunctor.h.
typedef TNeighIter otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::IteratorType |
Definition at line 81 of file otbHillShadingFunctor.h.
typedef IteratorType::PixelType otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::PixelType |
Definition at line 82 of file otbHillShadingFunctor.h.
typedef HillShadingFunctor otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::Self |
Definition at line 80 of file otbHillShadingFunctor.h.
|
inline |
Definition at line 84 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_AzimuthLight, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_CosAz, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_CosElev, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_ElevationLight, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_SinAz, and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_SinElev.
|
inline |
Definition at line 91 of file otbHillShadingFunctor.h.
|
inline |
Definition at line 125 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_AzimuthLight.
|
inline |
Definition at line 137 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_ElevationLight.
|
inline |
Definition at line 115 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_Scale.
|
inline |
Definition at line 95 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_XRes.
|
inline |
Definition at line 100 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_YRes.
|
inlineprivate |
Definition at line 176 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()().
|
inline |
Definition at line 149 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_CosAz, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_CosElev, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_Scale, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_SinAz, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_SinElev, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_XRes, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_YRes, and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::makeValid().
|
inline |
Definition at line 130 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_AzimuthLight, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_CosAz, and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_SinAz.
|
inline |
Definition at line 142 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_CosElev, otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_ElevationLight, and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_SinElev.
|
inline |
Definition at line 120 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_Scale.
|
inline |
Definition at line 105 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_XRes.
|
inline |
Definition at line 110 of file otbHillShadingFunctor.h.
References otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::m_YRes.
|
private |
Definition at line 181 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::GetAzimuthLight(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::HillShadingFunctor(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetAzimuthLight().
|
private |
Definition at line 191 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::HillShadingFunctor(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetAzimuthLight().
|
private |
Definition at line 189 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::HillShadingFunctor(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetElevationLight().
|
private |
Definition at line 182 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::GetElevationLight(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::HillShadingFunctor(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetElevationLight().
|
private |
Definition at line 185 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::GetScale(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetScale().
|
private |
Definition at line 190 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::HillShadingFunctor(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetAzimuthLight().
|
private |
Definition at line 188 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::HillShadingFunctor(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetElevationLight().
|
private |
Definition at line 183 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::GetXRes(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetXRes().
|
private |
Definition at line 184 of file otbHillShadingFunctor.h.
Referenced by otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::GetYRes(), otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::operator()(), and otb::Functor::HillShadingFunctor< TNeighIter, TInputImage, TOutput >::SetYRes().