ChangeLog 210 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.

16
17
18
19
20
21
22
23
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.

24
25
26
27
2011-12-06  Guillaume Lazzara  <z@lrde.epita.fr>

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

28
29
30
31
32
33
34
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.

35
36
37
38
2011-11-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: update requirements information.

39
40
41
42
43
2011-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

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

44
45
46
47
48
49
50
51
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.

52
53
54
55
56
57
58
59
60
61
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.

62
63
64
2011-09-15  Guillaume Lazzara  <lazzara@caroussel.lrde.epita.fr>

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

66
67
68
69
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl,
	* demo/xml2doc/templates/pdf/line.xsl: Here.

70
71
72
73
2011-09-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: Add more information.

Roland Levillain's avatar
Roland Levillain committed
74
75
76
77
78
79
80
81
82
83
84
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.

85
86
87
88
89
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
90
91
92
93
94
95
96
97
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.

98
99
100
101
102
103
104
105
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.

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

	Make SCRIBO's copyright headers uniform.

	* tests/data.hh.in: Here.

112
113
114
115
116
117
118
2011-09-14  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distcleancheck target.

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

119
120
121
122
123
124
125
126
127
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.

128
129
130
131
132
133
134
135
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
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.

153
154
155
156
157
158
159
160
161
162
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.

163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
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.

188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
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).

210
211
212
213
214
2011-09-08  Guillaume Lazzara  <z@lrde.epita.fr>

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

215
216
217
218
219
2011-03-29  Guillaume Lazzara  <z@lrde.epita.fr>

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

220
221
222
223
2011-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

224
225
226
227
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
228
229
230
231
232
233
234
235
236
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
237
238
239
240
241
242
243
244
245
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.

246
247
248
249
250
251
252
2011-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files in Scribo.

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

253
254
255
256
257
258
259
260
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.

261
262
263
264
265
2011-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

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

266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
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.

	* scribo/src/contest/hdlac-2011/content_in_hdoc_hdlac.cc: Fix
	parameters.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
321
322
323
324
325
326
327
328
329
330
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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
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
345
346
347
348
349
350
351
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

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

352
353
354
355
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

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

356
357
358
359
360
361
362
363
364
365
366
367
368
369
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.

	* scribo/tests/util/Makefile.am: Fix targets.

	* scribo/tests/util/component_outline.cc: Remove.

	* scribo/tests/util/component_precise_outline.cc: New.

370
371
372
373
374
375
376
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.

377
378
379
380
381
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
382
383
384
385
386
387
388
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
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
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.

437
438
439
440
441
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
442
443
444
445
446
447
448
449
450
451
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
452
453
454
455
456
457
458
459
460
461
462
463
464
465
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.

466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
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.

487
488
489
490
491
492
493
494
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.

495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
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

512
513
514
515
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
516
517
518
519
520
521
522
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example.

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

523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
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
539
540
541
542
543
544
545
546
547
548
549
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.

550
551
552
553
554
555
556
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
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
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.

580
581
582
583
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

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

	* scribo/util/box_is_included.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
588
589
590
591
592
593
594
595
596
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.

597
598
599
600
601
602
603
604
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.

605
606
607
608
609
610
611
612
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.

613
614
615
616
617
618
619
620
621
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.


622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
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.

639
640
641
642
643
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

644
645
646
647
648
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
649
650
651
652
653
654
655
656
657
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.

658
659
660
661
662
663
664
665
666
667
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.

668
669
670
671
672
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

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

673
674
675
676
677
678
679
680
681
682
683
684
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.

685
686
687
688
689
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
690
691
692
693
694
695
696
697
698
699
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.

700
701
702
703
704
705
706
707
708
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.

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
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.

739
740
741
742
743
744
745
746
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.

747
748
749
750
751
752
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Share document structure data.

	* scribo/core/document.hh: Here.

753
754
755
756
757
758
2011-05-25 Coddy Levi <levi@lrde.epita.fr>

	Deep modifications and clean correction of the previous bug.

	* scribo/util/component_outline.hh: Here.

759
760
761
762
763
764
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
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
2011-05-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve results.

	* scribo/primitive/extract/lines_h_thick_and_thin.hh: Fix structural element length.

	* 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.

781
782
783
784
785
786
2011-05-20 Coddy Levi <levi@lrde.epita.fr>

	Correct a bug in the compononent outlining algorithm.

	* scribo/util/component_outline.hh: Here.

787
788
789
790
791
792
793
794
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.

795
796
797
798
799
800
801
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
802
803
804
805
806
807
808
2011-05-16  Guillaume Lazzara  <lazzara@fidji.lrde.epita.fr>

	Add new tests.

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

809
v	* tests/filter/objects_on_border.cc,
Guillaume Lazzara's avatar
Guillaume Lazzara committed
810
811
812
813
814
815
	* 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.

816
817
818
819
820
821
822
823
824
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.

825
826
827
828
829
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
830
831
832
833
834
835
836
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.

837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
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.

	* scribo/src/Makefile.am: Add content_in_hdoc target.

861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
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.

878
879
880
881
882
883
884
885
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.

886
887
888
889
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
890
891
892
893
894
895
896
897
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.

898
899
900
901
902
903
904
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.

905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
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
921
922
923
924
925
926
927
928
929
930
931
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
	debug image.

	* src/primitive/extract/alignments.cc: Improve comment.

932
933
934
935
936
937
938
939
940
941
942
2011-05-06  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Load and save color information.

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

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/load.hh: Load and save color as hex format.

2011-05-06  Guillaume Lazzara  <lazzara@lrde.epita.fr>
943
944
945

	* scribo/text/paragraphs.hh: Remove unused argument.

946
2011-05-06  Guillaume Lazzara  <lazzara@lrde.epita.fr>
Guillaume Lazzara's avatar
Guillaume Lazzara committed
947
948
949
950
951
952
953
954
955

	Fix namespace ambiguities.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/canvas/integral_browsing.hh,
	* scribo/convert/to_base64.hh,
	* scribo/preprocessing/denoise_bg.hh: Here.

956
2011-05-06  Guillaume Lazzara  <lazzara@lrde.epita.fr>
Guillaume Lazzara's avatar
Guillaume Lazzara committed
957
958
959
960
961
962
963
964
965
966

	Improve PDF output.

	* demo/xml2doc/image_crop.cc: Cleanup temporary files.

	* demo/xml2doc/templates/pdf/line.xsl: Use paragraph
	information. Take color into account.

	* demo/xml2doc/templates/pdf/regions.xsl: Fix image localization.

967
2011-05-05  Guillaume Lazzara  <lazzara@lrde.epita.fr>
968
969
970
971
972
973
974
975
976
977
978

	Add hexadecimal color conversion routines.

	* tests/Makefile.am: Add subdir.

	* scribo/util/color_to_hex.hh,
	* scribo/util/hex_to_color.hh,
	* tests/util/Makefile.am,
	* tests/util/color_to_hex.cc,
	* tests/util/hex_to_color.cc: New.

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

	Explicitly set vertical or horizontal attribute for separators in
	XML output.

	* demo/xml2doc/image_crop.cc,
	* demo/xml2doc/templates/pdf/regions.xsl: Handle new XML tags.

	* scribo/core/document.hh,
	* scribo/core/tag/component.hh,
	* scribo/io/img/internal/debug_img_visitor.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: Update enum
	declaration and handle new cases.

997
2011-05-05  Guillaume Lazzara  <lazzara@lrde.epita.fr>
998
999
1000

	Make use of opacity in PDF output.