#ifndef _OTB_TRISKELE_MOI_ATTRIBUTES_HPP #define _OTB_TRISKELE_MOI_ATTRIBUTES_HPP #include #include "triskeleBase.hpp" #include "CompAttribute.hpp" namespace otb { namespace triskele { /*! Fonction monotonne strictement croissante. */ class MoIAttributes : public CompAttribute { public: inline MoIAttributes (const Tree &tree, const AreaAttributes &areaAttributes, const XYAttributes &xyAttributes); inline ~MoIAttributes (); virtual inline ostream &print (ostream &out) const { CompAttribute::print (out, "moi"); return out; } template inline void cut (vector > &allBands, const AttributeProfiles &attributeProfiles, const vector &thresholds) const; protected: inline void compute (const AreaAttributes &areaAttributes, const XYAttributes &xyAttributes); }; #include "MoIAttributes.tpp" } // triskele } // otb #endif // _OTB_TRISKELE_MOI_ATTRIBUTES_HPP