Commit 785b5856 authored by Alexandre Bourquelot's avatar Alexandre Bourquelot
Browse files

fix : remove imsave from preprocessing and tests

parent 668d14d2
Pipeline #31753 passed with stages
in 34 minutes and 57 seconds
......@@ -96,7 +96,6 @@ namespace mln::contrib::segdet
// Preprocessing
image2d<std::uint8_t> preprocessed_img = preprocess(std::move(image), params);
mln::io::imsave(preprocessed_img, "img_prep.tiff");
// Processing
int min_len_embryo = min_len / 4 + 1; // 5U < min_len ? 5U : min_len;
auto p = process(preprocessed_img, min_len_embryo, params);
......
......@@ -3,8 +3,7 @@
#include <gtest/gtest.h>
#include <mln/contrib/segdet/segdet.hpp>
#include <mln/io/imread.hpp>
#include <mln/io/imsave.hpp>
// mln::io::imsave(img, "img.tiff");
......@@ -20,7 +19,6 @@ TEST(Segdet, line_detect_one_horizontal)
mln::image2d<std::uint8_t> img = pair.first;
segdet_output ref = pair.second;
mln::io::imsave(img, "img.tiff");
auto output = detect_line(img, 10);
......@@ -39,7 +37,6 @@ TEST(Segdet, line_detect_one_vertical)
mln::image2d<std::uint8_t> img = pair.first;
segdet_output ref = pair.second;
mln::io::imsave(img, "img.tiff");
auto output = detect_line(img, 10);
......
Markdown is supported
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