ChangeLog 290 KB
Newer Older
1
2
3
4
5
2011-12-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/runner.cc: Make detection of scribo-xml2doc more
	robust.

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2014-06-27  Roland Levillain  <roland@lrde.epita.fr>

	Address compiler warnings in Scribo.

	* scribo/debug/logger.hh
	(scribo::debug::internal::logger_::log) [!SCRIBO_NDEBUG]:
	Avoid warnings about unused arguments in non-debug mode.
	* scribo/layout/xy_cut.hh
	(scribo::layout::internal::compute_hist_info_h)
	(scribo::layout::internal::compute_hist_info_v):
	Use `def::coord' instead of `int' as coordinate type, to avoid
	comparisons between signed and unsigned values.
	* src/misc/rectangularity.cc (main)
	* tests/binarization/global_threshold.cc (main)
	* tests/layout/xy_cut.cc (main):
	Avoid warnings about unused arguments.
	* tests/core/object_groups.cc (main): Likewise.
	Use `unsigned' instead of `int' as count/id type, to avoid
	comparisons between signed and unsigned values.

26
27
28
29
30
31
32
33
34
2014-06-26  Roland Levillain  <roland@lrde.epita.fr>

	Make Scribo more compatible with BSD Make.

	* doc/Makefile.am: Do not use `$<' outside suffix rules.
	* Makefile.am,
	* tests/unit_test/Makefile.am:
	Adjust comments.

Roland Levillain's avatar
Roland Levillain committed
35
36
37
38
39
40
41
42
43
44
2014-06-25  Roland Levillain  <roland@lrde.epita.fr>

	Convert Scribo to UTF-8.

	* doc/mainpage.dox: Here.
	* scribo/preprocessing/rotate_90.hh:
	Replace extended characters to convert to plain ASCII.
	Typos.
	* doc/Doxyfile.in (INPUT_ENCODING): Set to UTF-8.

45
46
47
48
2013-04-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/xml2doc/main.cc: Add --template-path option.

49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
2014-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Remove useless parts from the Scribo documentation machinery.

	* doc/doxyfuns.sty,
	* doc/examples-outputs.mk,
	* doc/examples.mk,
	* doc/examples/dummy.cc,
	* doc/figures.mk,
	* doc/gen-examples-outputs-mk,
	* doc/gen-figures-mk,
	* doc/gen-make-variable,
	* doc/gen-split-examples-mk,
	* doc/gen-split-outputs-mk,
	* doc/graphicx.hva,
	* doc/outputs.mk,
	* doc/outputs/dummy.txt,
	* doc/programs-examples.mk,
	* doc/scribo.sty,
	* doc/split-examples.mk,
	* doc/split-outputs.mk,
	* doc/tools/todoxygen.sh,
	* doc/tutorial.tex:
	Remove.
	* doc/Makefile.am: Adjust and remove useless bits.

75
76
77
78
79
80
81
82
2014-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Remove mentions to trash/ directories in Scribo.

	* doc/gen-figures-mk,
	* doc/gen-split-outputs-mk:
	Here.

83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
2014-06-19  Roland Levillain  <roland@lrde.epita.fr>

	Do not use mln_VAR in Scribo.

	* scribo/debug/text_areas_image.hh,
	* src/misc/dmap.cc,
	* src/misc/morpho.cc,
	* src/misc/rectangularity.cc,
	* src/primitive/group/group_from_rag.cc:
	Here.
	* scribo/filter/objects_with_holes.hh,
	* scribo/table/internal/repair_lines.hh,
	* src/text_recognition_in_picture.cc:
	Do not include mln/core/var.hh.

98
99
100
101
102
103
104
105
2014-06-18  Roland Levillain  <roland@lrde.epita.fr>

	Make src/primitive/group/group_from_rag.cc compile again.

	* src/primitive/group/group_from_rag.cc: Here.
	* src/primitive/group/Makefile.am (noinst_PROGRAMS):
	Add group_from_rag.

106
107
108
109
110
111
2014-06-17  Roland Levillain  <roland@lrde.epita.fr>

	Update the list of Scribo-related publications.

	* README (Bibliography): Here.

112
113
114
115
116
117
118
119
120
121
2014-03-31  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Improve scribo-cli's `--version' option.

	* src/scribo-cli.in: Move the shebang to the first line.
	(version): Do not hard-code the version number
	in scribo-cli.
	Rephrase the copyright owner for uniformity reasons.
	* src/Makefile.am (do_subst): Also substitute PACKAGE_VERSION.

122
123
124
125
126
127
128
129
130
131
132
2013-09-13  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Define flags in proper Makefile helpers.

	* common.mk (AM_CPPFLAGS): Remove -I$(top_builddir)/scribo and
	I$(top_builddir)/milena.
	Include this file...
	* doc/Makefile.am: ...here.
	(AM_CPPFLAGS): Remove.
	* tests/tests.mk (AM_CPPFLAGS): Add -I$(top_builddir)/scribo.

133
134
135
136
137
138
139
140
141
142
143
144
145
2013-09-12  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Remove `return 0;' statements at end of main().

	* src/text_in_picture.cc,
	* src/text_recognition_in_picture.cc,
	* tests/convert/base64.cc,
	* tests/estim/font_boldness.cc,
	* tests/estim/font_color.cc,
	* tests/toolchain/nepomuk/text_extraction.cc,
	* tests/util/component_precise_outline.cc:
	Here.

146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
2013-09-05  Roland Levillain  <roland@lrde.epita.fr>

	Exercise the multi-scale Sauvola binarization with a TIFF image.

	* tests/img/lena.tiff: New.
	Generated from Milena's lena.pgm using ImageMagick's convert.
	* tests/Makefile.am (EXTRA_DIST): Add img/lena.tiff.
	* tests/binarization/sauvola_ms_tiff.cc: New test.
	* tests/binarization/sauvola_ms_tiff.ref.pbm: New reference output
	image.
	* tests/binarization/Makefile.am (check_PROGRAMS) [HAVE_TIFF]:
	Add sauvola_ms_tiff.
	(sauvola_ms_tiff_CPPFLAGS, sauvola_ms_tiff_LDFLAGS) [HAVE_TIFF]:
	New.
	(EXTRA_DIST): Add sauvola_ms_tiff.ref.pbm.

162
163
164
165
166
167
168
169
170
2013-09-11  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Fix the use of QT_LIBS.

	* src/toolchain/nepomuk/Makefile.am
	(text_extraction_LDFLAGS): Move $(QT_LIBS)...
	(text_extraction_LDADD): ...here.
	Add $(LDADD).

171
172
173
174
175
176
2013-09-11  Roland Levillain  <roland@lrde.epita.fr>

	Regen Scribo's unit-tests.mk.

	* tests/unit_test/unit-tests.mk: Regen.

177
178
179
180
181
182
183
184
2013-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Remove lines `VARIABLE = @VARIABLE@' from Makefile.am's.

	* scribo.mk,
	* tests/tests.mk:
	Here, as Automake 1.11+ already takes care of this.

185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
2013-09-09  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Do not look for headers in the build tree uselessly.

	* doc/Makefile.am (AM_CPPFLAGS): Remove Scribo's build dir from
	the file inclusion path.
	* src/Makefile.am
	(pbm_text_in_doc_CPPFLAGS, text_recognition_in_picture_CPPFLAGS)
	* src/contest/DAE-2011/Makefile.am
	(content_in_hdoc_dae_CPPFLAGS, content_in_hdoc_dae_CPPFLAGS)
	* src/contest/hbr-2013/Makefile.am (content_in_hdoc_hbr_CPPFLAGS)
	* src/contest/hdlac-2011/Makefile.am (content_in_hdoc_hdlac_CPPFLAGS)
	* src/contest/hnla-2013/Makefile.am (content_in_hdoc_hnla_CPPFLAGS)
	* src/text/Makefile.am
	(pbm_lines_recognition_CPPFLAGS, pbm_recognition_CPPFLAGS)
	* src/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS)
	* tests/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS):
	Remove -I$(top_builddir).
	* src/pbm_text_in_doc.cc,
	* src/text/pbm_lines_recognition.cc
	* src/text/pbm_recognition.cc
	* src/text_recognition_in_picture.cc
	* src/toolchain/nepomuk/text_extraction.cc
	* tests/toolchain/nepomuk/text_extraction.cc
	[HAVE_CONFIG_H]: Do not include config.h.

211
212
213
214
215
216
217
218
2013-08-30  Roland Levillain  <roland@lrde.epita.fr>

	Simplify even more Scribo Makefiles thanks to AM_DEFAULT_SOURCE_EXT.

	* src/Makefile.am,
	* src/binarization/Makefile.am:
	Here.

219
220
221
222
223
224
2013-08-29  Roland Levillain  <roland@lrde.epita.fr>

	Fix inclusion paths in Scribo.

	* demo/viewer/Makefile.am: Here.

225
226
227
228
229
230
231
232
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Use mln::math::pi instead of a macro-based definition in Scribo.

	* scribo/preprocessing/deskew.hh
	(scribo::preprocessing::internal::perform_deskew): Here.
	(PI): Remove macro.

233
234
235
236
237
238
239
240
241
242
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Do not declare main()'s arguments if they are not used.

	* tests/preprocessing/crop.cc,
	* tests/preprocessing/crop_without_localization.cc,
	* tests/preprocessing/deskew.cc,
	* tests/preprocessing/rotate_90.cc:
	Here.

Roland Levillain's avatar
Roland Levillain committed
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Remove dead code in Scribo.

	* scribo/afp/components.hh,
	* scribo/estim/components_features.hh,
	* scribo/filter/objects_with_holes.hh,
	* scribo/filter/separators_in_borders.hh,
	* scribo/io/xml/load.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
	* scribo/primitive/extract/non_text.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/text/clean_inplace.hh,
	* scribo/text/extract_paragraphs_hdoc.hh,
	* scribo/text/merging.hh:
	Here.

262
263
264
265
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Display Scribo errors on std::cerr, not std::cout.

Roland Levillain's avatar
Roland Levillain committed
266
267
	* scribo/text/merging.hh,
	* scribo/text/recognition.hh:
268
269
	Here.

270
271
272
273
274
275
276
277
278
279
280
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.

281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
2013-08-26  Roland Levillain  <roland@lrde.epita.fr>

	Improve the generation of Doxyfiles in Scribo.

	* doc/Makefile.am (edit)
	($(srcdir)/user-refman.stamp)
	($(srcdir)/devel-refman.stamp):
	Use `[@]' instead of `\@' for portability reasons.
	(ID): New (empty).
	(edit_devel): Prevent configure from expanding @builddir@.
	Christen the product as ``Developer documentation''.
	($(DOXYFILE_USER), $(DOXYFILE_DEVEL)): Do not depend on $Id$ from
	ChangeLog.
	* doc/Doxyfile.in (PROJECT_NUMBER): Reintegrate @ID@ to the
	project number, even if it is not yet set.

297
298
299
300
301
302
303
304
305
306
2013-08-22  Roland Levillain  <roland@lrde.epita.fr>

	Slightly improve Scribo's tests/primitive/extract/alignments.cc.

	* tests/primitive/extract/alignments.cc (main): Pass an actual
	literal float as second argument to
	scribo::primitive::extract::alignments.
	Add a Doxygen header.
	Cosmetic changes.

307
308
309
310
2013-08-22  Roland Levillain  <roland@lrde.epita.fr>

	* scribo/primitive/extract/alignments.hh: Fix Doxygen comments.

311
312
313
314
315
316
317
2013-07-31  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distribution of Scribo.

	* src/Makefile.am (EXTRA_DIST): Remove afp/components.hh,
	afp/link.hh and afp/regroup.hh.

318
319
320
321
322
323
324
325
326
327
328
2013-07-30  Roland Levillain  <roland@lrde.epita.fr>

	Fix resizing code in toolchain::internal::text_in_picture_functor.

	* scribo/toolchain/internal/text_in_picture_functor.hh
	(text_in_picture_functor<I>::get_factor): New precondition: ensure
	argument `max_dim_size', used as denominator, is non null.
	(text_in_picture_functor<I>::operator()): Do not resize the image
	if `max_dim_size' is null.
	Some cosmetic changes.

329
330
331
332
333
334
335
336
337
338
2013-07-30  Roland Levillain  <roland@lrde.epita.fr>

	Add missing `mln' namespace qualifiers.

	* scribo/filter/object_groups_with_holes.hh
	(scribo::filter::impl::generic::object_groups_with_holes)
	* scribo/primitive/regroup/from_single_left_link.hh
	(regroup::from_single_left_link(const object_groups<L>&, unsigned)):
	Here.

339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
2013-07-30  Roland Levillain  <roland@lrde.epita.fr>

	Move to-be-installed header files from src/ to scribo/.

	* src/afp/components.hh,
	* src/afp/link.hh,
	* src/afp/regroup.hh:
	Move files...
	* scribo/afp/components.hh,
	* scribo/afp/link.hh,
	* scribo/afp/regroup.hh:
	...here, as they are included by other files located under
	scribo/, and therefore should be installed as well.
	* scribo/toolchain/internal/text_in_picture_functor.hh,
	* src/text_recognition_in_picture.cc:
	Adjust.
	* headers.mk,
	* tests/unit_test/unit-tests.mk:
	Regen.

359
360
361
362
363
364
365
2013-07-29  Roland Levillain  <roland@lrde.epita.fr>

	Lift scribo::document's dependency on Magick++.

	* scribo/core/document.hh [SCRIBO_NMAGICK]: Disable everything
	related to mln::io::magick.

366
367
368
369
2013-06-25  Roland Levillain  <roland@lrde.epita.fr>

	* scribo/text/recognition.hh: Aesthetic changes.

370
371
372
373
374
375
2013-06-25  Roland Levillain  <roland@lrde.epita.fr>

	Restrict workaround-related locale changes to LC_NUMERIC.

	* scribo/text/recognition.hh: Here.

376
377
378
379
380
381
2013-06-25  Roland Levillain  <roland@lrde.epita.fr>

	More locale-related Tesseract workarounds.

	* scribo/text/recognition.hh: Here.

382
383
384
385
386
387
388
389
2013-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Provide default arguments in function declarations only.

	* scribo/core/line_info.hh (scribo::line_info<L>::update_text)
	* scribo/text/recognition.hh (scribo::text::recognition):
	Here.

Roland Levillain's avatar
Roland Levillain committed
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
2013-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Disable unused arguments.

	* scribo/binarization/internal/local_threshold_core.hh
	(scribo::binarization::internal::impl::generic::local_threshold_core)
	* scribo/core/internal/doc_serializer.hh
	(scribo::doc_serializer<E>::visit)
	* scribo/filter/internal/component_aligned.hh
	(scribo::filter::internal::component_aligned)
	* scribo/filter/internal/compute.hh
	(scribo::filter::internal::compute)
	* scribo/primitive/link/internal/link_functor_base.hh
	(internal::link_functor_base<L,E>::start_processing_object_)
	* scribo/util/init_integral_image.hh
	(scribo::util::impl::generic::init_integral_image):
	Here.

408
409
410
411
412
413
414
415
416
2013-06-14  Roland Levillain  <roland@lrde.epita.fr>

	Shell-related portability fixes in Scribo's Makefiles.

	* doc/Makefile.am: Rewrite patterns ``perl X `find Y''' as
	``find Y -exec perl X {} \;'' to avoid long `perl' command lines and
	please the shell.
	Wrap some long lines.

417
418
419
420
421
422
423
424
425
426
2013-06-17  Roland Levillain  <roland@lrde.epita.fr>

	Use `perl -pi' instead of `sed -i' in Scribo.

	* doc/Makefile.am,
	* doc/tools/todoxygen.sh:
	Here, as `sed -i' (with no backup file) behaves differently on
	GNU/Linux and Mac OS X.  For more information, see:
	http://stackoverflow.com/questions/5694228/.

427
428
429
430
2013-04-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms_split.hh: Make use of all arguments.

431
432
433
434
435
2013-04-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/src/text_in_picture.cc: Add more debug options fix return
	value in main().

436
437
438
439
440
2013-04-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/internal/text_in_picture_functor.hh: Rename
	debug outputs.

441
442
443
444
2013-04-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/primitive/extract/lines_pattern.cc: Fix description.

445
446
447
448
449
450
451
452
2013-02-27  Anthony Seure  <anthony.seure@lrde.epita.fr>

	Fix different forward declarations (class/struct) in scribo/core.

	* scribo/core/component_set.hh,
	* scribo/core/line_set.hh:
	Here.

453
454
455
456
457
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/object_links.hh: Always initialize links in
	non-default constructors.

458
459
460
461
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/component_set.hh: Adjust memory pre-allocation size.

462
463
464
465
466
467
468
469
470
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Enhance documentation in scribo.

	* scribo/core/component_set.hh,
	* scribo/core/object_links.hh: Add missing member documentation.

	* scribo/debug/logger.hh: Fix an invalid object reference.

471
472
473
474
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/component_set.hh: Hide internal API.

475
476
477
478
479
480
481
482
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Move documentation of component_set in its corresponding header.

	* doc/scribo/core/component_set.dox: Remove and move documentation...

	* scribo/core/component_set.hh: ... here.

483
484
485
486
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Doxyfile.in: Expand more macros.

487
488
489
490
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Doxyfile.in: Exclude internal symbols from documentation.

491
492
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

Roland Levillain's avatar
Roland Levillain committed
493
	* doc/Doxyfile.in: Fix include paths in documentation.
494

495
496
497
498
499
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/component_precise_outline.hh: Check if sites are
	part of the image.

500
501
502
503
2013-04-12  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Makefile.am: Remove duplicate '/' in path.

504
505
506
507
2013-04-12  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Makefile.am: Fix path to documentation.

508
509
510
511
512
513
514
2013-04-12  Guillaume Lazzara  <z@lrde.epita.fr>

	Use relative paths in documentation.

	* doc/Doxyfile.in,
	* doc/Makefile.am: Here.

515
516
517
518
2013-04-10  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Makefile.am: Fix permissions on documentation files.

519
520
521
522
523
524
525
2013-04-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix path to other documentations.

	* doc/Doxyfile.in,
	* doc/Makefile.am: Here.

526
527
528
529
530
2013-04-09  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/primitive/extract/Makefile.am: Add more files in
	EXTRA_DIST.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
531
532
533
534
535
2013-04-09  Guillaume Lazzara  <z@lrde.epita.fr>

	* headers.mk,
	* tests/unit-tests.mk: Regen.

536
537
538
539
2013-04-08  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/filter/objects_in_borders.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
540
541
542
543
544
545
546
547
548
2013-04-04  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix binarization tests.

	* tests/Makefile.am: Add more files in EXTRA_DIST.
	* tests/binarization/niblack.cc,
	* tests/binarization/wolf.cc: Load reference file instead of
	saving it.

549
550
551
552
553
554
555
2013-04-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix component_set comparison.

	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh: Here.

556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
2013-04-02  Guillaume Lazzara  <lazzara@caroussel.lrde.epita.fr>

	Improve time logging in Scribo.

	* scribo/debug/logger.hh: Use a stack to handle several
	simultaneous logs.

	* scribo/binarization/sauvola_ms.hh: Fix an invalid time stop.

	* scribo/binarization/internal/local_threshold_core.hh,
	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_ms_debug.cc: Rename time logging
	functions.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
571
572
573
574
575
576
577
578
579
580
581
582
583
2013-03-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in scribo.

	* scribo/core/line_set.hh: Add update_types().

	* scribo/core/paragraph_info.hh: Set paragraph as valid when a
	line is added.

	* scribo/core/paragraph_set.hh: Add a forward declaration.

	* scribo/text/link_lines.hh: Add more documentation.

584
585
586
587
2013-03-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/binarization/Makefile.am: Fix EXTRA_DIST file names.

Roland Levillain's avatar
Roland Levillain committed
588
589
590
591
592
593
594
2013-03-04  Roland Levillain  <roland@lrde.epita.fr>

	Fix inclusion paths.

	* common.mk (AM_CPPFLAGS): Add paths to scribo/ dirs instead of
	top-level dirs.

595
596
597
598
599
600
601
602
603
604
605
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add ICDAR contests related source code.

	* src/contest/Makefile.am: Add subdirs.

	* src/contest/hbr-2013/Makefile.am,
	* src/contest/hbr-2013/content_in_hdoc_hbr.cc,
	* src/contest/hnla-2013/Makefile.am,
	* src/contest/hnla-2013/content_in_hdoc_hnla.cc: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
606
607
608
609
610
611
612
613
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix some preconditions.

	* scribo/core/document.hh: Relax some preconditions.

	* scribo/primitive/extract/alignments.hh: New precondition.

614
615
616
617
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms.hh: Add overloads.

618
619
620
621
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/document.hh: Add more assertions.

622
623
624
625
626
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/with_single_left_link_dmax_ratio_aligned.hh:
	Fix an invalid forward declaration.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
627
628
629
630
631
632
633
634
635
636
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/binarization/internal/global_max_stddev_functor.hh:
	Remove reference to mln namespace.

	* headers.mk,
	* scribo/tests/unit_test/unit-tests.mk: Regen.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
637
638
639
640
641
642
643
644
645
646
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/binarization/all.hh: Add missing includes.

	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh: Add
	input image as attribute.

647
648
649
650
651
652
653
654
655
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Share a functor used in Wolf's binarization.

	* scribo/binarization/internal/global_max_stddev_functor.hh: New.

	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh: Remove functor declaration.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
656
657
658
659
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	* headers.mk: Regen.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
660
661
662
663
664
665
666
667
668
669
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* demo/viewer/image_region.hh: Add Q_INTERFACES.

	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/singh_functor.hh: Fix declaration
	of init() member.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
670
671
672
673
674
675
676
677
678
679
680
681
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/primitive/extract/lines_h_single.hh: Fix an invalid
	function name.

	* scribo/text/extract_paragraphs_hdoc.hh: Remove useless inline
	keyword.

	* scribo/toolchain/text_in_doc_preprocess.hh: Fix argument name.

682
683
684
685
686
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms.hh: Add a new overload and
	preconditions.

687
688
689
690
691
692
693
694
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve documentation layout.

	* doc/Doxyfile.in: Improve member functions presentation.

	* doc/DoxygenLayout.xml: Fix invalid xml elements.

695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve documentation of Scribo.

	* doc/scribo/binarization/binarization.dox,
	* doc/scribo/binarization/kim.dox,
	* doc/scribo/binarization/otsu.dox,
	* doc/scribo/binarization/wolf.dox,
	* doc/scribo/core/component_set.dox,
	* doc/scribo/filter/component_groups.dox,
	* doc/scribo/filter/component_links.dox,
	* doc/scribo/filter/components.dox,
	* doc/scribo/filter/elements.dox,
	* doc/scribo/filter/line_links.dox,
	* doc/scribo/filter/paragraphs.dox,
	* doc/scribo/primitive/extract/separators.dox,
	* scribo/core/component_info.hh,
	* scribo/core/tag/component.hh: Add more documentation.

	* doc/scribo/layout/layout.dox,
	* doc/scribo/namespaces.dox,
	* doc/scribo/primitive/extract/components.dox,
	* doc/scribo/primitive/extract/extract.dox: New.

	* scribo/binarization/internal/local_threshold_core.hh,
	* scribo/binarization/internal/singh_formula.hh,
	* scribo/binarization/kim.hh,
	* scribo/binarization/niblack_fast.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/otsu.hh,
	* scribo/binarization/otsu_threshold.hh,
	* scribo/binarization/sauvola_ms_split.hh,
	* scribo/binarization/singh.hh,
	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh,
	* scribo/core/component_set.hh,
	* scribo/core/concept/serializable.hh,
	* scribo/core/object_links.hh,
	* scribo/debug/logger.hh,
	* scribo/filter/paragraphs_in_borders.hh,
	* scribo/filter/separators_in_borders.hh,
	* scribo/filter/separators_vert_in_borders.hh,
	* scribo/layout/xy_cut.hh,
	* scribo/primitive/extract/components.hh,
	* scribo/primitive/extract/lines_v_single.hh,
	* scribo/subsampling/bilinear.hh,
	* scribo/text/merging_hdoc.hh: Fix existing documentation.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Replace \fixme with FIXME.

	* scribo/binarization/global_threshold_auto.hh,
	* scribo/binarization/internal/niblack_formula.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold.hh,
	* scribo/core/component_set.hh,
	* scribo/core/line_info.hh,
	* scribo/filter/images_in_paragraph.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/primitive/extract/internal/union.hh,
	* scribo/primitive/extract/non_text.hh,
	* scribo/primitive/extract/non_text_hdoc.hh,
	* scribo/primitive/extract/non_text_kmean.hh,
	* scribo/primitive/link/internal/find_several_links.hh,
	* scribo/primitive/link/internal/link_functor_base.hh,
	* scribo/primitive/link/merge_double_link_closest_aligned.hh: Here.

765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix an invalid initialization in several binarization algorithms.

	* scribo/binarization/internal/local_threshold_core.hh: Fix doc.

	* scribo/binarization/internal/niblack_functor.hh,
	* scribo/binarization/internal/niblack_functor_fast.hh,
	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_functor.hh,
	* scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh,
	* scribo/binarization/internal/singh_functor.hh,
	* scribo/binarization/internal/wolf_functor.hh,
	* scribo/binarization/internal/wolf_functor_fast.hh,
	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh: Add init() member and more
	assertions.

	* scribo/canvas/integral_browsing.hh: Call init() function.

786
787
788
789
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/debug/links_image.hh: Make use of object_link interface.

790
791
792
793
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/xml2doc/main.cc: Kill warnings.

794
795
796
797
798
799
800
801
802
803
804
805
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of mln_trace_warning in Scribo.

	* scribo/canvas/integral_browsing.hh,
	* scribo/filter/internal/alignment_angle.hh,
	* scribo/io/img/save.hh,
	* scribo/io/xml/save.hh,
	* scribo/make/debug_filename.hh,
	* scribo/primitive/extract/alignments.hh,
	* scribo/primitive/link/internal/compute_anchor.hh: Here.

806
807
808
809
810
811
812
813
814
815
816
817
818
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Remove last references to mln::trace::*.

	* demo/xml2doc/main.cc,
	* scribo/make/debug_filename.hh,
	* scribo/primitive/identify.hh,
	* src/afp/regroup.hh,
	* src/misc/negate.cc,
	* src/misc/superpose.cc,
	* src/preprocessing/split_bg_fg.cc,
	* src/preprocessing/unskew.cc: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2013-03-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of mln_trace.

	* scribo/binarization/global_threshold.hh,
	* scribo/binarization/global_threshold_auto.hh,
	* scribo/binarization/internal/local_threshold_core.hh,
	* scribo/binarization/kim.hh,
	* scribo/binarization/local_threshold.hh,
	* scribo/binarization/niblack.hh,
	* scribo/binarization/niblack_fast.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/otsu.hh,
	* scribo/binarization/otsu_threshold.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_ms_split.hh,
	* scribo/binarization/sauvola_threshold.hh,
	* scribo/binarization/singh.hh,
	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh,
	* scribo/convert/from_base64.hh,
	* scribo/convert/to_base64.hh,
	* scribo/core/central_sites.hh,
	* scribo/core/erase_objects.hh,
	* scribo/core/init_integral_image.hh,
	* scribo/debug/alignment_decision_image.hh,
	* scribo/debug/bboxes_enlarged_image.hh,
	* scribo/debug/bboxes_image.hh,
	* scribo/debug/char_space_image.hh,
	* scribo/debug/decision_image.hh,
	* scribo/debug/highlight_text_area.hh,
	* scribo/debug/line_info_image.hh,
	* scribo/debug/linked_bboxes_image.hh,
	* scribo/debug/links_decision_image.hh,
	* scribo/debug/links_image.hh,
	* scribo/debug/looks_like_a_text_line_image.hh,
	* scribo/debug/mean_and_base_lines_image.hh,
	* scribo/debug/save_comp_diff.hh,
	* scribo/debug/save_label_image.hh,
	* scribo/debug/save_table_image.hh,
	* scribo/debug/text_areas_image.hh,
	* scribo/draw/bounding_box_links.hh,
	* scribo/draw/bounding_boxes.hh,
	* scribo/draw/groups_bboxes.hh,
	* scribo/draw/line_components.hh,
	* scribo/estim/components_features.hh,
	* scribo/estim/font_boldness.hh,
	* scribo/estim/font_color.hh,
	* scribo/estim/internal/compute_skeleton.hh,
	* scribo/estim/object_groups_mean_width.hh,
	* scribo/filter/common/objects_photo.hh,
	* scribo/filter/images_in_paragraph.hh,
	* scribo/filter/internal/alignment_angle.hh,
	* scribo/filter/internal/component_aligned.hh,
	* scribo/filter/internal/compute.hh,
	* scribo/filter/object_groups_mean_width.hh,
	* scribo/filter/object_groups_size_ratio.hh,
	* scribo/filter/object_groups_small.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/filter/object_links_aligned.hh,
	* scribo/filter/object_links_bbox_h_ratio.hh,
	* scribo/filter/object_links_bbox_overlap.hh,
	* scribo/filter/object_links_bbox_ratio.hh,
	* scribo/filter/object_links_bbox_w_ratio.hh,
	* scribo/filter/object_links_bottom_aligned.hh,
	* scribo/filter/object_links_center_aligned.hh,
	* scribo/filter/object_links_left_aligned.hh,
	* scribo/filter/object_links_non_aligned_simple.hh,
	* scribo/filter/object_links_right_aligned.hh,
	* scribo/filter/object_links_top_aligned.hh,
	* scribo/filter/objects_h_thick.hh,
	* scribo/filter/objects_h_thin.hh,
	* scribo/filter/objects_large.hh,
	* scribo/filter/objects_on_border.hh,
	* scribo/filter/objects_size_ratio.hh,
	* scribo/filter/objects_small.hh,
	* scribo/filter/objects_thick.hh,
	* scribo/filter/objects_thin.hh,
	* scribo/filter/objects_v_thick.hh,
	* scribo/filter/objects_v_thin.hh,
	* scribo/filter/objects_with_holes.hh,
	* scribo/filter/paragraphs_bbox_overlap.hh,
	* scribo/filter/paragraphs_in_borders.hh,
	* scribo/filter/paragraphs_in_image.hh,
	* scribo/filter/separators_in_borders.hh,
	* scribo/filter/separators_in_element.hh,
	* scribo/filter/separators_in_paragraph.hh,
	* scribo/filter/separators_vert_in_borders.hh,
	* scribo/io/img/save.hh,
	* scribo/io/text_boxes/save.hh,
	* scribo/io/xml/internal/save_image_to_xml.hh,
	* scribo/io/xml/save.hh,
	* scribo/layout/xy_cut.hh,
	* scribo/make/influence_zone_graph.hh,
	* scribo/make/text_blocks_image.hh,
	* scribo/make/text_components_image.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/postprocessing/images_to_drop_capital.hh,
	* scribo/preprocessing/crop.hh,
	* scribo/preprocessing/crop_without_localization.hh,
	* scribo/preprocessing/denoise.hh,
	* scribo/preprocessing/denoise_bg.hh,
	* scribo/preprocessing/denoise_fg.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/preprocessing/deskew_crop.hh,
	* scribo/preprocessing/homogeneous_contrast.hh,
	* scribo/preprocessing/rotate_90.hh,
	* scribo/preprocessing/split_bg_fg.hh,
	* scribo/primitive/extract/alignments.hh,
	* scribo/primitive/extract/canvas.hh,
	* scribo/primitive/extract/cells.hh,
	* scribo/primitive/extract/components.hh,
	* scribo/primitive/extract/horizontal_separators.hh,
	* scribo/primitive/extract/lines_discontinued.hh,
	* scribo/primitive/extract/lines_h_discontinued.hh,
	* scribo/primitive/extract/lines_h_pattern.hh,
	* scribo/primitive/extract/lines_h_single.hh,
	* scribo/primitive/extract/lines_h_thick.hh,
	* scribo/primitive/extract/lines_h_thick_and_single.hh,
	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
	* scribo/primitive/extract/lines_pattern.hh,
	* scribo/primitive/extract/lines_thick.hh,
	* scribo/primitive/extract/lines_v_discontinued.hh,
	* scribo/primitive/extract/lines_v_pattern.hh,
	* scribo/primitive/extract/lines_v_single.hh,
	* scribo/primitive/extract/lines_v_thick.hh,
	* scribo/primitive/extract/lines_v_thick_and_single.hh,
	* scribo/primitive/extract/non_text.hh,
	* scribo/primitive/extract/non_text_hdoc.hh,
	* scribo/primitive/extract/non_text_kmean.hh,
	* scribo/primitive/extract/separators.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/primitive/extract/vertical_separators.hh,
	* scribo/primitive/group/apply.hh,
	* scribo/primitive/group/from_double_link.hh,
	* scribo/primitive/group/from_double_link_any.hh,
	* scribo/primitive/group/from_graph.hh,
	* scribo/primitive/group/from_single_link.hh,
	* scribo/primitive/identify.hh,
	* scribo/primitive/internal/find_graph_link.hh,
	* scribo/primitive/internal/rd.hh,
	* scribo/primitive/internal/update_graph_link.hh,
	* scribo/primitive/link/compute.hh,
	* scribo/primitive/link/compute_several.hh,
	* scribo/primitive/link/merge_double_link.hh,
	* scribo/primitive/link/merge_double_link_closest_aligned.hh,
	* scribo/primitive/link/with_graph.hh,
	* scribo/primitive/link/with_rag.hh,
	* scribo/primitive/link/with_several_graphes.hh,
	* scribo/primitive/link/with_several_left_links.hh,
	* scribo/primitive/link/with_several_right_closest_links.hh,
	* scribo/primitive/link/with_several_right_links.hh,
	* scribo/primitive/link/with_several_right_links_overlap.hh,
	* scribo/primitive/link/with_single_down_link.hh,
	* scribo/primitive/link/with_single_left_link.hh,
	* scribo/primitive/link/with_single_left_link_dmax_ratio.hh,
	* scribo/primitive/link/with_single_left_link_dmax_ratio_aligned.hh,
	* scribo/primitive/link/with_single_right_link.hh,
	* scribo/primitive/link/with_single_right_link_bottom.hh,
	* scribo/primitive/link/with_single_right_link_dmax_ratio.hh,
	* scribo/primitive/link/with_single_right_link_dmax_ratio_aligned.hh,
	* scribo/primitive/link/with_single_right_link_top.hh,
	* scribo/primitive/link/with_single_up_link.hh,
	* scribo/primitive/merge/components.hh,
	* scribo/primitive/regroup/from_single_left_link.hh,
	* scribo/primitive/regroup/from_single_left_link_wrt_h_ratio.hh,
	* scribo/primitive/remove/separators.hh,
	* scribo/subsampling/bilinear.hh,
	* scribo/subsampling/integral.hh,
	* scribo/subsampling/integral_single_image.hh,
	* scribo/table/align_lines_horizontaly.hh,
	* scribo/table/align_lines_verticaly.hh,
	* scribo/table/connect_horizontal_lines.hh,
	* scribo/table/connect_vertical_lines.hh,
	* scribo/table/erase.hh,
	* scribo/table/extract.hh,
	* scribo/table/internal/align_lines.hh,
	* scribo/table/internal/connect_lines.hh,
	* scribo/table/internal/repair_lines.hh,
	* scribo/table/rebuild.hh,
	* scribo/table/repair_horizontal_lines.hh,