OTB
9.0.0
Orfeo Toolbox
|
#include <otbSFSTexturesFunctor.h>
Public Types | |
typedef TIter::IndexType | IndexType |
typedef TIter::InternalPixelType | InternalPixelType |
typedef TIter::OffsetType | OffsetType |
typedef std::vector< OutputValueType > | OutputType |
typedef TOutputValue | OutputValueType |
typedef TIter::SizeType | SizeType |
Public Member Functions | |
virtual double | GetAlpha () |
virtual unsigned int | GetNumberOfDirections () |
virtual unsigned int | GetRatioMaxConsiderationNumber () |
virtual unsigned int | GetSpatialThreshold () |
virtual InternalPixelType | GetSpectralThreshold () |
std::vector< bool > | GetTexturesStatus () |
OutputType | operator() (const TIter &it) |
void | SetAlpha (double alpha) |
void | SetDirectionStep (double step) |
void | SetNumberOfDirections (unsigned int D) |
void | SetRatioMaxConsiderationNumber (unsigned int value) |
void | SetSelectedTextures (std::vector< bool > &vect) |
void | SetSpatialThreshold (unsigned int thresh) |
void | SetSpectralThreshold (InternalPixelType thresh) |
void | SetTextureStatus (unsigned int id, bool isSelected) |
SFSTexturesFunctor () | |
virtual | ~SFSTexturesFunctor () |
unsigned int | m_SpatialThreshold |
InternalPixelType | m_SpectralThreshold |
unsigned int | m_RatioMaxConsiderationNumber |
double | m_Alpha |
unsigned int | m_NumberOfDirections |
double | m_DirectionStep |
std::vector< bool > | m_SelectedTextures |
OffsetType | FindLastOffset (const TIter &it, const OffsetType &stopOffset) |
double | ComputeSDi (const TIter &it, const OffsetType &stopOffset) |
bool | CheckIsInside (const int &signX, const int &signY, const OffsetType ¤tOff, const OffsetType &stopOffset) |
void | ComputePointLine (OffsetType ¤tOff, const double &slop, const int &signY, const int &stopOffsetX) |
int | ComputeStep (const int &stopOffset) |
Definition at line 59 of file otbSFSTexturesFunctor.h.
typedef TIter::IndexType otb::Functor::SFSTexturesFunctor< TIter, TOutputValue >::IndexType |
Definition at line 79 of file otbSFSTexturesFunctor.h.
typedef TIter::InternalPixelType otb::Functor::SFSTexturesFunctor< TIter, TOutputValue >::InternalPixelType |
Definition at line 77 of file otbSFSTexturesFunctor.h.
typedef TIter::OffsetType otb::Functor::SFSTexturesFunctor< TIter, TOutputValue >::OffsetType |
Definition at line 80 of file otbSFSTexturesFunctor.h.
typedef std::vector<OutputValueType> otb::Functor::SFSTexturesFunctor< TIter, TOutputValue >::OutputType |
Definition at line 82 of file otbSFSTexturesFunctor.h.
typedef TOutputValue otb::Functor::SFSTexturesFunctor< TIter, TOutputValue >::OutputValueType |
Definition at line 81 of file otbSFSTexturesFunctor.h.
typedef TIter::SizeType otb::Functor::SFSTexturesFunctor< TIter, TOutputValue >::SizeType |
Definition at line 78 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 62 of file otbSFSTexturesFunctor.h.
|
inlinevirtual |
Definition at line 73 of file otbSFSTexturesFunctor.h.
|
inline |
Check if the current offset is inside the stop one.
Definition at line 365 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::ComputeSDi(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::FindLastOffset().
|
inline |
Compute the y coordinate according to a given x coordinate. Use the Bresenham algo if the line is not horizontal (stopOffsetX==0). Otherwise, it increments of 1 Y.
Definition at line 381 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::ComputeSDi(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::FindLastOffset().
|
inline |
Computes SD in the ith direction
Definition at line 309 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()().
|
inline |
Compute the to give at x for line computation. according to the signof stopOffset.
Definition at line 393 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::ComputeSDi(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::FindLastOffset().
|
inline |
Checks spectral threshold condition the last point in the directiuon is the first that doesn't respect the spectral condition.
Definition at line 275 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
Definition at line 126 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 131 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 96 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 105 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 100 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SFSTexturesFunctor().
|
inline |
Definition at line 92 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 109 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 84 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 88 of file otbSFSTexturesFunctor.h.
|
inline |
Definition at line 114 of file otbSFSTexturesFunctor.h.
|
protected |
constant to adjust w-mean values
Definition at line 414 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetAlpha().
|
protected |
Angular step between 2 directions (between and 2*pi).
Definition at line 420 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()(), otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetDirectionStep(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetNumberOfDirections().
|
protected |
Number of direction considered
Definition at line 417 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetNumberOfDirections().
|
protected |
Max nulber of min and considered for Ration computation
Definition at line 411 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetRatioMaxConsiderationNumber().
|
protected |
List of wanted textures : 0: length 1: width 2: PSI 3: w-mean 4: ratio 5: SD Set to 1 means the texture will be computed.
Definition at line 431 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::GetTexturesStatus(), otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()(), otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetSelectedTextures(), otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetTextureStatus(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SFSTexturesFunctor().
|
protected |
spatial threshold condition
Definition at line 405 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::operator()(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetSpatialThreshold().
|
protected |
spectral threshold condition
Definition at line 408 of file otbSFSTexturesFunctor.h.
Referenced by otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::ComputeSDi(), otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::FindLastOffset(), and otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetSpectralThreshold().