* scribo/debug/save_label_image.hh,
* scribo/src/extract_text_single_link.cc,
* scribo/src/extract_text_graph.cc,
* scribo/src/morpho.cc,
* scribo/src/table_rebuild_rank.cc,
* scribo/src/extract_text_several_left_links.cc,
* scribo/src/table_rebuild_opening.cc,
* scribo/src/extract_text_several_graph.cc,
* scribo/src/dmap.cc,
* scribo/src/table_extract.cc,
* scribo/src/extract_text_double_link.cc,
* scribo/src/extract_text_double_several_links.cc,
* scribo/src/photo_basic.cc,
* scribo/table/internal/repair_lines.hh,
* scribo/demat.hh,
* icdar/2009/dibco/quasi.cc,
* icdar/2009/dibco/svg.1.binarization.cc,
* icdar/2009/dibco/svg.2.binarization.cc,
* icdar/2009/dibco/svg.3.binarization.cc,
* icdar/2009/dibco/binarization.cc,
* icdar/2009/hsc/icdar2ppm.hh,
* icdar/2009/hsc/input_to_words_dat.cc,
* icdar/2009/hsc/dummy_input_to_words_dat.cc,
* icdar/2009/hsc/input_to_lines_dat.cc,
* icdar/2009/hsc/input_to_ws.hh,
* icdar/2009/hsc/first_attempts/boxes.cc,
* icdar/2009/hsc/first_attempts/exec/iz_lines.cc,
* icdar/2009/hsc/first_attempts/exec/relabel_lines.cc,
* icdar/2009/hsc/first_attempts/main.cc,
* icdar/2009/hsc/input_to_wsl.cc,
* icdar/2009/hsc/old_input_to_lines.cc,
* icdar/2009/hsc/ws_to_wsl.hh,
* fabien/igr/seg_fixed.cc,
* fabien/igr/graph.cc,
* fabien/igr/nbasins_finder.cc,
* fabien/bin/dumpl32_to_colorize.cc,
* inim/2010/boxes/boxes.cc,
* theo/color/filter_blen_rgb_edges.cc,
* lazzara/igr/igr-biggest-comp.cc,
* lazzara/igr/igr.cc,
* lazzara/igr/igr-cloud.cc,
* edwin/inim/inim.cc:
Fix missing updates about debug colorize.
---
milena/sandbox/ChangeLog | 48 ++++++++++++++++++++
milena/sandbox/edwin/inim/inim.cc | 4 +-
milena/sandbox/fabien/bin/dumpl32_to_colorize.cc | 6 +-
milena/sandbox/fabien/igr/graph.cc | 6 +-
milena/sandbox/fabien/igr/nbasins_finder.cc | 4 +-
milena/sandbox/fabien/igr/seg_fixed.cc | 4 +-
milena/sandbox/icdar/2009/dibco/binarization.cc | 8 ++--
milena/sandbox/icdar/2009/dibco/quasi.cc | 2 +-
.../sandbox/icdar/2009/dibco/svg.1.binarization.cc | 4 +-
.../sandbox/icdar/2009/dibco/svg.2.binarization.cc | 8 ++--
.../sandbox/icdar/2009/dibco/svg.3.binarization.cc | 8 ++--
.../icdar/2009/hsc/dummy_input_to_words_dat.cc | 4 +-
.../sandbox/icdar/2009/hsc/first_attempts/boxes.cc | 2 +-
.../icdar/2009/hsc/first_attempts/exec/iz_lines.cc | 4 +-
.../2009/hsc/first_attempts/exec/relabel_lines.cc | 4 +-
.../sandbox/icdar/2009/hsc/first_attempts/main.cc | 6 +-
milena/sandbox/icdar/2009/hsc/icdar2ppm.hh | 4 +-
.../sandbox/icdar/2009/hsc/input_to_lines_dat.cc | 4 +-
.../sandbox/icdar/2009/hsc/input_to_words_dat.cc | 4 +-
milena/sandbox/icdar/2009/hsc/input_to_ws.hh | 4 +-
milena/sandbox/icdar/2009/hsc/input_to_wsl.cc | 4 +-
.../sandbox/icdar/2009/hsc/old_input_to_lines.cc | 4 +-
milena/sandbox/icdar/2009/hsc/ws_to_wsl.hh | 4 +-
milena/sandbox/inim/2010/boxes/boxes.cc | 2 +-
milena/sandbox/lazzara/igr/igr-biggest-comp.cc | 2 +-
milena/sandbox/lazzara/igr/igr-cloud.cc | 2 +-
milena/sandbox/lazzara/igr/igr.cc | 2 +-
milena/sandbox/scribo/debug/save_label_image.hh | 2 +-
milena/sandbox/scribo/demat.hh | 8 ++--
milena/sandbox/scribo/src/dmap.cc | 2 +-
.../sandbox/scribo/src/extract_text_double_link.cc | 6 +-
.../src/extract_text_double_several_links.cc | 4 +-
milena/sandbox/scribo/src/extract_text_graph.cc | 4 +-
.../scribo/src/extract_text_several_graph.cc | 2 +-
.../scribo/src/extract_text_several_left_links.cc | 2 +-
.../sandbox/scribo/src/extract_text_single_link.cc | 8 ++--
milena/sandbox/scribo/src/morpho.cc | 2 +-
milena/sandbox/scribo/src/photo_basic.cc | 4 +-
milena/sandbox/scribo/src/table_extract.cc | 2 +-
milena/sandbox/scribo/src/table_rebuild_opening.cc | 2 +-
milena/sandbox/scribo/src/table_rebuild_rank.cc | 2 +-
.../sandbox/scribo/table/internal/repair_lines.hh | 2 +-
milena/sandbox/theo/color/filter_blen_rgb_edges.cc | 6 +-
43 files changed, 132 insertions(+), 84 deletions(-)
diff --git a/milena/sandbox/ChangeLog b/milena/sandbox/ChangeLog
index d86c05e..be85cde 100644
--- a/milena/sandbox/ChangeLog
+++ b/milena/sandbox/ChangeLog
@@ -1,3 +1,51 @@
+2009-05-07 Thierry Geraud <thierry.geraud(a)lrde.epita.fr>
+
+ Fix missing updates about debug colorize.
+
+ * scribo/debug/save_label_image.hh,
+ * scribo/src/extract_text_single_link.cc,
+ * scribo/src/extract_text_graph.cc,
+ * scribo/src/morpho.cc,
+ * scribo/src/table_rebuild_rank.cc,
+ * scribo/src/extract_text_several_left_links.cc,
+ * scribo/src/table_rebuild_opening.cc,
+ * scribo/src/extract_text_several_graph.cc,
+ * scribo/src/dmap.cc,
+ * scribo/src/table_extract.cc,
+ * scribo/src/extract_text_double_link.cc,
+ * scribo/src/extract_text_double_several_links.cc,
+ * scribo/src/photo_basic.cc,
+ * scribo/table/internal/repair_lines.hh,
+ * scribo/demat.hh,
+ * icdar/2009/dibco/quasi.cc,
+ * icdar/2009/dibco/svg.1.binarization.cc,
+ * icdar/2009/dibco/svg.2.binarization.cc,
+ * icdar/2009/dibco/svg.3.binarization.cc,
+ * icdar/2009/dibco/binarization.cc,
+ * icdar/2009/hsc/icdar2ppm.hh,
+ * icdar/2009/hsc/input_to_words_dat.cc,
+ * icdar/2009/hsc/dummy_input_to_words_dat.cc,
+ * icdar/2009/hsc/input_to_lines_dat.cc,
+ * icdar/2009/hsc/input_to_ws.hh,
+ * icdar/2009/hsc/first_attempts/boxes.cc,
+ * icdar/2009/hsc/first_attempts/exec/iz_lines.cc,
+ * icdar/2009/hsc/first_attempts/exec/relabel_lines.cc,
+ * icdar/2009/hsc/first_attempts/main.cc,
+ * icdar/2009/hsc/input_to_wsl.cc,
+ * icdar/2009/hsc/old_input_to_lines.cc,
+ * icdar/2009/hsc/ws_to_wsl.hh,
+ * fabien/igr/seg_fixed.cc,
+ * fabien/igr/graph.cc,
+ * fabien/igr/nbasins_finder.cc,
+ * fabien/bin/dumpl32_to_colorize.cc,
+ * inim/2010/boxes/boxes.cc,
+ * theo/color/filter_blen_rgb_edges.cc,
+ * lazzara/igr/igr-biggest-comp.cc,
+ * lazzara/igr/igr.cc,
+ * lazzara/igr/igr-cloud.cc,
+ * edwin/inim/inim.cc:
+ Fix missing updates about debug colorize.
+
2009-05-07 Fabien Freling <fabien.freling(a)lrde.epita.fr>
Fixed watershed, now works on edges.
diff --git a/milena/sandbox/edwin/inim/inim.cc b/milena/sandbox/edwin/inim/inim.cc
index 9c6f38e..5dca4bd 100644
--- a/milena/sandbox/edwin/inim/inim.cc
+++ b/milena/sandbox/edwin/inim/inim.cc
@@ -43,7 +43,7 @@
#include <mln/level/stretch.hh>
#include <mln/value/label_8.hh>
#include <mln/labeling/blobs.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
/* Draw debug */
#include <mln/draw/box.hh>
@@ -241,7 +241,7 @@ int main(int argc, char* argv[])
typedef mln_ch_value_(I, value::rgb<8>) O;
value::label_8 nlabel;
L label = labeling::blobs(mask, c4(), nlabel);
- O output = debug::colorize(value::rgb8(), label, nlabel);
+ O output = labeling::colorize(value::rgb8(), label, nlabel);
io::ppm::save(output, "label.pgm");
/* Now store output image image */
diff --git a/milena/sandbox/fabien/bin/dumpl32_to_colorize.cc
b/milena/sandbox/fabien/bin/dumpl32_to_colorize.cc
index 7f42c29..dba50ec 100644
--- a/milena/sandbox/fabien/bin/dumpl32_to_colorize.cc
+++ b/milena/sandbox/fabien/bin/dumpl32_to_colorize.cc
@@ -1,7 +1,7 @@
#include <mln/core/image/image2d.hh>
#include <mln/make/image3d.hh>
#include <mln/debug/slices_2d.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/value/int_u8.hh>
#include <mln/value/int_u12.hh>
@@ -44,14 +44,14 @@ int main(int argc, char* argv[])
{
image2d<label_32> ima2d;
io::dump::load(ima2d, argv[1]);
- image2d<rgb8> ima_rgb = debug::colorize(rgb8(), ima2d, nbasins);
+ image2d<rgb8> ima_rgb = labeling::colorize(rgb8(), ima2d, nbasins);
io::ppm::save(ima_rgb, argv[4]);
}
else
{
image3d<label_32> ima3d;
io::dump::load(ima3d, argv[1]);
- image3d<rgb8> ima_rgb = debug::colorize(rgb8(), ima3d, nbasins);
+ image3d<rgb8> ima_rgb = labeling::colorize(rgb8(), ima3d, nbasins);
image2d<rgb8> ima_result = debug::slices_2d(ima_rgb, 1.f, literal::black);
io::ppm::save(ima_result, argv[4]);
diff --git a/milena/sandbox/fabien/igr/graph.cc b/milena/sandbox/fabien/igr/graph.cc
index bfed8e7..7402f23 100644
--- a/milena/sandbox/fabien/igr/graph.cc
+++ b/milena/sandbox/fabien/igr/graph.cc
@@ -55,7 +55,7 @@
#include <mln/extract/all.hh>
#include <mln/make/region_adjacency_graph.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
@@ -324,8 +324,8 @@ int main(int argc, char *argv[])
mln_VAR(mean, level::stretch(int_u8(), labeling::mean_values(dcm, wsd2, nbasins2)));
io::pgm::save(original, "wsd_original.pgm");
io::pgm::save(mean, "wsd_mean_colors.pgm");
- io::ppm::save(debug::colorize(rgb8(), wshed, nbasins),
"wsd_colorize_01.ppm");
- io::ppm::save(debug::colorize(rgb8(), wsd2, nbasins2),
"wsd_colorize_02.ppm");
+ io::ppm::save(labeling::colorize(rgb8(), wshed, nbasins),
"wsd_colorize_01.ppm");
+ io::ppm::save(labeling::colorize(rgb8(), wsd2, nbasins2),
"wsd_colorize_02.ppm");
}
else
{
diff --git a/milena/sandbox/fabien/igr/nbasins_finder.cc
b/milena/sandbox/fabien/igr/nbasins_finder.cc
index cbb3caf..aecfbfa 100644
--- a/milena/sandbox/fabien/igr/nbasins_finder.cc
+++ b/milena/sandbox/fabien/igr/nbasins_finder.cc
@@ -27,7 +27,7 @@
#include <mln/fun/l2l/wrap.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
std::cout << " nbasins = " << nbasins << std::endl;
//io::dump::save(level::transform(wshed, fun::l2l::wrap<int_u8>()),
"result_nbasins.dump");
//io::dump::save(level::stretch(int_u8(), wshed), "result_nbasins.dump");
- io::dump::save(debug::colorize(rgb8(), wshed, nbasins),
"result_nbasins.dump");
+ io::dump::save(labeling::colorize(rgb8(), wshed, nbasins),
"result_nbasins.dump");
return 0;
}
diff --git a/milena/sandbox/fabien/igr/seg_fixed.cc
b/milena/sandbox/fabien/igr/seg_fixed.cc
index d0b759f..2f2acbe 100644
--- a/milena/sandbox/fabien/igr/seg_fixed.cc
+++ b/milena/sandbox/fabien/igr/seg_fixed.cc
@@ -43,7 +43,7 @@
#include <mln/world/inter_pixel/neighb2d.hh>
#include <mln/world/inter_pixel/is_pixel.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/debug/println.hh>
@@ -284,7 +284,7 @@ int main(int argc, char* argv[])
mln_VAR(w, wst.unmorph_());
data::fill((w | (!world::inter_pixel::is_separator())).rw(), nbasins.next());
- io::ppm::save(debug::colorize(value::rgb8(), w, nbasins.next()),
"result.ppm");
+ io::ppm::save(labeling::colorize(value::rgb8(), w, nbasins.next()),
"result.ppm");
diff --git a/milena/sandbox/icdar/2009/dibco/binarization.cc
b/milena/sandbox/icdar/2009/dibco/binarization.cc
index 14f4495..786df7a 100644
--- a/milena/sandbox/icdar/2009/dibco/binarization.cc
+++ b/milena/sandbox/icdar/2009/dibco/binarization.cc
@@ -41,7 +41,7 @@
#include <mln/make/rag_and_labeled_wsl.hh>
#include <mln/util/graph.hh>
#include <mln/util/couple.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/fun/i2v/array.hh>
#include <mln/labeling/compute.hh>
@@ -636,7 +636,7 @@ int main(int argc, char *argv[])
if (echo)
{
- io::ppm::save(display_edge(debug::colorize(rgb8(),
+ io::ppm::save(display_edge(labeling::colorize(rgb8(),
wst,
nbasins).unmorph_(),
literal::black,
@@ -662,7 +662,7 @@ int main(int argc, char *argv[])
if (echo)
{
- io::ppm::save(debug::colorize(rgb8(), ws, nbasins),
+ io::ppm::save(labeling::colorize(rgb8(), ws, nbasins),
"temp_ws.ppm");
}
@@ -689,7 +689,7 @@ int main(int argc, char *argv[])
if (echo)
- io::ppm::save(debug::colorize(rgb8(), w_all, nbasins),
+ io::ppm::save(labeling::colorize(rgb8(), w_all, nbasins),
"temp_w_all.ppm");
diff --git a/milena/sandbox/icdar/2009/dibco/quasi.cc
b/milena/sandbox/icdar/2009/dibco/quasi.cc
index 08baf05..6ad69fc 100644
--- a/milena/sandbox/icdar/2009/dibco/quasi.cc
+++ b/milena/sandbox/icdar/2009/dibco/quasi.cc
@@ -14,7 +14,7 @@
#include <mln/value/int_u8.hh>
#include <mln/io/pbm/save.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/fun/i2v/array.hh>
#include <mln/labeling/regional_minima.hh>
diff --git a/milena/sandbox/icdar/2009/dibco/svg.1.binarization.cc
b/milena/sandbox/icdar/2009/dibco/svg.1.binarization.cc
index 119c64b..f6824ea 100644
--- a/milena/sandbox/icdar/2009/dibco/svg.1.binarization.cc
+++ b/milena/sandbox/icdar/2009/dibco/svg.1.binarization.cc
@@ -33,7 +33,7 @@
#include <mln/make/rag_and_labeled_wsl.hh>
#include <mln/util/graph.hh>
#include <mln/util/couple.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/fun/i2v/array.hh>
#include <mln/labeling/compute.hh>
@@ -335,7 +335,7 @@ int main(int argc, char *argv[])
label_16 nbasins;
image2d<label_16> wst = morpho::watershed::flooding(clo_vol, c4(), nbasins);
-// io::ppm::save(debug::colorize(rgb8(), wst, nbasins),
"binarization_wst.ppm");
+// io::ppm::save(labeling::colorize(rgb8(), wst, nbasins),
"binarization_wst.ppm");
util::couple<util::graph, image2d<label_16> >
diff --git a/milena/sandbox/icdar/2009/dibco/svg.2.binarization.cc
b/milena/sandbox/icdar/2009/dibco/svg.2.binarization.cc
index 20a0505..daebc17 100644
--- a/milena/sandbox/icdar/2009/dibco/svg.2.binarization.cc
+++ b/milena/sandbox/icdar/2009/dibco/svg.2.binarization.cc
@@ -39,7 +39,7 @@
#include <mln/make/rag_and_labeled_wsl.hh>
#include <mln/util/graph.hh>
#include <mln/util/couple.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/fun/i2v/array.hh>
#include <mln/labeling/compute.hh>
@@ -554,7 +554,7 @@ int main(int argc, char *argv[])
if (echo)
{
- io::ppm::save(display_edge(debug::colorize(rgb8(),
+ io::ppm::save(display_edge(labeling::colorize(rgb8(),
wst,
nbasins).unmorph_(),
literal::black,
@@ -580,7 +580,7 @@ int main(int argc, char *argv[])
if (echo)
{
- io::ppm::save(debug::colorize(rgb8(), ws, nbasins),
+ io::ppm::save(labeling::colorize(rgb8(), ws, nbasins),
"temp_ws.ppm");
}
@@ -607,7 +607,7 @@ int main(int argc, char *argv[])
if (echo)
- io::ppm::save(debug::colorize(rgb8(), w_all, nbasins),
+ io::ppm::save(labeling::colorize(rgb8(), w_all, nbasins),
"temp_w_all.ppm");
diff --git a/milena/sandbox/icdar/2009/dibco/svg.3.binarization.cc
b/milena/sandbox/icdar/2009/dibco/svg.3.binarization.cc
index 86214c6..1fa40d7 100644
--- a/milena/sandbox/icdar/2009/dibco/svg.3.binarization.cc
+++ b/milena/sandbox/icdar/2009/dibco/svg.3.binarization.cc
@@ -41,7 +41,7 @@
#include <mln/make/rag_and_labeled_wsl.hh>
#include <mln/util/graph.hh>
#include <mln/util/couple.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/fun/i2v/array.hh>
#include <mln/labeling/compute.hh>
@@ -657,7 +657,7 @@ int main(int argc, char *argv[])
if (echo)
{
- io::ppm::save(display_edge(debug::colorize(rgb8(),
+ io::ppm::save(display_edge(labeling::colorize(rgb8(),
wst,
nbasins).unmorph_(),
literal::black,
@@ -683,7 +683,7 @@ int main(int argc, char *argv[])
if (echo)
{
- io::ppm::save(debug::colorize(rgb8(), ws, nbasins),
+ io::ppm::save(labeling::colorize(rgb8(), ws, nbasins),
"temp_ws.ppm");
}
@@ -710,7 +710,7 @@ int main(int argc, char *argv[])
if (echo)
- io::ppm::save(debug::colorize(rgb8(), w_all, nbasins),
+ io::ppm::save(labeling::colorize(rgb8(), w_all, nbasins),
"temp_w_all.ppm");
diff --git a/milena/sandbox/icdar/2009/hsc/dummy_input_to_words_dat.cc
b/milena/sandbox/icdar/2009/hsc/dummy_input_to_words_dat.cc
index 23bad06..353fb00 100644
--- a/milena/sandbox/icdar/2009/hsc/dummy_input_to_words_dat.cc
+++ b/milena/sandbox/icdar/2009/hsc/dummy_input_to_words_dat.cc
@@ -3,7 +3,7 @@
#include <mln/io/pbm/load.hh>
#include <mln/io/ppm/save.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <sandbox/icdar/2009/hsc/clean_input.hh>
#include <sandbox/icdar/2009/hsc/line_to_words.hh>
@@ -49,7 +49,7 @@ int main(int argc, char* argv[])
if (argc == 4)
{
- io::ppm::save(debug::colorize(value::rgb8(),
+ io::ppm::save(labeling::colorize(value::rgb8(),
output,
n_words),
argv[3]);
diff --git a/milena/sandbox/icdar/2009/hsc/first_attempts/boxes.cc
b/milena/sandbox/icdar/2009/hsc/first_attempts/boxes.cc
index 9742c1f..18792ea 100644
--- a/milena/sandbox/icdar/2009/hsc/first_attempts/boxes.cc
+++ b/milena/sandbox/icdar/2009/hsc/first_attempts/boxes.cc
@@ -28,7 +28,7 @@
#include <iostream>
#include <mln/essential/2d.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/debug/println.hh>
#include <scribo/text/extract_bboxes.hh>
diff --git a/milena/sandbox/icdar/2009/hsc/first_attempts/exec/iz_lines.cc
b/milena/sandbox/icdar/2009/hsc/first_attempts/exec/iz_lines.cc
index 471657d..7df51ef 100644
--- a/milena/sandbox/icdar/2009/hsc/first_attempts/exec/iz_lines.cc
+++ b/milena/sandbox/icdar/2009/hsc/first_attempts/exec/iz_lines.cc
@@ -9,7 +9,7 @@
#include <mln/data/paste.hh>
#include <mln/pw/all.hh>
-// #include <mln/debug/colorize.hh>
+// #include <mln/labeling/colorize.hh>
#include <mln/transform/influence_zone_geodesic.hh>
@@ -99,7 +99,7 @@ int main(int argc, char* argv[])
io::pgm::save(out, argv[3]);
-// io::ppm::save(debug::colorize(value::rgb8(), out, 254),
+// io::ppm::save(labeling::colorize(value::rgb8(), out, 254),
// argv[3]);
trace::exiting("main");
diff --git a/milena/sandbox/icdar/2009/hsc/first_attempts/exec/relabel_lines.cc
b/milena/sandbox/icdar/2009/hsc/first_attempts/exec/relabel_lines.cc
index f7c9008..6f86fbe 100644
--- a/milena/sandbox/icdar/2009/hsc/first_attempts/exec/relabel_lines.cc
+++ b/milena/sandbox/icdar/2009/hsc/first_attempts/exec/relabel_lines.cc
@@ -13,7 +13,7 @@
#include <mln/accu/maj_h.hh>
#include <mln/morpho/elementary/dilation.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/transform/influence_zone_geodesic.hh>
#include <mln/level/transform.hh>
@@ -289,7 +289,7 @@ int main(int argc, char* argv[])
image2d<L> out = doit_cut(ws_txt, ws_spc);
- io::ppm::save(debug::colorize(value::rgb8(), out, 254),
+ io::ppm::save(labeling::colorize(value::rgb8(), out, 254),
argv[3]);
trace::exiting("main");
diff --git a/milena/sandbox/icdar/2009/hsc/first_attempts/main.cc
b/milena/sandbox/icdar/2009/hsc/first_attempts/main.cc
index 84892ea..8c4b331 100644
--- a/milena/sandbox/icdar/2009/hsc/first_attempts/main.cc
+++ b/milena/sandbox/icdar/2009/hsc/first_attempts/main.cc
@@ -14,7 +14,7 @@
#include <mln/value/int_u8.hh>
#include <mln/value/rgb8.hh>
#include <mln/literal/colors.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/io/pbm/load.hh>
#include <mln/io/pbm/save.hh>
@@ -345,7 +345,7 @@ int main(int argc, char* argv[])
# ifdef LOG
{
- io::ppm::save(debug::colorize(rgb8(), spc, n_basins),
+ io::ppm::save(labeling::colorize(rgb8(), spc, n_basins),
"tmp_spc.ppm");
io::pgm::save(ws, "tmp_ws.pgm");
@@ -363,7 +363,7 @@ int main(int argc, char* argv[])
image2d<int_u8> output(input.domain());
image2d<rgb8>
- cool = debug::colorize(rgb8(), spc, n_basins),
+ cool = labeling::colorize(rgb8(), spc, n_basins),
lab(input.domain());
mln_piter_(box2d) p(input.domain());
diff --git a/milena/sandbox/icdar/2009/hsc/icdar2ppm.hh
b/milena/sandbox/icdar/2009/hsc/icdar2ppm.hh
index eca8c84..31913f7 100644
--- a/milena/sandbox/icdar/2009/hsc/icdar2ppm.hh
+++ b/milena/sandbox/icdar/2009/hsc/icdar2ppm.hh
@@ -6,7 +6,7 @@
# include <mln/value/rgb8.hh>
# include <mln/level/compute.hh>
# include <mln/accu/count_labels.hh>
-# include <mln/debug/colorize.hh>
+# include <mln/labeling/colorize.hh>
# include <mln/io/ppm/save.hh>
# include <mln/io/pbm/load.hh>
@@ -27,7 +27,7 @@ namespace mln
value::label_8 nlines = level::compute(accu::meta::count_labels(), ima);
- io::ppm::save(debug::colorize(value::rgb8(), ima, nlines), ppmfile);
+ io::ppm::save(labeling::colorize(value::rgb8(), ima, nlines), ppmfile);
}
}
diff --git a/milena/sandbox/icdar/2009/hsc/input_to_lines_dat.cc
b/milena/sandbox/icdar/2009/hsc/input_to_lines_dat.cc
index 7dd3021..ba7f668 100644
--- a/milena/sandbox/icdar/2009/hsc/input_to_lines_dat.cc
+++ b/milena/sandbox/icdar/2009/hsc/input_to_lines_dat.cc
@@ -2,7 +2,7 @@
#include <sandbox/icdar/2009/hsc/io/icdar/save.hh>
#include <mln/value/rgb8.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/io/pbm/load.hh>
#include <mln/io/pgm/save.hh>
@@ -43,7 +43,7 @@ int main(int argc, char* argv[])
if (argc == 4)
{
- io::ppm::save(debug::colorize(value::rgb8(),
+ io::ppm::save(labeling::colorize(value::rgb8(),
output,
n_lines),
argv[3]);
diff --git a/milena/sandbox/icdar/2009/hsc/input_to_words_dat.cc
b/milena/sandbox/icdar/2009/hsc/input_to_words_dat.cc
index ac989f3..e6b01ca 100644
--- a/milena/sandbox/icdar/2009/hsc/input_to_words_dat.cc
+++ b/milena/sandbox/icdar/2009/hsc/input_to_words_dat.cc
@@ -3,7 +3,7 @@
#include <mln/io/pbm/load.hh>
#include <mln/io/ppm/save.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/estim/min_max.hh>
#include <sandbox/icdar/2009/hsc/input_to_lines.hh>
@@ -101,7 +101,7 @@ int main(int argc, char* argv[])
if (argc == 4)
{
- io::ppm::save(debug::colorize(value::rgb8(),
+ io::ppm::save(labeling::colorize(value::rgb8(),
output,
n_words),
argv[3]);
diff --git a/milena/sandbox/icdar/2009/hsc/input_to_ws.hh
b/milena/sandbox/icdar/2009/hsc/input_to_ws.hh
index e2289f6..a1ea537 100644
--- a/milena/sandbox/icdar/2009/hsc/input_to_ws.hh
+++ b/milena/sandbox/icdar/2009/hsc/input_to_ws.hh
@@ -16,7 +16,7 @@
#include <mln/io/pgm/save.hh>
#include <mln/io/ppm/save.hh>
#include <mln/literal/colors.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/level/convert.hh>
#include <mln/labeling/wrap.hh>
#include <mln/pw/all.hh>
@@ -92,7 +92,7 @@ namespace mln
}
{
// Watershed basins colorize the small image.
- image2d<value::rgb8> cool = debug::colorize(value::rgb8(), ws, n_lines);
+ image2d<value::rgb8> cool = labeling::colorize(value::rgb8(), ws, n_lines);
data::fill((cool | (pw::value(ws) == pw::cst(0))).rw(),
literal::white);
mln_piter(box2d) p(small.domain());
diff --git a/milena/sandbox/icdar/2009/hsc/input_to_wsl.cc
b/milena/sandbox/icdar/2009/hsc/input_to_wsl.cc
index b3a71d0..819f353 100644
--- a/milena/sandbox/icdar/2009/hsc/input_to_wsl.cc
+++ b/milena/sandbox/icdar/2009/hsc/input_to_wsl.cc
@@ -5,7 +5,7 @@
#include <mln/value/int_u8.hh>
#include <mln/value/rgb8.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/io/pbm/load.hh>
#include <mln/io/pgm/save.hh>
@@ -57,7 +57,7 @@ int main(int argc, char* argv[])
if (argc == 4)
{
- io::ppm::save(debug::colorize(value::rgb8(),
+ io::ppm::save(labeling::colorize(value::rgb8(),
wsl,
n_lines),
argv[3]);
diff --git a/milena/sandbox/icdar/2009/hsc/old_input_to_lines.cc
b/milena/sandbox/icdar/2009/hsc/old_input_to_lines.cc
index e56e166..212b077 100644
--- a/milena/sandbox/icdar/2009/hsc/old_input_to_lines.cc
+++ b/milena/sandbox/icdar/2009/hsc/old_input_to_lines.cc
@@ -14,7 +14,7 @@
#include <mln/value/int_u8.hh>
#include <mln/value/rgb8.hh>
#include <mln/literal/colors.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/io/pbm/load.hh>
#include <mln/io/pbm/save.hh>
@@ -348,7 +348,7 @@ int main(int argc, char* argv[])
# ifdef LOG
{
- io::ppm::save(debug::colorize(rgb8(), spc, n_basins),
+ io::ppm::save(labeling::colorize(rgb8(), spc, n_basins),
"tmp_spc.ppm");
io::pgm::save(ws, "tmp_ws.pgm");
diff --git a/milena/sandbox/icdar/2009/hsc/ws_to_wsl.hh
b/milena/sandbox/icdar/2009/hsc/ws_to_wsl.hh
index 200461d..1f27525 100644
--- a/milena/sandbox/icdar/2009/hsc/ws_to_wsl.hh
+++ b/milena/sandbox/icdar/2009/hsc/ws_to_wsl.hh
@@ -37,7 +37,7 @@
#include <mln/fun/i2v/array.hh>
#include <mln/level/transform.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
@@ -407,7 +407,7 @@ namespace mln
f_relab(l) = parent[l];
image2d<L> ws_ = level::transform(ws, f_relab);
- image2d<rgb8> cool = debug::colorize(rgb8(), ws_, n_basins);
+ image2d<rgb8> cool = labeling::colorize(rgb8(), ws_, n_basins);
data::fill((cool | (pw::value(ws) == pw::cst(0))).rw(),
literal::white);
mln_piter(box2d) p(small.domain());
diff --git a/milena/sandbox/inim/2010/boxes/boxes.cc
b/milena/sandbox/inim/2010/boxes/boxes.cc
index 8944974..3790ec5 100644
--- a/milena/sandbox/inim/2010/boxes/boxes.cc
+++ b/milena/sandbox/inim/2010/boxes/boxes.cc
@@ -28,7 +28,7 @@
#include <iostream>
#include <mln/essential/2d.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/debug/println.hh>
#include <scribo/text/extract_bboxes.hh>
diff --git a/milena/sandbox/lazzara/igr/igr-biggest-comp.cc
b/milena/sandbox/lazzara/igr/igr-biggest-comp.cc
index ecfc7a1..a59176f 100644
--- a/milena/sandbox/lazzara/igr/igr-biggest-comp.cc
+++ b/milena/sandbox/lazzara/igr/igr-biggest-comp.cc
@@ -5,7 +5,7 @@
#include <mln/labeling/flat_zones.hh>
#include <mln/labeling/background.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/essential/3d.hh>
diff --git a/milena/sandbox/lazzara/igr/igr-cloud.cc
b/milena/sandbox/lazzara/igr/igr-cloud.cc
index 18d976f..df4b7c8 100644
--- a/milena/sandbox/lazzara/igr/igr-cloud.cc
+++ b/milena/sandbox/lazzara/igr/igr-cloud.cc
@@ -20,7 +20,7 @@
# include <mln/io/ppm/save.hh>
# include <mln/io/pbm/save.hh>
-# include <mln/debug/colorize.hh>
+# include <mln/labeling/colorize.hh>
# include <mln/literal/black.hh>
# include <mln/literal/white.hh>
diff --git a/milena/sandbox/lazzara/igr/igr.cc b/milena/sandbox/lazzara/igr/igr.cc
index 98e1ce4..fffd88f 100644
--- a/milena/sandbox/lazzara/igr/igr.cc
+++ b/milena/sandbox/lazzara/igr/igr.cc
@@ -4,7 +4,7 @@
#include <mln/binarization/binarization.hh>
#include <mln/labeling/background.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
//#include <mln/registration/registration.hh>
//#include <mln/registration/multiscale.hh>
diff --git a/milena/sandbox/scribo/debug/save_label_image.hh
b/milena/sandbox/scribo/debug/save_label_image.hh
index e9b01f1..1a8036c 100644
--- a/milena/sandbox/scribo/debug/save_label_image.hh
+++ b/milena/sandbox/scribo/debug/save_label_image.hh
@@ -59,7 +59,7 @@ namespace scribo
mlc_is_a(mln_value(I), mln::value::Symbolic)::check();
mln_precondition(exact(lbl).is_valid());
- io::ppm::save(debug::colorize(rgb8(), lbl, nlabels), filename);
+ io::ppm::save(labeling::colorize(rgb8(), lbl, nlabels), filename);
trace::exiting("scribo::debug::save_label_image");
}
diff --git a/milena/sandbox/scribo/demat.hh b/milena/sandbox/scribo/demat.hh
index 06e22da..e8c0e7b 100644
--- a/milena/sandbox/scribo/demat.hh
+++ b/milena/sandbox/scribo/demat.hh
@@ -182,7 +182,7 @@ namespace scribo
void save_lbl_image(const image2d<V>& lbl, unsigned nlabels,
const char *filename)
{
- image2d<rgb8> output = debug::colorize(rgb8(), lbl, nlabels);
+ image2d<rgb8> output = labeling::colorize(rgb8(), lbl, nlabels);
io::ppm::save(output, output_file(filename));
}
@@ -1375,7 +1375,7 @@ namespace scribo
std::cout << "map text to cells" << std::endl;
label_16 nlabels;
image2d<label_16> tblelbl = labeling::background(table, c8(), nlabels);
- image2d<rgb8> color = debug::colorize(rgb8(), tblelbl, nlabels);
+ image2d<rgb8> color = labeling::colorize(rgb8(), tblelbl, nlabels);
# ifndef NOUT
io::ppm::save(color, output_file("cells-labels.ppm"));
@@ -1395,7 +1395,7 @@ namespace scribo
{
std::cout << "Merging aligned text boxes" << std::endl;
- io::ppm::save(debug::colorize(rgb8(), lbl, nlabels),
+ io::ppm::save(labeling::colorize(rgb8(), lbl, nlabels),
output_file("tboxes-lbl.ppm"));
typedef util::couple<image2d<unsigned>, image2d<label_16> >
cpl_t;
@@ -1406,7 +1406,7 @@ namespace scribo
#ifndef NOUT
io::pgm::save(level::transform(diz.first(), fun::l2l::wrap<label_8>()),
output_file("tboxes-dmap.pgm"));
- io::ppm::save(debug::colorize(rgb8(), diz.second(), nlabels),
+ io::ppm::save(labeling::colorize(rgb8(), diz.second(), nlabels),
output_file("tboxes-iz.ppm"));
#endif
diff --git a/milena/sandbox/scribo/src/dmap.cc b/milena/sandbox/scribo/src/dmap.cc
index dac40ba..0375691 100644
--- a/milena/sandbox/scribo/src/dmap.cc
+++ b/milena/sandbox/scribo/src/dmap.cc
@@ -21,6 +21,6 @@ int main(int, char *argv[])
mln_VAR(res, transform::distance_and_influence_zone_geodesic(lbl, c8(),
mln_max(unsigned)));
io::pgm::save(level::transform(res.first(), fun::l2l::wrap<label_8>()),
"dmap.pgm");
- io::ppm::save(debug::colorize(value::rgb8(), res.second(), nlabels),
"iz.ppm");
+ io::ppm::save(labeling::colorize(value::rgb8(), res.second(), nlabels),
"iz.ppm");
}
diff --git a/milena/sandbox/scribo/src/extract_text_double_link.cc
b/milena/sandbox/scribo/src/extract_text_double_link.cc
index d7de94b..88f8247 100644
--- a/milena/sandbox/scribo/src/extract_text_double_link.cc
+++ b/milena/sandbox/scribo/src/extract_text_double_link.cc
@@ -28,7 +28,7 @@
#include <iostream>
#include <mln/essential/2d.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/debug/println.hh>
#include <scribo/text/extract_bboxes.hh>
@@ -89,7 +89,7 @@ int main(int argc, char* argv[])
literal::green,
scribo::make::debug_filename("links.ppm"));
-// io::ppm::save(mln::debug::colorize(value::rgb8(),
+// io::ppm::save(mln::labeling::colorize(value::rgb8(),
// text.label_image(),
// text.nbboxes()),
// scribo::make::debug_filename("lbl_before.ppm"));
@@ -98,7 +98,7 @@ int main(int argc, char* argv[])
scribo::util::text<image2d<value::label_16> > grouped_text
= text::grouping::group_from_double_link(text, left_link, right_link);
- io::ppm::save(mln::debug::colorize(value::rgb8(),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(),
grouped_text.label_image(),
grouped_text.nbboxes()),
scribo::make::debug_filename("label_color.ppm"));
diff --git a/milena/sandbox/scribo/src/extract_text_double_several_links.cc
b/milena/sandbox/scribo/src/extract_text_double_several_links.cc
index 1fead0a..59dad73 100644
--- a/milena/sandbox/scribo/src/extract_text_double_several_links.cc
+++ b/milena/sandbox/scribo/src/extract_text_double_several_links.cc
@@ -28,7 +28,7 @@
#include <iostream>
#include <mln/essential/2d.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/util/timer.hh>
#include <scribo/text/extract_bboxes.hh>
@@ -110,7 +110,7 @@ int main(int argc, char* argv[])
std::cout << "Full process: " << t2 << std::endl;
std::cout << "Cleanup and grouping process: " << t3 <<
std::endl;
- io::ppm::save(mln::debug::colorize(value::rgb8(),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(),
grouped_text.label_image(),
grouped_text.nbboxes()),
scribo::make::debug_filename("label_color.ppm"));
diff --git a/milena/sandbox/scribo/src/extract_text_graph.cc
b/milena/sandbox/scribo/src/extract_text_graph.cc
index fdcf54b..99f9a18 100644
--- a/milena/sandbox/scribo/src/extract_text_graph.cc
+++ b/milena/sandbox/scribo/src/extract_text_graph.cc
@@ -67,7 +67,7 @@ int main(int argc, char* argv[])
text, g,
literal::red, literal::cyan,
scribo::make::debug_filename("left_linked.ppm"));
-// io::ppm::save(mln::debug::colorize(value::rgb8(),
+// io::ppm::save(mln::labeling::colorize(value::rgb8(),
// text.label_image(),
// text.nbboxes()),
// scribo::make::debug_filename("lbl_before.ppm"));
@@ -80,7 +80,7 @@ int main(int argc, char* argv[])
scribo::debug::save_textbboxes_image(input, grouped_text.bboxes(),
literal::red,
scribo::make::debug_filename("grouped_text.ppm"));
- io::ppm::save(mln::debug::colorize(value::rgb8(),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(),
grouped_text.label_image(),
grouped_text.nbboxes()),
scribo::make::debug_filename("label_color.ppm"));
diff --git a/milena/sandbox/scribo/src/extract_text_several_graph.cc
b/milena/sandbox/scribo/src/extract_text_several_graph.cc
index 8c84bc9..17816a0 100644
--- a/milena/sandbox/scribo/src/extract_text_several_graph.cc
+++ b/milena/sandbox/scribo/src/extract_text_several_graph.cc
@@ -76,7 +76,7 @@ int main(int argc, char* argv[])
scribo::debug::save_textbboxes_image(input, grouped_text.bboxes(),
literal::red,
scribo::make::debug_filename("grouped_text.ppm"));
- io::ppm::save(mln::debug::colorize(value::rgb8(),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(),
grouped_text.label_image(),
grouped_text.nbboxes()),
scribo::make::debug_filename("label_color.ppm"));
diff --git a/milena/sandbox/scribo/src/extract_text_several_left_links.cc
b/milena/sandbox/scribo/src/extract_text_several_left_links.cc
index a050ff3..2ad6ef3 100644
--- a/milena/sandbox/scribo/src/extract_text_several_left_links.cc
+++ b/milena/sandbox/scribo/src/extract_text_several_left_links.cc
@@ -75,7 +75,7 @@ int main(int argc, char* argv[])
= text::grouping::group_from_single_link(text, left_link);
std::cout << "AFTER - nbboxes = " <<
grouped_text.bboxes().nelements() << std::endl;
- io::ppm::save(mln::debug::colorize(value::rgb8(),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(),
grouped_text.label_image(),
grouped_text.nbboxes()),
scribo::make::debug_filename("left_label_color.ppm"));
diff --git a/milena/sandbox/scribo/src/extract_text_single_link.cc
b/milena/sandbox/scribo/src/extract_text_single_link.cc
index 640f9f2..55e5068 100644
--- a/milena/sandbox/scribo/src/extract_text_single_link.cc
+++ b/milena/sandbox/scribo/src/extract_text_single_link.cc
@@ -71,7 +71,7 @@ int main(int argc, char* argv[])
text, left_link,
literal::red, literal::cyan,
scribo::make::debug_filename("left_links.ppm"));
-// io::ppm::save(mln::debug::colorize(value::rgb8(),
+// io::ppm::save(mln::labeling::colorize(value::rgb8(),
// text.label_image(),
// text.nbboxes()),
// scribo::make::debug_filename("lbl_before.ppm"));
@@ -80,7 +80,7 @@ int main(int argc, char* argv[])
= text::grouping::group_from_single_link(text, left_link);
std::cout << "AFTER - nbboxes = " <<
grouped_text.bboxes().nelements() << std::endl;
- io::ppm::save(mln::debug::colorize(value::rgb8(),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(),
grouped_text.label_image(),
grouped_text.nbboxes()),
scribo::make::debug_filename("left_label_color.ppm"));
@@ -99,7 +99,7 @@ int main(int argc, char* argv[])
text, right_link,
literal::red, literal::cyan,
scribo::make::debug_filename("right_links.ppm"));
-// io::ppm::save(mln::debug::colorize(value::rgb8(),
+// io::ppm::save(mln::labeling::colorize(value::rgb8(),
// text.label_image(),
// text.nbboxes()),
// scribo::make::debug_filename("lbl_before.ppm"));
@@ -107,7 +107,7 @@ int main(int argc, char* argv[])
scribo::util::text<image2d<value::label_16> > grouped_text
= text::grouping::group_from_single_link(text, right_link);
- io::ppm::save(mln::debug::colorize(value::rgb8(),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(),
grouped_text.label_image(),
grouped_text.nbboxes()),
scribo::make::debug_filename("right_label_color.ppm"));
diff --git a/milena/sandbox/scribo/src/morpho.cc b/milena/sandbox/scribo/src/morpho.cc
index 27b9f98..2195fcf 100644
--- a/milena/sandbox/scribo/src/morpho.cc
+++ b/milena/sandbox/scribo/src/morpho.cc
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
mln_VAR(res, transform::distance_and_influence_zone_geodesic(lbl, c8(),
mln_max(unsigned)));
io::pgm::save(level::transform(res.first(), fun::l2l::wrap<label_8>()),
"dmap.pgm");
- io::ppm::save(debug::colorize(rgb8(), res.second(), nlabels), "iz.ppm");
+ io::ppm::save(labeling::colorize(rgb8(), res.second(), nlabels), "iz.ppm");
image2d<unsigned>& dmap = res.first();
{
diff --git a/milena/sandbox/scribo/src/photo_basic.cc
b/milena/sandbox/scribo/src/photo_basic.cc
index 871da36..9b2767a 100644
--- a/milena/sandbox/scribo/src/photo_basic.cc
+++ b/milena/sandbox/scribo/src/photo_basic.cc
@@ -28,7 +28,7 @@
#include <iostream>
#include <mln/essential/2d.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <scribo/text/extract_bboxes.hh>
#include <scribo/text/grouping/group_with_single_left_link.hh>
@@ -101,7 +101,7 @@ int main(int argc, char* argv[])
literal::red,
scribo::make::debug_filename("test_graph_grouped_text.ppm"));
- io::ppm::save(mln::debug::colorize(value::rgb8(), grouped_textbboxes.label_image(),
grouped_textbboxes.nbboxes()),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(), grouped_textbboxes.label_image(),
grouped_textbboxes.nbboxes()),
scribo::make::debug_filename("grouped_text_comps.ppm"));
}
diff --git a/milena/sandbox/scribo/src/table_extract.cc
b/milena/sandbox/scribo/src/table_extract.cc
index 273bd5d..b184e53 100644
--- a/milena/sandbox/scribo/src/table_extract.cc
+++ b/milena/sandbox/scribo/src/table_extract.cc
@@ -60,7 +60,7 @@ int main(int argc, char* argv[])
image2d<value::label_16> tables = scribo::table::extract(input, ncells).first();
std::cout << "ncells (including background) = " << ncells
<< std::endl;
- io::ppm::save(mln::debug::colorize(value::rgb8(), tables, ncells),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(), tables, ncells),
scribo::make::debug_filename("table_cells.ppm"));
io::dump::save(tables, scribo::make::debug_filename("table_cells.dump"));
diff --git a/milena/sandbox/scribo/src/table_rebuild_opening.cc
b/milena/sandbox/scribo/src/table_rebuild_opening.cc
index 0add582..92865c1 100644
--- a/milena/sandbox/scribo/src/table_rebuild_opening.cc
+++ b/milena/sandbox/scribo/src/table_rebuild_opening.cc
@@ -71,7 +71,7 @@ int main(int argc, char* argv[])
std::cout << "ncells (including background) = " << ncells
<< std::endl;
- io::ppm::save(mln::debug::colorize(value::rgb8(), tables, ncells),
+ io::ppm::save(mln::labeling::colorize(value::rgb8(), tables, ncells),
scribo::make::debug_filename("table_cells.ppm"));
io::pgm::save(tables, scribo::make::debug_filename("table_cells.pgm"));
diff --git a/milena/sandbox/scribo/src/table_rebuild_rank.cc
b/milena/sandbox/scribo/src/table_rebuild_rank.cc
index 1ed8ddd..53a4718 100644
--- a/milena/sandbox/scribo/src/table_rebuild_rank.cc
+++ b/milena/sandbox/scribo/src/table_rebuild_rank.cc
@@ -73,7 +73,7 @@ int main(int argc, char* argv[])
std::cout << "ncells (including background) = " << ncells
<< std::endl;
- image2d<value::rgb8> table_color = mln::debug::colorize(value::rgb8(), tables,
ncells);
+ image2d<value::rgb8> table_color = mln::labeling::colorize(value::rgb8(), tables,
ncells);
value::label_8 bg = level::compute(accu::maj_h<value::label_8>(), tables);
diff --git a/milena/sandbox/scribo/table/internal/repair_lines.hh
b/milena/sandbox/scribo/table/internal/repair_lines.hh
index cf21564..017737c 100644
--- a/milena/sandbox/scribo/table/internal/repair_lines.hh
+++ b/milena/sandbox/scribo/table/internal/repair_lines.hh
@@ -45,7 +45,7 @@
# include <mln/win/line.hh>
# include <mln/pw/all.hh>
-# include <mln/debug/colorize.hh>
+# include <mln/labeling/colorize.hh>
# include <mln/value/rgb8.hh>
# include <mln/value/label_16.hh>
# include <scribo/make/debug_filename.hh>
diff --git a/milena/sandbox/theo/color/filter_blen_rgb_edges.cc
b/milena/sandbox/theo/color/filter_blen_rgb_edges.cc
index d66bd9d..3d91a0a 100644
--- a/milena/sandbox/theo/color/filter_blen_rgb_edges.cc
+++ b/milena/sandbox/theo/color/filter_blen_rgb_edges.cc
@@ -18,7 +18,7 @@
#include <mln/io/ppm/load.hh>
#include <mln/io/ppm/save.hh>
-#include <mln/debug/colorize.hh>
+#include <mln/labeling/colorize.hh>
#include <mln/morpho/dilation.hh>
#include <mln/morpho/erosion.hh>
@@ -333,7 +333,7 @@ int main(int argc, char* argv[])
w_all);
- io::ppm::save(debug::colorize(rgb8(),
+ io::ppm::save(labeling::colorize(rgb8(),
w_all,
nbasins),
"temp_w_all.ppm");
@@ -344,7 +344,7 @@ int main(int argc, char* argv[])
image2d<L> out_w = full2image(w_all);
-// io::ppm::save(debug::colorize(rgb8(),
+// io::ppm::save(labeling::colorize(rgb8(),
// out_w,
// nbasins),
// argv[4]);
--
1.6.1.2