#include "CompAttribute.hpp" #ifndef _OTB_TRISKELE_WEIGHT_ATTRIBUTES_HPP #define _OTB_TRISKELE_WEIGHT_ATTRIBUTES_HPP #include #include "triskeleBase.hpp" namespace otb { namespace triskele { /*! Fonction monotonne strict croissante ou décroissante en fonction de la fonction de poid. */ template class WeightAttributes : public CompAttribute { public: inline WeightAttributes (const Tree &tree, const bool &decr); inline ~WeightAttributes (); inline void setWeightBounds (Tree &tree); template inline void cut (vector > &allBands, const AttributeProfiles &attributeProfiles, const vector &thresholds) const; virtual inline ostream &print (ostream &out) const { CompAttribute::print (out, "weight"); return out; } }; #include "WeightAttributes.tpp" } // triskele } // otb #endif // _OTB_TRISKELE_WEIGHT_ATTRIBUTES_HPP