diff --git a/include/Attributes/AverageAttributes.hpp b/include/Attributes/AverageAttributes.hpp index 1049bf4..07d2b9f 100644 --- a/include/Attributes/AverageAttributes.hpp +++ b/include/Attributes/AverageAttributes.hpp @@ -3,6 +3,8 @@ #include "triskeleBase.hpp" #include "CompAttribute.hpp" +#include "Attributes/AreaAttributes.hpp" +#include "Attributes/XYAttributes.hpp" namespace otb { namespace triskele { diff --git a/include/Attributes/SDAttributes.hpp b/include/Attributes/SDAttributes.hpp index c2857d1..a145643 100644 --- a/include/Attributes/SDAttributes.hpp +++ b/include/Attributes/SDAttributes.hpp @@ -3,6 +3,7 @@ #include "triskeleBase.hpp" #include "CompAttribute.hpp" +#include "Attributes/AreaAttributes.hpp" namespace otb { namespace triskele { diff --git a/include/Attributes/XYAttributes.hpp b/include/Attributes/XYAttributes.hpp index 7c39b7e..98457e5 100644 --- a/include/Attributes/XYAttributes.hpp +++ b/include/Attributes/XYAttributes.hpp @@ -3,6 +3,7 @@ #include "triskeleBase.hpp" #include "CompAttribute.hpp" +#include "Attributes/AreaAttributes.hpp" namespace otb { namespace triskele { diff --git a/src/testMain.cpp b/src/testMain.cpp index b3ea0bc..952d4b4 100644 --- a/src/testMain.cpp +++ b/src/testMain.cpp @@ -24,6 +24,7 @@ #include "Attributes/AverageAttributes.hpp" #include "Attributes/SDAttributes.hpp" #include "Attributes/XYAttributes.hpp" +#include "Attributes/MoIAttributes.hpp" //using namespace triskele; using namespace otb::triskele; @@ -55,7 +56,8 @@ void prog (const Option &option) { sdAttributes.printValues ("sd"); XYAttributes xyAttributes (tree, areaAttributes, option.treeCoreCount); //xyAttributes.printValues ("XY"); // pb print de complexe - // MoIAttributes moiAttributes (tree, xyAttributes); // XXX + MoIAttributes moiAttributes (tree, areaAttributes, xyAttributes, option.treeCoreCount); + moiAttributes.printValues ("moi"); // XXX cut // attribute.cut (out, attributProfiles, threshold)