modifié : include/Attributes/SDAttributes.hpp modifié : include/Attributes/XYAttributes.hpp modifié : src/testMain.cpp
27 lines
822 B
C++
27 lines
822 B
C++
#ifndef _OTB_TRISKELE_AVERAGE_ATTRIBUTES_HPP
|
|
#define _OTB_TRISKELE_AVERAGE_ATTRIBUTES_HPP
|
|
|
|
#include "triskeleBase.hpp"
|
|
#include "CompAttribute.hpp"
|
|
#include "Attributes/AreaAttributes.hpp"
|
|
#include "Attributes/XYAttributes.hpp"
|
|
|
|
namespace otb {
|
|
namespace triskele {
|
|
|
|
class AverageAttributes : public CompAttributeC<double> {
|
|
public:
|
|
template<typename PixelT>
|
|
inline AverageAttributes (const Tree &tree, const Raster<PixelT> &raster, const AreaAttributes &areaAttributes, const unsigned int &treeCoreCount);
|
|
inline ~AverageAttributes ();
|
|
protected:
|
|
template<typename PixelT>
|
|
inline void compute (const Raster<PixelT> &raster, const AreaAttributes &areaAttributes);
|
|
};
|
|
|
|
#include "AverageAttributes.tpp"
|
|
} // triskele
|
|
} // otb
|
|
|
|
#endif // _OTB_TRISKELE_AVERAGE_ATTRIBUTES_HPP
|