Commit 9873b787 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Compilation fixes.

	* scribo/binarization/sauvola_threshold_image.hh: Fix namespace
	ambiguity.

	* scribo/io/xml/save.hh
	* scribo/primitive/extract/elements.hh
	* scribo/primitive/merge/components.hh
	* scribo/toolchain/text_in_doc_preprocess.hh
	* scribo/toolchain/text_in_picture.hh
	* src/binarization/ppm_sauvola_ms.cc
	* src/binarization/ppm_sauvola_ms_fg.cc
	* src/binarization/ppm_sauvola_ms_split.cc
	* src/binarization/sauvola_ms.cc
	* src/binarization/sauvola_ms_fg.cc
	* src/binarization/sauvola_ms_split.cc
	* src/contest/hdibco-2010/sauvola_ms_hdibco.cc
	* src/text_in_picture.cc: Add missing includes.

	* scribo/primitive/extract/lines_h_pattern.hh,
	* scribo/primitive/extract/lines_v_pattern.hh: Make sure the
	rectangle have odd dimensions.

	* src/Makefile.am: Remove deprecated include path.

	* src/binarization/ppm_sauvola.cc: Convert to gray level.

	* src/pbm_text_in_doc.cc: Use doc structure.

	* src/text_in_picture_neg.cc: Make use of world::rgb::invert.
parent 92e2d041
......@@ -58,6 +58,8 @@
#include <mln/subsampling/antialiased.hh>
#include <mln/world/rgb/invert.hh>
#include <scribo/draw/bounding_boxes.hh>
#include <scribo/draw/groups_bboxes.hh>
......@@ -169,7 +171,8 @@ int main(int argc, char* argv[])
typedef image2d<value::label_16> L;
component_set<L>
comps_neg = toolchain::text_in_picture(arith::revert(input_rgb), bg_removal,
comps_neg = toolchain::text_in_picture(world::rgb::invert(input_rgb),
bg_removal,
multi_scale_bin,
max_dim_size, lambda, out_base_dir);
......
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