Commit 48407574 authored by Edwin Carlinet's avatar Edwin Carlinet
Browse files

Use set_value_on_contour from the croutines files and remove

dependency to the mln/morpho/patternspectra.hpp.

           *  apps/attributes/MSER-patternspec-cli.cpp,
           *  apps/attributes/meaningfullness-cli.cpp,
           *  apps/attributes/meaningfullness-patternspec-cli.cpp: See above.
parent f4b6a861
......@@ -6,7 +6,6 @@
#include <mln/morpho/component_tree/accumulate.hpp>
#include <mln/morpho/component_tree/reconstruction.hpp>
#include <mln/morpho/component_tree/filtering.hpp>
#include <mln/morpho/component_tree/pattern_spectra.hpp>
#include <mln/morpho/algebraic_filter.hpp>
#include <mln/accu/accumulators/accu_if.hpp>
......
......@@ -8,8 +8,6 @@
#include <mln/colors/rgba.hpp>
#include <mln/core/algorithm/transform.hpp>
#include <apps/tos/Kinterpolate.hpp>
#include <apps/saliency/attribute_on_contour.hpp>
#include <mln/morpho/component_tree/io.hpp>
//#include <mln/morpho/component_tree/graphviz.hpp>
#include <mln/morpho/component_tree/accumulate.hpp>
......@@ -132,8 +130,7 @@ int main(int argc, char** argv)
{
auto& attr = extincted.get_vmap();
image2d<float> sal = imchvalue<float>(F).init(0);
attribute_on_contour(tree, attr, sal);
image2d<float> sal = set_value_on_contour(tree, attr);
io::imsave(sal, output_path);
}
......
......@@ -9,8 +9,6 @@
#include <mln/core/algorithm/transform.hpp>
#include <apps/tos/Kinterpolate.hpp>
#include <apps/saliency/attribute_on_contour.hpp>
#include <mln/morpho/component_tree/io.hpp>
//#include <mln/morpho/component_tree/graphviz.hpp>
#include <mln/morpho/component_tree/accumulate.hpp>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment