Commit a2d5c260 authored by Roland Levillain's avatar Roland Levillain
Browse files

Remove Scribo debug code making side effects on streams.

	* scribo/core/line_set.hh,
	* scribo/core/object_groups.hh,
	* scribo/core/paragraph_set.hh,
	* scribo/preprocessing/deskew_crop.hh,
	* scribo/primitive/extract/non_text_kmean.hh:
	Here.
parent 8c828c81
2013-08-27 Roland Levillain <roland@lrde.epita.fr>
Remove Scribo debug code making side effects on streams.
* scribo/core/line_set.hh,
* scribo/core/object_groups.hh,
* scribo/core/paragraph_set.hh,
* scribo/preprocessing/deskew_crop.hh,
* scribo/primitive/extract/non_text_kmean.hh:
Here.
2013-08-26 Roland Levillain <roland@lrde.epita.fr>
Improve the generation of Doxyfiles in Scribo.
......
......@@ -453,14 +453,12 @@ namespace scribo
{
if (! (lhs.groups() == rhs.groups() && lhs.nelements() == rhs.nelements()))
{
std::cout << "line.group" << std::endl;
return false;
}
for_all_lines(l, lhs)
if ( ! (lhs(l) != rhs(l)))
{
std::cout << "line.info" << std::endl;
return false;
}
......
// Copyright (C) 2009, 2010, 2011 EPITA Research and Development
// Copyright (C) 2009, 2010, 2011, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
......@@ -397,13 +397,11 @@ namespace scribo
{
if (! (lhs.components() == rhs.components()))
{
std::cout << "group.comp" << std::endl;
return false;
}
if (!( lhs.comp_to_group() == rhs.comp_to_group() && lhs.nelements() == rhs.nelements()))
{
std::cout << "group.comp_to_group" << std::endl;
return false;
}
......@@ -411,7 +409,6 @@ namespace scribo
for_all_groups(g, lhs)
if (! (lhs(g) == rhs(g)))
{
std::cout << "group.info" << std::endl;
return false;
}
......
// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -258,7 +258,6 @@ namespace scribo
for_all_paragraphs(p, lhs)
if (!(lhs(p) == rhs(p)))
{
std::cout << "paragraph.info" << std::endl;
return false;
}
......
// Copyright (C) 2010, 2011 EPITA Research and Development Laboratory
// Copyright (C) 2010, 2011, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
......@@ -158,7 +158,6 @@ namespace scribo
mlc_is_not_a(mln_value(I), value::Vectorial)::check();
double angle = internal::perform_deskew(crop_gl);
std::cout << angle << std::endl;
mln_concrete(I) output = crop_gl;
......
// Copyright (C) 2010, 2011 EPITA Research and Development Laboratory
// Copyright (C) 2010, 2011, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
......@@ -161,7 +161,6 @@ namespace scribo
component_set<L> output;
std::cout << "Removing small elements" << std::endl;
{
image2d<bool> elts;
initialize(elts, img_lbl8);
......@@ -175,8 +174,6 @@ namespace scribo
}
std::cout << "Ignoring inner elements" << std::endl;
{
// FIXME: We would like to use the convex hull instead of the bbox.
internal::order_bbox<L> func(output);
......
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