ChangeLog 216 KB
Newer Older
1
2
3
4
5
2011-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

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

6
7
8
9
2012-09-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/src/content_in_doc.cc: Add more debug images.

10
11
12
13
2012-09-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/debug/logger.hh: Fix attributes initialization order.

14
15
16
17
18
19
20
2012-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

 	Take OCR confidence into account in HTML reconstruction.

	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl: Here.

21
22
23
24
2012-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/afp/components.hh: Rename index_of_point to offset_of_point.

25
26
27
28
2012-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/debug/logger.hh: Add missing inline keywords.

29
30
31
32
33
34
35
36
37
38
39
40
41
42
2012-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Take OCR confidence into account in document reconstruction.

	* demo/xml2doc/templates/pdf/line.xsl: Do not print lines with
	confidence < 60%.

	* scribo/core/line_info.hh: Add access to text confidence.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh: Save text confidence.

	* scribo/io/xml/load.hh: Load text confidence.

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
2012-05-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Rename point_at_index, delta_index and index_of_point.

	* scribo/binarization/sauvola_ms.hh,
	* scribo/canvas/integral_browsing.hh,
	* scribo/draw/line_components.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/filter/objects_with_holes.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/preprocessing/rotate_90.hh,
	* scribo/primitive/extract/internal/union.hh,
	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
	* scribo/primitive/extract/lines_pattern.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/primitive/internal/rd.hh,
	* scribo/subsampling/integral.hh,
	* scribo/subsampling/integral_single_image.hh,
	* scribo/text/merging.hh,
	* scribo/text/merging_hdoc.hh: Rename point_at_index,
	delta_index and index_of_point to point_at_offset, delta_offset
	and offset_of_point.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
66
67
68
69
70
71
72
73
2012-05-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve option parser.

	* scribo/debug/option_check.hh: New function for verbose mode.

	* scribo/debug/option_parser.hh: Fix a bug with misplaced options.

74
75
76
77
78
79
80
81
2012-05-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Add Readme files about contests.

	* src/contest/DAE-2011/README,
	* src/contest/hdibco-2010/README,
	* src/contest/hdlac-2011/README: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
82
83
84
85
86
87
88
89
90
91
92
93
94
2012-05-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix compilation in Scribo.

	* scribo/primitive/link/merge_double_link_closest_aligned.hh: Add
	a missing include.

	* src/content_in_hdoc.cc,
	* src/contest/DAE-2011/content_in_doc_dae.cc,
	* src/contest/DAE-2011/content_in_hdoc_dae.cc,
	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
	* src/non_text_components.cc: Add mandatory arguments.

95
96
97
98
2012-05-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/debug/logger.hh: Improve log system.

99
100
101
102
103
104
105
106
107
108
109
110
111
112
2012-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Remove useless targets in scribo/src/binarization.

	* scribo/src/binarization/Makefile.am: Remove targets.

	* src/binarization/pgm_sauvola.cc,
	* src/binarization/pgm_sauvola_ms.cc,
	* src/binarization/pgm_sauvola_threshold_image.cc,
	* src/binarization/ppm_sauvola.cc,
	* src/binarization/ppm_sauvola_ms.cc,
	* src/binarization/ppm_sauvola_ms_fg.cc,
	* src/binarization/ppm_sauvola_ms_split.cc: Remove.

113
114
115
116
117
118
119
120
121
2012-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Cleanup text_in_picture_dual.

	* src/Makefile.am: Update target name.

	* src/text_in_picture_neg.cc: Rename as...
	* src/text_in_picture_dual.cc: ... this. Use option parser.

122
123
124
125
126
127
128
2012-04-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Make unskew an option in content_in_doc.

	* scribo/toolchain/text_in_doc_preprocess.hh,
	* src/content_in_doc.cc: Make unskew an option.

129
130
131
132
133
2011-12-12  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/subsampling/integral_single_image.hh: Fix forward
	declarations.

134
135
136
137
2011-12-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/Makefile.am: Remove -lpthread.

138
139
140
141
2011-11-30  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/recognition.hh: Make some includes conditional.

142
143
144
145
146
147
2011-11-29  Guillaume Lazzara  <z@lrde.epita.fr>

	Do not compile scribo-viewer if Tesseract is not present.

	* demo/Makefile.am: Add guards.

148
149
150
151
152
153
154
2011-11-29  Guillaume Lazzara  <z@lrde.epita.fr>

	Make recognition faster and store recognition confidence.

	* scribo/core/line_info.hh,
	* scribo/text/recognition.hh: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
155
156
157
158
159
160
161
2011-11-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Regenerate mk files.

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

162
163
164
165
166
167
168
169
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.

170
171
172
173
174
175
2011-11-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix test of Niblack's algorithm.

	* tests/binarization/niblack.ref.pbm: Update.

176
177
178
179
180
181
182
183
184
185
2011-11-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Update use of the threshold function.

	* scribo/binarization/global_threshold.hh: Here.

	* scribo/binarization/sauvola_ms_split.hh,
	* scribo/text/clean.hh,
	* scribo/text/clean_inplace.hh: Remove useless include.

186
187
188
189
2011-11-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: update requirements information.

190
191
192
193
194
2011-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

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

195
196
197
198
199
200
201
202
2011-10-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Move Otsu's threshold computation in a separate routine.

	* scribo/binarization/otsu.hh,
	* scribo/binarization/otsu_threshold.hh: Move threshold
	computation in a separate routine.

203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
2011-10-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Add Niblack's binarization algorithm.

	* scribo/binarization/all.hh: Update includes.

	* scribo/binarization/internal/compute_local_threshold.hh,
	* scribo/binarization/internal/compute_sauvola_threshold.hh,
	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/internal/local_threshold_debug.hh,
	* scribo/binarization/internal/sauvola_debug.hh,
	* scribo/binarization/internal/sauvola_formula.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold.hh,
	* scribo/binarization/sauvola_threshold_image.hh: Revamp code in
	order to share some parts with Niblack's algorithm.

	* scribo/binarization/internal/niblack_formula.hh,
	* scribo/binarization/niblack.hh,
	* scribo/binarization/niblack_threshold.hh: New.

	* src/binarization/Makefile.am
	* tests/binarization/Makefile.am: Add new targets.

	* src/binarization/niblack.cc: New tool.

	* tests/binarization/niblack.cc: New test.

	* tests/binarization/niblack.ref.pbm: New test data.

234
235
236
237
238
239
240
241
2011-10-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new tool for global thresholding.

	* src/binarization/Makefile.am: Add a new target.

	* src/binarization/global_threshold.cc: New.

242
243
244
245
2011-10-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/binarization/global_threshold.cc: Fix test.

246
247
248
249
250
251
252
253
254
255
256
257
258
2011-10-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Add Otsu's binarization implementation.

	* scribo/binarization/otsu.hh: New routine.

	* src/binarization/Makefile.am,
	* src/binarization/otsu.cc: New tool.

	* tests/binarization/Makefile.am,
	* tests/binarization/otsu.cc,
	* tests/binarization/otsu.ref.pbm: New test data.

259
260
261
262
263
264
265
266
267
268
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.

269
270
271
2011-09-15  Guillaume Lazzara  <lazzara@caroussel.lrde.epita.fr>

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

273
274
275
276
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl,
	* demo/xml2doc/templates/pdf/line.xsl: Here.

277
278
279
280
2011-09-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: Add more information.

Roland Levillain's avatar
Roland Levillain committed
281
282
283
284
285
286
287
288
289
290
291
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.

292
293
294
295
296
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
297
298
299
300
301
302
303
304
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.

305
306
307
308
309
310
311
312
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.

313
314
315
316
317
318
2011-06-09  Roland Levillain  <roland@lrde.epita.fr>

	Make SCRIBO's copyright headers uniform.

	* tests/data.hh.in: Here.

319
320
321
322
323
324
325
2011-09-14  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distcleancheck target.

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

326
327
328
329
330
331
332
333
334
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.

335
336
337
338
339
340
341
342
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
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
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.

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

370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
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.

395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
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).

417
418
419
420
421
2011-09-08  Guillaume Lazzara  <z@lrde.epita.fr>

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

422
423
424
425
426
2011-03-29  Guillaume Lazzara  <z@lrde.epita.fr>

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

427
428
429
430
2011-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

431
432
433
434
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
435
436
437
438
439
440
441
442
443
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
444
445
446
447
448
449
450
451
452
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.

453
454
455
456
457
458
459
2011-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files in Scribo.

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

460
461
462
463
464
465
466
467
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.

468
469
470
471
472
2011-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

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

473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
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
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
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
528
529
530
531
532
533
534
535
536
537
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
538
539
540
541
542
543
544
545
546
547
548
549
550
551
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
552
553
554
555
556
557
558
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

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

559
560
561
562
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

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

563
564
565
566
567
568
569
570
571
572
573
574
575
576
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.

577
578
579
580
581
582
583
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.

584
585
586
587
588
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
589
590
591
592
593
594
595
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
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
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.

644
645
646
647
648
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
649
650
651
652
653
654
655
656
657
658
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
659
660
661
662
663
664
665
666
667
668
669
670
671
672
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.

673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
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.

694
695
696
697
698
699
700
701
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.

702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
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

719
720
721
722
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
723
724
725
726
727
728
729
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example.

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

730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
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
746
747
748
749
750
751
752
753
754
755
756
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.

757
758
759
760
761
762
763
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
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
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.

787
788
789
790
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

791
792
793
794
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/box_is_included.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
795
796
797
798
799
800
801
802
803
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.

804
805
806
807
808
809
810
811
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.

812
813
814
815
816
817
818
819
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.

820
821
822
823
824
825
826
827
828
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.


829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
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.

846
847
848
849
850
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

851
852
853
854
855
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
856
857
858
859
860
861
862
863
864
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.

865
866
867
868
869
870
871
872
873
874
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.

875
876
877
878
879
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

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

880
881
882
883
884
885
886
887
888
889
890
891
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.

892
893
894
895
896
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
897
898
899
900
901
902
903
904
905
906
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.

907
908
909
910
911
912
913
914
915
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.

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

946
947
948
949
950
951
952
953
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.

954
955
956
957
958
959
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Share document structure data.

	* scribo/core/document.hh: Here.

960
961
962
963
964
965
2011-05-25 Coddy Levi <levi@lrde.epita.fr>

	Deep modifications and clean correction of the previous bug.

	* scribo/util/component_outline.hh: Here.

966
967
968
969
970
971
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
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
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.

988
989
990
991
992
993
2011-05-20 Coddy Levi <levi@lrde.epita.fr>

	Correct a bug in the compononent outlining algorithm.

	* scribo/util/component_outline.hh: Here.

994
995
996
997
998
999
1000
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.