triskele/include/Attributes/MoIAttributes.hpp
Git Merciol 300bfd965d modifié : MakefileNoOTB
modifié :         include/Appli/Option.hpp
	modifié :         include/ArrayTree/ArrayTreeBuilder.hpp
	modifié :         include/ArrayTree/ArrayTreeBuilder.tpp
	modifié :         include/AttributeProfiles.hpp
	modifié :         include/AttributeProfiles.tpp
	modifié :         include/Attributes/AreaAttributes.hpp
	modifié :         include/Attributes/AreaAttributes.tpp
	modifié :         include/Attributes/MoIAttributes.hpp
	modifié :         include/Attributes/MoIAttributes.tpp
	modifié :         include/Attributes/SDAttributes.hpp
	modifié :         include/Attributes/SDAttributes.tpp
	modifié :         include/CompAttribute.hpp
	modifié :         include/CompAttribute.tpp
	modifié :         src/Appli/Option.cpp
	modifié :         src/testMain.cpp
2018-02-20 16:39:24 +01:00

27 lines
816 B
C++

#ifndef _OTB_TRISKELE_MOI_ATTRIBUTES_HPP
#define _OTB_TRISKELE_MOI_ATTRIBUTES_HPP
#include "triskeleBase.hpp"
#include "CompAttribute.hpp"
namespace otb {
namespace triskele {
class MoIAttributes : public CompAttributeC<double> {
public:
inline MoIAttributes (const Tree &tree, const AreaAttributes &areaAttributes, const XYAttributes &xyAttributes);
inline ~MoIAttributes ();
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, const XYAttributes &xyAttributes);
};
#include "MoIAttributes.tpp"
} // triskele
} // otb
#endif // _OTB_TRISKELE_MOI_ATTRIBUTES_HPP