modifié : include/ArrayTree/ArrayTreeBuilder.hpp modifié : include/ArrayTree/ArrayTreeBuilder.tpp modifié : include/ArrayTree/Border.hpp modifié : include/ArrayTree/Border.tpp modifié : include/ArrayTree/GraphWalker.hpp modifié : include/ArrayTree/GraphWalker.tpp modifié : include/ArrayTree/Leader.tpp modifié : include/ArrayTree/triskeleArrayTreeBase.hpp modifié : include/ArrayTree/triskeleArrayTreeBase.tpp modifié : include/AttributeProfiles.hpp modifié : include/AttributeProfiles.tpp modifié : include/Attributes/AreaAttributes.hpp modifié : include/Attributes/AverageAttributes.hpp modifié : include/Attributes/MoIAttributes.hpp modifié : include/Attributes/SDAttributes.hpp modifié : include/Attributes/WeightAttributes.hpp modifié : include/Attributes/XYAttributes.hpp modifié : include/CompAttribute.hpp modifié : include/CompAttribute.tpp modifié : include/Tree.hpp modifié : include/Tree.tpp modifié : include/TreeStats.hpp modifié : include/triskeleBase.hpp modifié : include/triskeleBase.tpp modifié : include/triskeleDebug.hpp modifié : src/Tree.cpp modifié : src/TreeStats.cpp modifié : src/apGenerator.cpp
32 lines
935 B
C++
32 lines
935 B
C++
#ifndef _OTB_TRISKELE_SD_ATTRIBUTES_HPP
|
|
#define _OTB_TRISKELE_SD_ATTRIBUTES_HPP
|
|
|
|
#include <boost/chrono.hpp>
|
|
|
|
#include "triskeleDebug.hpp"
|
|
#include "triskeleBase.hpp"
|
|
#include "CompAttribute.hpp"
|
|
#include "Attributes/AreaAttributes.hpp"
|
|
|
|
namespace otb {
|
|
namespace triskele {
|
|
|
|
class SDAttributes : public CompAttributeC<double> {
|
|
public:
|
|
inline SDAttributes (const Tree &tree, const AreaAttributes &areaAttributes);
|
|
inline ~SDAttributes ();
|
|
virtual inline ostream &print (ostream &out) const { CompAttribute::print (out, "sd"); }
|
|
|
|
template<typename PixelT>
|
|
inline void cut (vector<vector<PixelT> > &allBands, const AttributeProfiles<PixelT> &attributeProfiles,
|
|
const vector<double> &thresholds) const;
|
|
protected:
|
|
inline void compute (const AreaAttributes &areaAttributes);
|
|
};
|
|
|
|
#include "SDAttributes.tpp"
|
|
} // triskele
|
|
} // otb
|
|
|
|
#endif // _OTB_TRISKELE_SD_ATTRIBUTES_HPP
|