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