ChangeLog 212 KB
Newer Older
Roland Levillain's avatar
Roland Levillain committed
1
2
3
4
5
6
7
2010-04-22  Roland Levillain  <roland@lrde.epita.fr>

	Factor Makefiles' helpers.

	* scribo.mk, tests/tests.mk (AM_CPPFLAGS): Move...
	* common.mk: ...here.

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2010-04-22  Roland Levillain  <roland@lrde.epita.fr>

	Use AM_DEFAULT_SOURCE_EXT to simplify Scribo's Makefiles.

	* common.mk: New.
	Include it...
	* scribo.mk,
	* tests/tests.mk:
	...here.
	* src/Makefile.am,
	* src/binarization/Makefile.am,
	* src/debug/Makefile.am,
	* src/filter/Makefile.am,
	* src/misc/Makefile.am,
	* src/preprocessing/Makefile.am,
	* src/primitive/extract/Makefile.am,
	* src/primitive/find/Makefile.am,
	* src/primitive/group/Makefile.am,
	* src/table/Makefile.am,
	* src/text/Makefile.am,
	* tests/filter/Makefile.am,
	* tests/preprocessing/Makefile.am,
	* tests/table/Makefile.am:
	Remove (now useless) `*_SOURCES' variables using
	sed -ri '/^(\s|#)*\S+_SOURCES\s*=\s*\S+.cc\s*$/d'.

34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
2013-02-07  Roland Levillain  <roland@lrde.epita.fr>

	Remove scoria from Makefiles.

	* src/contest/DAE-2011/Makefile.am,
	* src/contest/Makefile.am,
	* src/contest/hdibco-2010/Makefile.am,
	* src/contest/hdlac-2011/Makefile.am,
	* src/postprocessing/Makefile.am,
	* tests/binarization/Makefile.am,
	* tests/convert/Makefile.am,
	* tests/core/Makefile.am,
	* tests/estim/Makefile.am,
	* tests/toolchain/nepomuk/Makefile.am:
	Here.

50
51
52
53
54
55
56
57
58
2013-02-07  Roland Levillain  <roland@lrde.epita.fr>

	Address warnings reported by clang++ in Scribo.

	* scribo/text/paragraphs_closing.hh
	(internal::horizontal_CRLA, internal::vertical_CRLA):
	Replace empty bodies of loops with single `continue' statements as
	this is more explicit.

59
60
61
62
63
64
65
66
67
68
69
70
71
72
2013-02-06  Roland Levillain  <roland@lrde.epita.fr>

	Address remaining errors reported by clang++ in Scribo.

	* scribo/debug/alignment_decision_image.hh
	(alignment_decision_image)
	* scribo/debug/bboxes_enlarged_image.hh (bboxes_enlarged_image)
	* scribo/debug/decision_image.hh (decision_image)
	* scribo/debug/links_decision_image.hh (links_decision_image)
	* scribo/debug/links_image.hh (links_image)
	* scribo/debug/looks_like_a_text_line_image.hh
	(looks_like_a_text_line_image):
	Fix the type of the value to be returned by theses functions.

73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
2013-02-06  Roland Levillain  <roland@lrde.epita.fr>

	Address errors reported by clang++ in Scribo.

	* scribo/io/text_boxes/save.hh,
	* scribo/primitive/extract/components.hh,
	* scribo/primitive/link/with_single_right_link.hh,
	* scribo/text/recognition.hh,
	* scribo/toolchain/content_in_doc.hh,
	* scribo/toolchain/content_in_hdoc.hh,
	* scribo/toolchain/text_in_doc.hh,
	* scribo/toolchain/text_in_doc_preprocess.hh,
	* scribo/toolchain/text_in_picture.hh:
	Do not provide default arguments twice.

88
89
90
91
92
93
94
95
2012-10-09  Roland Levillain  <roland@lrde.epita.fr>

	Work around an overload resolution problem reported by g++ 4.7.

	* src/debug/show_separators.cc,
	* src/util/component_precise_outline.cc:
	Here.

96
97
98
99
2011-12-06  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/recognition.hh: Restore previous locale.

100
101
102
103
104
105
106
2011-12-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Ensure current locale is C while calling Tesseract.

	* demo/viewer/main.cc: Move call to setLocale...
	* scribo/text/recognition.hh: ... Here.

107
108
109
110
2011-11-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: update requirements information.

111
112
113
114
115
2011-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/recognition.hh: Fix code for Tesseract 3.01
	compatibility.

116
117
118
119
120
121
122
123
2011-10-06  Roland Levillain  <roland@lrde.epita.fr>

	Mention the ICDAR 2011 paper in SCRIBO's README.

	* README (Bibliography): Here.
	Fix copyright header.
	* src/README: Fix copyright header.

124
125
126
127
128
129
130
131
132
133
2011-09-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix paths in the SCRIBO viewer.

	* demo/viewer/demodir.hh.in (SCRIBO_PREFIX_BINDIR): Remove macro.
	(SCRIBO_PREFIX_LIBEXECDIR): New macro.
	* demo/viewer/runner.cc:
	s/SCRIBO_PREFIX_BINDIR/SCRIBO_PREFIX_LIBEXECDIR/.
	* demo/viewer/Makefile.am (do_subst): Substitute $libexecdir.

134
135
136
2011-09-15  Guillaume Lazzara  <lazzara@caroussel.lrde.epita.fr>

	Adjust font size in PDF reconstruction.
Roland Levillain's avatar
Roland Levillain committed
137

138
139
140
141
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl,
	* demo/xml2doc/templates/pdf/line.xsl: Here.

142
143
144
145
2011-09-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: Add more information.

Roland Levillain's avatar
Roland Levillain committed
146
147
148
149
150
151
152
153
154
155
156
2011-09-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix Scribo build system.

	* demo/viewer/Makefile.am: Take into account no-strict-aliasing
	flag.

	* demo/review/Makefile.am,
	* src/toolchain/nepomuk/Makefile.am: Do not distribute some
	examples.

157
158
159
160
161
2011-09-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/main.cc: Fix an issue with Tesseract 2.x and
	specific locales.

Roland Levillain's avatar
Roland Levillain committed
162
163
164
165
166
167
168
169
2011-09-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve text justification in HTML document reconstruction.

	* demo/xml2doc/templates/html/css.css,
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl: Add new CSS rules.

170
171
172
173
174
175
176
177
2011-09-15  Roland Levillain  <roland@lrde.epita.fr>

	Update SCRIBO tests w.r.t. the new version of lena.pgm.

	* tests/binarization/sauvola.ref.pbm,
	* tests/binarization/sauvola_ms.ref.pbm:
	Update reference outputs.

178
179
180
181
182
183
2011-06-09  Roland Levillain  <roland@lrde.epita.fr>

	Make SCRIBO's copyright headers uniform.

	* tests/data.hh.in: Here.

184
185
186
187
188
189
190
2011-09-14  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distcleancheck target.

	* tests/binarization/Makefile.am (MOSTLYCLEANFILES): New.
	Add res.pbm.

191
192
193
194
195
196
197
198
199
2011-09-13  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distribution w.r.t. Scribo's test images.

	* tests/Makefile.am (EXTRA_DIST): Add img/comp_on_borders.pbm,
	img/multi_scale.png, img/phillip.pbm, img/several_objects.pgm,
	img/single_object.pbm and img/the_valleys.pbm.
	Aesthetic changes.

200
201
202
203
204
205
206
207
2011-09-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix text justification in HTML document reconstruction.

	* demo/xml2doc/templates/html/css.css,
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl: Add new CSS rules.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
2011-09-12  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* demo/viewer/icons/olena_smaller.jpg,
	* demo/viewer/viewer.qrc: Change icon location.

	* scribo/text/paragraphs_closing.hh: Avoid a warning.

	* src/content_in_doc.cc: Fix a parameter description.

	* src/debug/show_lines_boldness.cc,
	* src/debug/show_text_lines.cc,
	* src/debug/show_text_lines_wo_seps.cc: Remove useless includes.

	* src/scribo-cli.in: Pass arguments correctly.

225
226
227
228
229
230
231
232
233
234
2011-09-12  Guillaume Lazzara  <z@lrde.epita.fr>

	More fixes in Scribo build system.

	* demo/viewer/Makefile.am: Add missing distributed files.

	* src/contest/DAE-2011/Makefile.am,
	* src/contest/hdlac-2011/Makefile.am,
	* src/debug/Makefile.am: Fix dependencies.

235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
2011-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Fix compilation dependencies of unit tests in Scribo.

	* tests/unit_test/Makefile.am (COND_TESTS):
	Add cond_tests_magickxx, cond_tests_magickxx_qt and
	cond_tests_magickxx_tesseract.
	Remove cond_tests_qt_tesseract_tiff.
	* tests/unit_test/cond_tests_magickxx,
	* tests/unit_test/cond_tests_magickxx_qt,
	* tests/unit_test/cond_tests_magickxx_tesseract:
	New.
	* tests/unit_test/cond_tests_qt_tesseract_tiff: Remove (empty)
	file.
	* tests/unit_test/cond_tests_magickxx_tesseract_tiff: Add
	scribo/toolchain/content_in_doc.hh.
	* tests/unit_test/cond_tests_qt: Remove
	scribo/io/xml/internal/full_xml_visitor.hh and
	scribo/io/xml/load.hh.
	* tests/unit_test/cond_tests_tesseract_tiff: Remove.
	scribo/toolchain/content_in_doc.hh.
	* tests/unit_test/cond_tests_magickxx_qt_tesseract_tiff:
	Remove empty line.
	* tests/unit_test/unit-tests.mk: Regen.

260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
2011-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Fix compilation dependencies in Scribo.

	* src/contest/DAE-2011/Makefile.am
	(content_in_hdoc_dae_CPPFLAGS, content_in_doc_dae_CPPFLAGS)
	* src/contest/hdlac-2011/Makefile.am
	(content_in_hdoc_hdlac_CPPFLAGS):
	Add $(MAGICKXX_CPPFLAGS).
	* src/debug/Makefile.am
	(noinst_PROGRAMS): Move show_lines_boldness...
	(noinst_PROGRAMS) [HAVE_MAGICKXX, HAVE_TESSERACT]: ...here.
	(show_lines_boldness_SOURCES): Remove.
	(show_lines_boldness_SOURCES)
	(show_lines_boldness_CPPFLAGS)
	(show_lines_boldness_LDFLAGS)
	[HAVE_MAGICKXX, HAVE_TESSERACT]: New.
	(show_text_lines_CPPFLAGS)
	(show_text_lines_wo_seps_CPPFLAGS)
	[HAVE_MAGICKXX, HAVE_QT, HAVE_TESSERACT]:
	Add $(TESSERACT_CPPFLAGS).

282
283
284
285
286
2011-09-08  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/internal/toolchain_functor.hh: Add a missing
	inline.

287
288
289
290
291
2011-03-29  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/internal/toolchain_functor.hh: Fix a warning
	with GCC 4.5.

292
293
294
295
2011-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/estim/font_boldness.cc: Make the test deterministic.

296
297
298
299
2011-09-06  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/img/several_objects.pgm: Add a new test image.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
300
301
302
303
304
305
306
307
308
2011-09-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* scribo/debug/option_check.hh,
	* scribo/debug/option_parser.hh: Add missing includes.

	* scribo/estim/components_features.hh: Add preconditions.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
309
310
311
312
313
314
315
316
317
2011-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix Makefiles in Scribo.

	* src/primitive/Makefile.am: Add a missing subdir.

	* tests/primitive/extract/Makefile.am (EXTRA_DIST): Fix invalid
	file names.

318
319
320
321
322
323
324
2011-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files in Scribo.

	* headers.mk,
	* tests/unit_test/unit-tests.mk: Here.

325
326
327
328
329
330
331
332
2011-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix object selector for separators in scribo-viewer.

	* demo/viewer/common.hh: Add new values in enum.

	* demo/viewer/viewer.cc: Bind XML tag to enum value.

333
334
335
336
337
2011-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/scribo-cli.in: Make Binarization algorithms accessible to
	scribo-cli.

338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
2011-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Add an option parser to some examples.

	* scribo/debug/option_check.hh,
	* scribo/debug/option_parser.hh: New.

	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_ms_fg.cc,
	* src/binarization/sauvola_ms_split.cc,
	* src/content_in_doc.cc,
	* src/pbm_text_in_doc.cc,
	* src/text_in_doc_preprocess.cc,
	* src/text_in_picture.cc,
	* src/text_in_picture_neg.cc,
	* src/text_recognition_in_picture.cc: Use the new option parser.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
2011-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Some cleanup and fixes.

	* scribo/core/group_info.hh,
	* scribo/core/object_groups.hh: Add merge method.

	* scribo/draw/groups_bboxes.hh: Only consider valid groups.

	* scribo/estim/components_features.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/subsampling/bilinear.hh,
	* scribo/text/extract_paragraphs.hh,
	* scribo/text/merging.hh: Remove debug output.

	* scribo/primitive/group/apply.hh,
	* scribo/primitive/regroup/from_single_left_link.hh,
	* scribo/primitive/regroup/from_single_left_link_wrt_h_ratio.hh:
	Fix invalid result.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Remove comments.

	* scribo/toolchain/internal/text_in_picture_functor.hh: New.

	* scribo/toolchain/content_in_doc.hh,
	* scribo/toolchain/internal/text_in_doc_functor.hh,
	* scribo/toolchain/text_in_doc.hh,
	* scribo/toolchain/text_in_doc_preprocess.hh: Add verbose mode.

	* scribo/toolchain/text_in_picture.hh: Make use of the new
	functor.

	* scribo/util/component_precise_outline.hh: Fix an include.

Roland Levillain's avatar
Roland Levillain committed
390
	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc: Fix
Guillaume Lazzara's avatar
Guillaume Lazzara committed
391
392
	parameters.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
393
394
395
396
397
398
399
400
401
402
2011-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* scribo/core/paragraph_info.hh: Update delta baseline.

	* scribo/primitive/extract/non_text.hh: Fill extension.

	* scribo/util/component_precise_outline.hh: Adjust extension.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
403
404
405
406
407
408
409
410
411
412
413
414
415
416
2011-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix XML I/O.

	* demo/viewer/main.cc: Add a missing include.

	* demo/viewer/viewer.cc,
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl,
	* demo/xml2doc/templates/pdf/line.xsl,
	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/load.hh: Update tag names.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
417
418
419
420
421
422
423
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

	* headers.mk,
	* tests/unit_test/unit-tests.mk: Here.

424
425
426
427
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/extract_paragraphs.hh: Fix compilation.

428
429
430
431
432
433
434
435
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

	Preserve a single algorithm for outlines computation.

	* scribo/util/component_outline.hh: Remove.

	* scribo/util/component_precise_outline.hh: Add options.

Roland Levillain's avatar
Roland Levillain committed
436
	* tests/util/Makefile.am: Fix targets.
437

Roland Levillain's avatar
Roland Levillain committed
438
	* tests/util/component_outline.cc: Remove.
439

Roland Levillain's avatar
Roland Levillain committed
440
	* tests/util/component_precise_outline.cc: New.
441

442
443
444
445
446
447
448
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix use of skeleton computation algorithms in Scribo.

	* scribo/estim/components_features.hh,
	* scribo/estim/internal/compute_skeleton.hh: Here.

449
450
451
452
453
2011-07-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/paragraphs.hh: Adding horizontal separators check in
	paragraphs construction.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
454
455
456
457
458
459
460
2011-06-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

	* headers.mk,
	* tests/unit_test/unit-tests.mk: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
2011-06-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix compilation.

	* scribo/core/object_groups.hh,
	* scribo/debug/logger.hh,
	* scribo/estim/object_groups_mean_width.hh,
	* src/debug/show_paragraph_blocks.cc,
	* src/debug/show_text_lines.cc,
	* src/non_text_components.cc,
	* src/primitive/extract/alignments.cc,
	* scribo/text/extract_paragraphs_hdoc.hh: Fix namespace ambiguities.

	* scribo/core/object_links.hh: Remove useless find_root().

	* scribo/debug/bboxes_enlarged_image.hh,
	* scribo/debug/looks_like_a_text_line_image.hh: Update includes.

	* scribo/filter/images_in_paragraph.hh,
	* scribo/filter/paragraphs_bbox_overlap.hh,
	* scribo/filter/paragraphs_in_image.hh,
	* scribo/filter/separators_in_element.hh,
	* scribo/filter/separators_in_paragraph.hh,
	* scribo/io/img/internal/debug_img_visitor.hh,
	* scribo/io/img/internal/full_img_visitor.hh,
	* scribo/io/xml/internal/compute_text_colour.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh,
	* scribo/io/xml/internal/time_info.hh,
	* scribo/postprocessing/images_to_drop_capital.hh,
	* scribo/primitive/remove/separators.hh,
	* scribo/text/extract_paragraphs.hh,
	* scribo/text/paragraphs_closing.hh,
	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Add
	missing includes.

	* scribo/io/xml/load.hh: Fix string conversions.

	* scribo/primitive/group/from_double_link.hh
	* scribo/primitive/link/with_several_left_links.hh
	* scribo/primitive/link/with_several_right_links.hh
	* src/afp/link.hh: Update according new API in
	object_groups/links.

	* src/text_in_picture.cc,
	* src/text_in_picture_neg.cc,
	* src/text_recognition_in_picture.cc: Update a routine name.

509
510
511
512
513
2011-06-27  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/internal/content_in_doc_functor.hh: Add a
	timer.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
514
515
516
517
518
519
520
521
522
523
2011-06-27  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix XML output.

	* demo/viewer/viewer.cc,
	* demo/viewer/xml_widget.cc: Update tag names.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/save.hh: Save component outlines.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
524
525
526
527
528
529
530
531
532
533
534
535
536
537
2011-06-27  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix compilation issues.

	* scribo/core/component_features_data.hh,
	* scribo/core/group_info.hh,
	* scribo/io/xml/internal/compute_text_colour.hh,
	* scribo/io/xml/internal/time_info.hh,
	* scribo/util/color_to_hex.hh,
	* scribo/util/component_precise_outline.hh: Add missing inline.

	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh: Add
	a missing include.

538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
2011-06-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Make different algorithms for doc and hdoc use cases.

	* scribo/core/paragraph_set.hh: Add an overload of
	make::paragraph().

	* scribo/text/paragraphs.hh: Move...

	* scribo/text/extract_paragraphs.hh,
	* scribo/text/extract_paragraphs_hdoc.hh: ... here.

	* scribo/text/merging.hh: Remove holder() calls.

	* scribo/text/merging_hdoc.hh: New.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Fix compilation.

	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Make use
	of hdoc algorithms.

559
560
561
562
563
564
565
566
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new toolchain for ICDAR contests.

	* src/contest/DAE-2011/Makefile.am: New target.

	* src/contest/DAE-2011/content_in_doc_dae.cc: New.

567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Disable OCR in ICDAR toolchains.

	* scribo/toolchain/internal/content_in_doc_functor.hh,
	* src/Makefile.am,
	* src/contest/DAE-2011/content_in_hdoc_dae.cc: Here.

2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add one more toolchain for DAE contest.

	* scribo/toolchain/internal/content_in_doc_functor.hh:
	* src/Makefile.am
	* src/contest/DAE-2011/Makefile.am
	* src/contest/DAE-2011/content_in_hdoc_dae.cc

584
585
586
587
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/contest/DAE-2011/content_in_hdoc_dae.cc: Specify output dir.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
588
589
590
591
592
593
594
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example.

	* src/util/Makefile.am,
	* src/util/component_precise_outline.cc: New.

595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add binaries for ICDAR 2011 contests.

	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Remove
	debug.

	* src/content_in_hdoc.cc: Disable debug.

	* src/contest/DAE-2011/Makefile.am,
	* src/contest/Makefile.am,
	* src/contest/hdlac-2011/Makefile.am: New targets.

	* src/contest/DAE-2011/content_in_hdoc_dae.cc,
	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
611
612
613
614
615
616
617
618
619
620
621
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/io/xml/internal/page_xml_visitor.hh: Fix duplicate ids.

	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Remove
	debug and disable OCR.

	* scribo/util/component_precise_outline.hh: Remove debug.

622
623
624
625
626
627
628
2011-06-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix use of uninitialized values.

	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
	* scribo/primitive/remove/separators.hh: Initialize border.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
2011-06-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix a serious memory leak.

	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh,
	* scribo/core/line_info.hh,
	* scribo/draw/line_components.hh: Remove holder data. Prevented
	the containers from being freed.

	* scribo/io/img/internal/debug_img_visitor.hh,
	* scribo/io/img/internal/full_img_visitor.hh,
	* scribo/io/img/save.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh,
	* scribo/io/xml/save.hh,
	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
	* scribo/primitive/remove/separators.hh,
	* scribo/text/merging.hh,
	* scribo/text/paragraphs.hh,
	* scribo/text/paragraphs_closing.hh,
	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Update
	code in order to make holder data useless.

652
653
654
655
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/paragraphs_closing.hh: Revamp code.

656
657
658
659
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/box_is_included.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
660
661
662
663
664
665
666
667
668
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix Page XML output.

	* scribo/io/xml/internal/print_image_coords.hh,
	* scribo/io/xml/internal/print_page_preambule.hh: Fix typos.

	* scribo/io/xml/internal/time_info.hh: New.

669
670
671
672
673
674
675
676
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Handle drop capital components.

	* scribo/core/tag/component.hh: New tag.

	* scribo/postprocessing/images_to_drop_capital.hh: New routine.

677
678
679
680
681
682
683
684
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Save component outlines instead of bboxes.

	* scribo/io/img/internal/debug_img_visitor.hh,
	* scribo/io/img/internal/full_img_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh: Here.

685
686
687
688
689
690
691
692
693
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add support for tags in paragraph_info.

	* scribo/core/paragraph_info.hh: Here.

	* scribo/core/tag/paragraph.hh: Introduce paragraph tags.


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve output cleanup for historical document toolchain.

	* scribo/filter/paragraphs_in_borders.hh,
	* scribo/filter/separators_in_borders.hh,
	* scribo/filter/separators_vert_in_borders.hh: New.

	* scribo/filter/images_in_paragraph.hh,
	* scribo/filter/paragraphs_bbox_overlap.hh,
	* scribo/filter/paragraphs_in_image.hh,
	* scribo/filter/separators_in_element.hh,
	* scribo/filter/separators_in_paragraph.hh: Improve filtering.

	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Make use
	of new filters.

711
712
713
714
715
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/component_precise_outline.hh: Add support for
	labeled_image.

716
717
718
719
720
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/component_precise_outline.hh: Fix namespace
	ambiguity.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
721
722
723
724
725
726
727
728
729
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve XML output.

	* scribo/io/img/internal/debug_img_visitor.hh,
	* scribo/io/img/internal/full_img_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh: Save element
	outlines and do not save invalid elements.

730
731
732
733
734
735
736
737
738
739
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve and cleanup Results in hdoc toolchain.

	* scribo/primitive/extract/non_text_hdoc.hh: Make parameters
	depend on the image size.

	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Add new
	filters.

740
741
742
743
744
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/lines_h_thick_and_thin.hh: Improve
	result quality.

745
746
747
748
749
750
751
752
753
754
755
756
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new hooks in toolchain functors.

	* toolchain/internal/toolchain_functor.hh: Here.

	* toolchain/internal/content_in_doc_functor.hh,
	* toolchain/internal/content_in_hdoc_functor.hh,
	* toolchain/internal/text_in_doc_functor.hh,
	* toolchain/internal/text_in_doc_preprocess_functor.hh: Make use
	of them.

757
758
759
760
761
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/component_precise_outline.hh: New. Precise component
	outline extraction.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
762
763
764
765
766
767
768
769
770
771
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new element filters.

	* scribo/filter/images_in_paragraph.hh,
	* scribo/filter/paragraphs_bbox_overlap.hh,
	* scribo/filter/paragraphs_in_image.hh,
	* scribo/filter/separators_in_element.hh,
	* scribo/filter/separators_in_paragraph.hh: New.

772
773
774
775
776
777
778
779
780
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add util::box_intersection.

	* scribo/util/box_intersection.hh: New.

	* scribo/filter/object_links_bbox_overlap.hh: Make use of this new
	routine.

781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Various small fixes in Scribo.

	* scribo/core/paragraph_info.hh: Add validity information.

	* scribo/core/tag/line.hh: Fix guard.

	* scribo/debug/line_info_image.hh: Use is_textline().

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh: Check paragraph
	validity.

	* scribo/primitive/extract/alignments.hh,
	* scribo/primitive/extract/lines_pattern.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/primitive/group/from_double_link_any.hh,
	* scribo/text/link_lines.hh,
	* scribo/text/paragraphs.hh: Fix namespace ambiguity.

	* scribo/text/merging.hh: Add missing SCRIBO_NDEBUG guards.

	* src/primitive/extract/lines_h_thick_and_thin.cc: Add a missing
	include.

	* tests/primitive/extract/Makefile.am: Do not override an existing
	variable.

811
812
813
814
815
816
817
818
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce paragraph_id_t type.

	* scribo/core/paragraph_set.hh: Make use of this new type.

	* scribo/core/tag/paragraph.hh: New.

819
820
821
822
823
824
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Share document structure data.

	* scribo/core/document.hh: Here.

825
826
827
828
829
830
2011-05-25 Coddy Levi <levi@lrde.epita.fr>

	Deep modifications and clean correction of the previous bug.

	* scribo/util/component_outline.hh: Here.

831
832
833
834
835
836
2011-05-24 Coddy Levi <levi@lrde.epita.fr>

	Further correction of the component outlining bug.

	* scribo/util/component_outline.hh: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
837
838
839
840
2011-05-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve results.

Roland Levillain's avatar
Roland Levillain committed
841
842
	* scribo/primitive/extract/lines_h_thick_and_thin.hh: Fix
	structural element length.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
843
844
845
846
847
848
849
850
851
852
853

	* scribo/primitive/extract/non_text_hdoc.hh: Filter too small images.

	* scribo/text/paragraphs.hh: Make it compile.

	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Denoise
	larger objects. Fix vseparator image and binary_image_wo_seps.

	* src/primitive/extract/lines_thick_and_thin.cc: Be less severe on
	parameters.

854
855
856
857
858
859
2011-05-20 Coddy Levi <levi@lrde.epita.fr>

	Correct a bug in the compononent outlining algorithm.

	* scribo/util/component_outline.hh: Here.

860
861
862
863
864
865
866
867
2011-05-18 Julien Marquegnies <marquegnies@lrde.epita.fr>

	Improve paragraph grouping for historical documents.

	* scribo/core/line_info.hh,
	* scribo/text/merging.hh,
	* scribo/text/paragraphs.hh: Here.

868
869
870
871
872
873
874
2011-05-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix use of skeleton_constrained.

	* scribo/estim/components_features.hh,
	* scribo/estim/internal/compute_skeleton.hh: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
875
876
877
878
879
880
881
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	Add new tests.

	* tests/filter/Makefile.am,
	* tests/util/Makefile.am: Add new targets.

Roland Levillain's avatar
Roland Levillain committed
882
	* tests/filter/objects_on_border.cc,
Guillaume Lazzara's avatar
Guillaume Lazzara committed
883
884
885
886
887
888
	* tests/util/component_outline.cc: New.

	* tests/img/comp_on_borders.pbm,
	* tests/img/multi_scale.png,
	* tests/img/single_object.pbm: New test data.

889
890
891
892
893
894
895
896
897
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	New routine to extract both thin and thick separators.

	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
	* src/primitive/extract/Makefile.am,
	* src/primitive/extract/lines_h_thick_and_thin.cc,
	* src/primitive/extract/lines_thick_and_thin.cc: New.

898
899
900
901
902
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	* scribo/primitive/extract/non_text_hdoc.hh: New routine for
	historical documents.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
903
904
905
906
907
908
909
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	New object filter.

	* scribo/fun/v2b/objects_on_border_filter.hh,
	* scribo/filter/objects_on_border.hh: New.

910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	Various small fixes in Scribo.

	* scribo/core/document.hh: Store binary image without separators.

	* scribo/filter/object_links_bbox_overlap.hh: Fix use of
	object_links structure.

	* scribo/io/img/internal/debug_img_visitor.hh: Do not draw invalid
	elements.

	* scribo/make/text_components_image.hh: Add a precondition.

	* scribo/primitive/extract/alignments.hh: Add debug guards.

	* scribo/primitive/extract/lines_h_pattern.hh,
	* scribo/primitive/extract/lines_v_pattern.hh: Fix structural
	element used for dilation.

	* scribo/text/merging.hh: Reindent comments.

Roland Levillain's avatar
Roland Levillain committed
932
	* src/Makefile.am: Add content_in_hdoc target.
933

934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	Add holder information to component_info.

	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh,
	* scribo/core/internal/doc_serializer.hh,
	* scribo/io/img/internal/debug_img_visitor.hh,
	* scribo/io/img/internal/draw_edges.hh,
	* scribo/io/img/internal/full_img_visitor.hh,
	* scribo/io/img/internal/non_text_img_visitor.hh,
	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh,
	* scribo/util/component_outline.hh: Add a template parameter to
	component_info structure and update its use.

951
952
953
954
955
956
957
958
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	New specific toolchain for historical documents.

	* scribo/toolchain/content_in_hdoc.hh,
	* scribo/toolchain/internal/content_in_hdoc_functor.hh,
	* src/content_in_hdoc.cc: New.

959
960
961
962
2011-05-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/research.tex: New file describing tests and conclusions.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
963
964
965
966
967
968
969
970
2011-05-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new tool.

	* src/misc/Makefile.am: Add new target.

	* src/misc/closure_rectanle.cc: New.

971
972
973
974
975
976
977
2011-05-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix use of skeleton_constrained.

	* scribo/estim/components_features.hh,
	* scribo/estim/internal/compute_skeleton.hh: Here.

978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
2011-05-12  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	Update support for PAGE XML format.

	* scribo/core/tag/line.hh: Add operator<<.

	* scribo/io/xml/internal/compute_text_colour.hh: Update color
	names.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh,
	* scribo/io/xml/internal/print_box_coords.hh,
	* scribo/io/xml/internal/print_page_preambule.hh: Update in order
	to produce PAGE compatible XML files.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
994
995
996
997
998
999
1000
2011-05-11  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	Small fixes in Scribo.

	* scribo/primitive/extract/lines_pattern.hh: Fix missing include.

	* scribo/primitive/extract/non_text.hh: Change debug level for