ChangeLog 237 KB
Newer Older
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1
2
3
4
5
6
7
8
9
10
11
2013-03-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix sauvola_ms test.

	* tests/binarization/sauvola_ms.cc,
	* tests/binarization/sauvola_ms.ref.pbm,
	* tests/binarization/sauvola_ms_weven_hodd.ref.pbm,
	* tests/binarization/sauvola_ms_wodd_heven.ref.pbm,
	* tests/binarization/sauvola_ms_wodd_hodd.ref.pbm: Make use of
	reference files in test.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
2013-03-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix compilation issues.

	* scribo/binarization/local_threshold.hh,
	* scribo/core/central_sites.hh,
	* scribo/debug/save_table_image.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/fun/v2b/objects_large_filter.hh,
	* scribo/make/influence_zone_graph.hh,
	* scribo/postprocessing/fill_object_holes.hh: Fix namespace
	ambiguities.

	* scribo/toolchain/text_in_doc_preprocess.hh: Fix arguments.

	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
	* scribo/util/integral_sub_sum_sum2_functor.hh: Use namespace mln.

	* scribo/util/compute_sub_domains.hh,
	* scribo/util/integral_sum_sum2_functor.hh,
	* scribo/util/integral_sum_sum2_global_min_functor.hh,
	* src/contest/hdibco-2010/sauvola_ms_hdibco.cc: Add missing
	include.

	* scribo/io/img/save.hh: Use box2d constructor.

38
39
40
41
42
43
44
45
46
47
48
49
50
51
2013-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Rename point_at_index and index_of_point.

	* scribo/binarization/internal/niblack_functor_fast.hh,
	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh,
	* scribo/binarization/internal/singh_functor.hh,
	* scribo/binarization/internal/wolf_functor_fast.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/util/init_integral_image.hh,
	* scribo/util/integral_sub_sum_sum2_functor.hh: Here.

52
53
54
55
2013-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/recognition.hh: Fix tesseract includes.

56
57
58
59
60
61
62
63
64
65
2013-01-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Use io::magick to save output.

	* src/binarization/niblack.cc,
	* src/binarization/otsu.cc,
	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/wolf.cc: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
66
67
68
69
70
71
72
73
74
2013-01-24  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix binarization programs.

	* src/binarization/sauvola_ms.cc: Add negate option.

	* src/binarization/sauvola_ms_debug.cc: Fix invalid k parameter
	value.

75
76
77
78
79
2012-11-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms.hh: Fix overlapping area
	criterion.

80
81
82
83
2012-09-10  Guillaume Lazzara  <z@lrde.epita.fr>

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

84
85
86
87
88
89
90
2012-09-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Use io::magick for sauvola binaries output.

	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_ms.cc: Here.

91
92
93
94
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
95
96
97
98
99
100
101
102
103
2012-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Add Singh algorithm.

	* scribo/binarization/internal/singh_formula.hh,
	* scribo/binarization/internal/singh_functor.hh,
	* scribo/binarization/singh.hh,
	* src/binarization/singh.cc: New.

104
105
106
107
108
109
110
111
112
113
114
115
2012-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Make the area value depends on the first scale ratio.

	* scribo/binarization/sauvola_ms.hh: Change area ranges.

	* tests/binarization/sauvola_ms.cc,
	* tests/binarization/sauvola_ms.ref.pbm,
	* tests/binarization/sauvola_ms_weven_hodd.ref.pbm,
	* tests/binarization/sauvola_ms_wodd_heven.ref.pbm,
	* tests/binarization/sauvola_ms_wodd_hodd.ref.pbm: Fix test.

116
117
118
119
120
121
2012-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix invalid default options.

	* src/binarization/sauvola_ms_split.cc: Here.

122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
2012-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Provide original algorithms without approximations.

	* scribo/binarization/internal/local_threshold_core.hh,
	* scribo/binarization/internal/niblack_formula.hh,
	* scribo/binarization/internal/niblack_functor.hh,
	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh,
	* scribo/binarization/internal/wolf_functor.hh,
	* scribo/binarization/niblack.hh,
	* scribo/binarization/wolf.hh: Restore original algorithms.

	* tests/binarization/Makefile.am,
	* tests/binarization/niblack.cc,
	* tests/binarization/niblack.ref.pbm,
	* tests/binarization/niblack_weven_hodd.ref.pbm,
	* tests/binarization/niblack_wodd_heven.ref.pbm,
	* tests/binarization/niblack_wodd_hodd.ref.pbm: Adjust test results.

	* scribo/binarization/internal/niblack_functor_fast.hh,
	* scribo/binarization/internal/wolf_functor_fast.hh,
	* scribo/binarization/niblack_fast.hh,
	* scribo/binarization/wolf_fast.hh,
	* tests/binarization/wolf.cc,
	* tests/binarization/wolf.ref.pbm,
	* tests/binarization/wolf_weven_hodd.ref.pbm,
	* tests/binarization/wolf_wodd_heven.ref.pbm,
	* tests/binarization/wolf_wodd_hodd.ref.pbm,
	* tests/binarization/niblack_fast.cc,
	* tests/binarization/niblack_fast.ref.pbm,
	* tests/binarization/niblack_fast_weven_hodd.ref.pbm,
	* tests/binarization/niblack_fast_wodd_heven.ref.pbm,
	* tests/binarization/niblack_fast_wodd_hodd.ref.pbm,
	* tests/binarization/wolf_fast.cc,
	* tests/binarization/wolf_fast.ref.pbm,
	* tests/binarization/wolf_fast_weven_hodd.ref.pbm,
	* tests/binarization/wolf_fast_wodd_heven.ref.pbm,
	* tests/binarization/wolf_fast_wodd_hodd.ref.pbm: New.

163
164
165
166
2012-06-20  Guillaume Lazzara  <z@lrde.epita.fr>

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

167
168
169
170
2012-06-20  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/otsu_threshold.hh: Fix namespace ambiguities.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
171
172
173
174
175
176
177
178
179
180
181
182
2012-05-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* scribo/binarization/internal/local_threshold_core.hh: Add a
	missing include.

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

	* scribo/text/paragraphs_closing.hh: Fix a warning related to an
	unused-variable.

183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
2012-05-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a better support for different k values in Sauvola Multiscale.

	* scribo/scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/scribo/binarization/sauvola_ms.hh,
	* scribo/scribo/binarization/sauvola_ms_split.hh,
	* scribo/scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
	* scribo/scribo/toolchain/text_in_doc_preprocess.hh: Make use of
	k2, k3 and k4 variables.

	* scribo/src/binarization/sauvola_ms.cc,
	* scribo/src/binarization/sauvola_ms_debug.cc,
	* scribo/src/binarization/sauvola_ms_fg.cc,
	* scribo/src/binarization/sauvola_ms_split.cc: Fix program
	arguments.

200
201
202
203
204
205
2012-05-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a default verbose mode in debug::logger.

	* scribo/debug/logger.hh: Here.

206
207
208
209
210
211
212
213
214
2012-05-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of logger features.

	* scribo/binarization/internal/local_threshold_core.hh,
	* scribo/binarization/internal/sauvola_formula.hh,
	* scribo/binarization/sauvola_ms.hh: Make use of operator<< with
	debug::logger.

215
216
217
218
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/binarization/sauvola_ms.cc: Fix options handling.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
219
220
221
222
223
224
225
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix call to sauvola_ms.

	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_ms_split.hh: Here.

226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of new logger features.

	* src/binarization/global_threshold.cc,
	* src/binarization/kim.cc,
	* src/binarization/niblack.cc,
	* src/binarization/otsu.cc,
	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_ms_debug.cc,
	* src/binarization/sauvola_ms_fg.cc,
	* src/binarization/sauvola_ms_split.cc,
	* src/binarization/wolf.cc: Make use of operator<<.

241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Cleanup Kim's binarization.

	* src/binarization/kim.cc: Move code...
	* scribo/binarization/kim.hh: ... here.

	* tests/binarization/Makefile.am: Add new target.

	* tests/binarization/kim.cc,
	* tests/binarization/kim.ref.pbm,
	* tests/binarization/kim_weven_hodd.ref.pbm,
	* tests/binarization/kim_wodd_heven.ref.pbm,
	* tests/binarization/kim_wodd_hodd.ref.pbm: New.

256
257
258
259
260
261
262
263
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Make integral browsing canvas robust to large windows.

	* scribo/binarization/sauvola_ms.hh: remove tests on window size.

	* scribo/canvas/integral_browsing.hh: Check window size.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
264
265
266
267
268
269
270
271
272
273
274
275
276
277
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Several small fixes.

	* scribo/estim/font_color.hh: Fix namespace ambiguities.

	* src/binarization/Makefile.am: Add kim as target.

	* src/binarization/kim.cc: Cleanup code.

	* src/binarization/niblack.cc: Fix reverse video.

	* src/binarization/sauvola_ms.cc: Handle several k values.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
278
279
280
281
282
283
284
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve documentation.

	* scribo/binarization/sauvola_ms.hh,
	* scribo/canvas/integral_browsing.hh: Here.

285
286
287
288
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/binarization/kim.cc: Remove debug and useless steps.

289
290
291
292
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/binarization/kim.cc: New binarization algorithm.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
293
294
295
296
297
298
299
300
301
302
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce a verbose mode.

	* scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/binarization/sauvola_ms.hh: Remove debug.

	* src/binarization/otsu.cc,
	* src/binarization/sauvola.cc: Add verbose mode option.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve Sauvola.

	* sauvola_fast.cc: Remove.

	* scribo/binarization/internal/local_threshold_debug.hh: Add more
	debug.

	* scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/binarization/sauvola_ms.hh: Introduce k for each scale.

	* src/binarization/Makefile.am,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_ms_debug.cc,
	* src/binarization/sauvola_ms_split.cc: Take several k into
	account.

321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Add Wolf's binarization algorithm.

	* scribo/binarization/internal/wolf_formula.hh,
	* scribo/binarization/internal/wolf_functor.hh,
	* scribo/binarization/wolf.hh,
	* scribo/util/integral_sum_sum2_global_min_functor.hh,
	* src/binarization/wolf.cc,
	* tests/binarization/wolf.cc,
	* tests/binarization/wolf.ref.pbm,
	* tests/binarization/wolf_weven_hodd.ref.pbm,
	* tests/binarization/wolf_wodd_heven.ref.pbm,
	* tests/binarization/wolf_wodd_hodd.ref.pbm: New.

	* src/binarization/Makefile.am,
	* tests/binarization/Makefile.am: Add new target.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
339
340
341
342
343
344
345
346
347
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Add more debug.

	* scribo/binarization/internal/local_threshold_debug.hh,
	* scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/binarization/sauvola_ms.hh,
	* src/binarization/sauvola_ms_debug.cc: Here.

348
349
350
351
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms.hh: Change area thresholds.

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

	* scribo/binarization/sauvola_ms.hh: More fixes in debug.

356
357
358
359
360
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/internal/sauvola_ms_functor.hh: Use C8
	neighborhood for labeling.

361
362
363
364
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms.hh: More fixes in debug.

365
366
367
368
369
370
371
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix warning in Otsu related files.

	* scribo/binarization/otsu_threshold.hh,
	* src/binarization/otsu.cc: Here.

372
373
374
375
376
377
378
379
380
381
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix and improve sauvola_ms debug.

	* scribo/binarization/internal/local_threshold_core.hh,
	* scribo/binarization/internal/local_threshold_debug.hh,
	* scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/binarization/sauvola_ms.hh,
	* src/binarization/sauvola_ms_debug.cc: Here.

382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix invalid line offset due to input image size.

	* scribo/binarization/internal/niblack_functor.hh,
	* scribo/binarization/internal/sauvola_functor.hh: Here.

	* tests/binarization/niblack.cc,
	* tests/binarization/niblack_weven_hodd.ref.pbm,
	* tests/binarization/niblack_wodd_heven.ref.pbm,
	* tests/binarization/niblack_wodd_hodd.ref.pbm,
	* tests/binarization/sauvola.cc,
	* tests/binarization/sauvola_ms.cc,
	* tests/binarization/sauvola_ms_weven_hodd.ref.pbm,
	* tests/binarization/sauvola_ms_wodd_heven.ref.pbm,
	* tests/binarization/sauvola_ms_wodd_hodd.ref.pbm,
	* tests/binarization/sauvola_weven_hodd.ref.pbm,
	* tests/binarization/sauvola_wodd_heven.ref.pbm,
	* tests/binarization/sauvola_wodd_hodd.ref.pbm,
	* tests/img/lena_weven_hodd.pgm,
	* tests/img/lena_wodd_heven.pgm,
	* tests/img/lena_wodd_hodd.pgm: Add test case.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
405
406
407
408
409
410
411
412
413
414
415
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix binarization tests.

	* sauvola_fast.cc,
	* scribo/binarization/internal/local_threshold_core.hh,
	* tests/binarization/niblack.cc,
	* tests/binarization/niblack.ref.pbm,
	* tests/binarization/sauvola.cc,
	* tests/binarization/sauvola.ref.pbm: Here.

416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Revamp *_threshold functions.

	* scribo/binarization/internal/sauvola_core.hh: Remove.

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

	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh,
	* scribo/binarization/niblack.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_threshold.hh: Make use of
	local_threshold_core.

433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Refactor local threshold binarization algorithms.

	* scribo/binarization/internal/compute_local_threshold.hh,
	* scribo/binarization/internal/first_pass_functor.hh: Remove.

	* scribo/binarization/internal/niblack_functor.hh,
	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_core.hh,
	* scribo/binarization/internal/sauvola_functor.hh,
	* scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh,
	* scribo/util/compute_sub_domains.hh,
	* scribo/util/init_integral_image.hh,
	* scribo/util/integral_sub_sum_sum2_functor.hh,
	* scribo/util/integral_sum_sum2_functor.hh,
	* src/binarization/pgm_niblack_threshold_image.cc: New.

	* scribo/binarization/internal/local_threshold_debug.hh,
	* scribo/binarization/internal/niblack_formula.hh,
	* scribo/binarization/internal/sauvola_formula.hh,
	* scribo/binarization/local_threshold.hh,
	* scribo/binarization/niblack.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold.hh,
	* scribo/binarization/trash/compute_local_threshold.hh,
	* scribo/canvas/integral_browsing.hh: Cleanup and make use of
	functors.

	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_ms_debug.cc: Handle verbose/debug
	modes.

469
470
471
472
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* sauvola_fast.cc: Cleanup and add some debug.

473
474
475
476
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* sauvola_fast.cc: Use subscaled integral image.

477
478
479
480
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* sauvola_fast.cc: Fix bugs. Stable version.

481
482
483
484
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* sauvola_fast.cc: New implementation.

485
486
487
488
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_threshold.hh: Add some debug.

489
490
491
492
493
494
495
496
497
2012-08-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Compute Sauvola on documents with light text and dark background.

	* scribo/binarization/internal/compute_local_threshold.hh,
	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/internal/sauvola_formula.hh,
	* scribo/binarization/local_threshold.hh: Update formula.

498
499
500
501
2013-03-06  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/Makefile.am: Add a missing file in EXTRA_DIST.

502
503
504
505
506
507
508
509
510
511
512
2013-03-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Add tests for lines_*_pattern routines.

	* tests/primitive/extract/Makefile.am: New targets.

	* tests/primitive/extract/lines_h_pattern.cc,
	* tests/primitive/extract/lines_h_pattern.ref.pbm,
	* tests/primitive/extract/lines_v_pattern.cc,
	* tests/primitive/extract/lines_v_pattern.ref.pbm: New.

513
514
515
516
517
518
519
2013-03-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix wrong line reconstruction with lines_*_pattern routines.

	* scribo/primitive/extract/lines_h_pattern.hh,
	* scribo/primitive/extract/lines_v_pattern.hh: Here.

520
521
522
523
524
525
526
527
528
2013-03-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Add more tests for lines_*_discontinued routines.

	* tests/primitive/extract/Makefile.am: New targets.

	* tests/primitive/extract/lines_h_discontinued.cc,
	* tests/primitive/extract/lines_v_discontinued.cc: New.

529
530
531
532
533
534
535
536
537
2013-03-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new test for lines_discontinued.

	* tests/img/lines_discontinued.pbm,
	* tests/primitive/extract/lines_discontinued.cc: New.

	* tests/primitive/extract/Makefile.am: Add new target.

538
539
540
541
542
2013-03-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/lines_discontinued.hh: Add a missing
	call to exact().

543
544
545
546
547
2013-03-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/lines_discontinued.hh: Fix invalid line
	reconstruction.

548
549
550
551
2013-03-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/subsampling/bilinear.hh: Update documentation.

552
553
554
555
2013-03-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/img/save.hh: Add an optional reduction factor.

556
557
558
559
2013-02-26  Guillaume Lazzara  <z@lrde.epita.fr>

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

560
561
562
563
564
565
566
567
568
2013-02-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix call to text_in_doc_preprocess().

	* src/content_in_hdoc.cc,
	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
	* src/non_text_components.cc,
	* src/text_in_doc_preprocess.cc: Here.

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

	Fix various warnings.

	* scribo/binarization/otsu_threshold.hh: Fix comparisons between
	different types.

	* scribo/io/xml/load.hh: Convert to float.

	* scribo/text/paragraphs_closing.hh,
	* scribo/text/recognition.hh,
	* src/afp/components.hh: Remove unused variables.

	* src/binarization/otsu.cc: Silent warning.

	* src/misc/morpho.cc: Check number of arguments.

586
587
588
589
2013-02-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* common.mk: Fix include paths order.

590
591
592
593
594
595
596
597
2012-11-27  Guillaume Lazzara  <z@lrde.epita.fr>

	Save full size region debug image.

	* src/content_in_doc.cc: Set output format to DebugWithImage.

	* scribo/io/img/save.hh: Do not subsample output image.

598
599
600
601
2012-11-27  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/content_in_doc.cc: Add more options.

602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
2013-02-13  Roland Levillain  <roland@lrde.epita.fr>

	Simplify more Scribo Makefiles thanks to AM_DEFAULT_SOURCE_EXT.

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

Roland Levillain's avatar
Roland Levillain committed
624
625
626
627
628
629
630
2010-04-22  Roland Levillain  <roland@lrde.epita.fr>

	Factor Makefiles' helpers.

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

631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
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'.

657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
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.

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

682
683
684
685
686
687
688
689
690
691
692
693
694
695
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.

696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
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.

711
712
713
714
715
716
717
718
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.

719
720
721
722
2011-12-06  Guillaume Lazzara  <z@lrde.epita.fr>

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

723
724
725
726
727
728
729
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.

730
731
732
733
2011-11-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: update requirements information.

734
735
736
737
738
2011-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

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

739
740
741
742
2012-09-26  Guillaume Lazzara  <z@lrde.epita.fr>

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

743
744
745
746
2012-09-14  Guillaume Lazzara  <z@lrde.epita.fr>

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

747
748
749
750
751
752
753
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.

754
755
756
757
2012-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

758
759
760
761
2012-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

762
763
764
765
766
767
768
769
770
771
772
773
774
775
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.

776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
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
799
800
801
802
803
804
805
806
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.

807
808
809
810
811
812
813
814
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
815
816
817
818
819
820
821
822
823
824
825
826
827
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.

828
829
830
831
2012-05-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

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

846
847
848
849
850
851
852
853
854
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.

855
856
857
858
859
860
861
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.

862
863
864
865
866
2011-12-12  Guillaume Lazzara  <z@lrde.epita.fr>

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

867
868
869
870
2011-12-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/Makefile.am: Remove -lpthread.

871
872
873
874
2011-11-30  Guillaume Lazzara  <z@lrde.epita.fr>

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

875
876
877
878
879
880
2011-11-29  Guillaume Lazzara  <z@lrde.epita.fr>

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

	* demo/Makefile.am: Add guards.

881
882
883
884
885
886
887
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
888
889
890
891
892
893
894
2011-11-23  Guillaume Lazzara  <z@lrde.epita.fr>

	Regenerate mk files.

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

895
896
897
898
899
900
901
902
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.

903
904
905
906
907
908
2011-11-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix test of Niblack's algorithm.

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

909
910
911
912
913
914
915
916
917
918
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.

919
920
921
922
2011-11-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: update requirements information.

923
924
925
926
927
2011-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

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

928
929
930
931
932
933
934
935
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.

936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
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.

967
968
969
970
971
972
973
974
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.

975
976
977
978
2011-10-14  Guillaume Lazzara  <z@lrde.epita.fr>

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

979
980
981
982
983
984
985
986
987
988
989
990
991
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.

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

1002
1003
1004
2011-09-15  Guillaume Lazzara  <lazzara@caroussel.lrde.epita.fr>

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

1006
1007
1008
1009
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl,
	* demo/xml2doc/templates/pdf/line.xsl: Here.

1010
1011
1012
1013
2011-09-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* README: Add more information.

Roland Levillain's avatar
Roland Levillain committed
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
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.

1025
1026
1027
1028
1029
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
1030
1031
1032
1033
1034
1035
1036
1037
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.

1038
1039
1040
1041
1042
1043
1044
1045
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.

1046
1047
1048
1049
1050
1051
2011-06-09  Roland Levillain  <roland@lrde.epita.fr>

	Make SCRIBO's copyright headers uniform.

	* tests/data.hh.in: Here.

1052
1053
1054
1055
1056
1057
1058
2011-09-14  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distcleancheck target.

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

1059
1060
1061
1062
1063
1064
1065
1066
1067
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.

1068
1069
1070
1071
1072
1073
1074
1075
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
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
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.

1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
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.

1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
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.

1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
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).

1150
1151
1152
1153
1154
2011-09-08  Guillaume Lazzara  <z@lrde.epita.fr>

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

1155
1156
1157
1158
1159
2011-03-29  Guillaume Lazzara  <z@lrde.epita.fr>

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

1160
1161
1162
1163
2011-09-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

1164
1165
1166
1167
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
1168
1169
1170
1171
1172
1173
1174
1175
1176
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
1177
1178
1179
1180
1181
1182
1183
1184
1185
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.

1186
1187
1188
1189
1190
1191
1192
2011-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files in Scribo.

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

1193
1194
1195
1196
1197
1198
1199
1200
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.

1201
1202
1203
1204
1205
2011-08-22  Guillaume Lazzara  <z@lrde.epita.fr>

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

1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
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
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
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
1258
	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc: Fix
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1259
1260
	parameters.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
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
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
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
1285
1286
1287
1288
1289
1290
1291
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

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

1292
1293
1294
1295
2011-08-08  Guillaume Lazzara  <z@lrde.epita.fr>

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

1296
1297
1298
1299
1300
1301
1302
1303
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
1304
	* tests/util/Makefile.am: Fix targets.
1305

Roland Levillain's avatar
Roland Levillain committed
1306
	* tests/util/component_outline.cc: Remove.
1307

Roland Levillain's avatar
Roland Levillain committed
1308
	* tests/util/component_precise_outline.cc: New.
1309

1310
1311
1312
1313
1314
1315
1316
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.

1317
1318
1319
1320
1321
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
1322
1323
1324
1325
1326
1327
1328
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
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
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.

1377
1378
1379
1380
1381
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
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
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
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
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.

1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
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.

1427
1428
1429
1430
1431
1432
1433
1434
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.

1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
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

1452
1453
1454
1455
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
1456
1457
1458
1459
1460
1461
1462
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example.

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

1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
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
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
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.

1490
1491
1492
1493
1494
1495
1496
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
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
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.

1520
1521
1522
1523
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

1524
1525
1526
1527
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/box_is_included.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1528
1529
1530
1531
1532
1533
1534
1535
1536
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.

1537
1538
1539
1540
1541
1542
1543
1544
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.

1545
1546
1547
1548
1549
1550
1551
1552
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.

1553
1554
1555
1556
1557
1558
1559
1560
1561
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.


1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
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.

1579
1580
1581
1582
1583
2011-06-07  Guillaume Lazzara  <z@lrde.epita.fr>

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

1584
1585
1586
1587
1588
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
1589
1590
1591
1592
1593
1594
1595
1596
1597
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.

1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
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.

1608
1609
1610
1611
1612
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

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

1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
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.

1625
1626
1627
1628
1629
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
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
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.

1640
1641
1642
1643
1644
1645
1646
1647
1648
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.

1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
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.

1679
1680
1681
1682
1683
1684
1685
1686
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.

1687
1688
1689
1690
1691
1692
2011-05-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Share document structure data.

	* scribo/core/document.hh: Here.

1693
1694
1695
1696
1697
1698
2011-05-25 Coddy Levi <levi@lrde.epita.fr>

	Deep modifications and clean correction of the previous bug.

	* scribo/util/component_outline.hh: Here.

1699
1700
1701
1702
1703
1704
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
1705
1706
1707
1708
2011-05-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve results.

Roland Levillain's avatar
Roland Levillain committed
1709
1710
	* scribo/primitive/extract/lines_h_thick_and_thin.hh: Fix
	structural element length.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721

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

1722
1723
1724
1725
1726
1727
2011-05-20 Coddy Levi <levi@lrde.epita.fr>

	Correct a bug in the compononent outlining algorithm.

	* scribo/util/component_outline.hh: Here.

1728
1729
1730
1731
1732
1733
1734
1735
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.

1736
1737
1738
1739
1740
1741
1742
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
1743
1744
1745
1746
1747
1748
1749
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
1750
	* tests/filter/objects_on_border.cc,
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1751
1752
1753
1754
1755
1756
	* 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.

1757
1758
1759
1760
1761
1762
1763
1764
1765
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.

1766
1767
1768
1769
1770
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
1771
1772
1773
1774
1775
1776
1777
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.

1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
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
1800
	* src/Makefile.am: Add content_in_hdoc target.
1801

1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
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.

1819
1820
1821
1822
1823
1824
1825
1826
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.

1827
1828
1829
1830
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
1831
1832
1833
1834
1835
1836
1837
1838
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.

1839
1840
1841
1842
1843
1844
1845
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.

1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
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
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
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.

1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
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>
1884
1885
1886

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

1887
2011-05-06  Guillaume Lazzara  <lazzara@lrde.epita.fr>
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1888
1889
1890
1891
1892
1893
1894
1895
1896

	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.

1897
2011-05-06  Guillaume Lazzara  <lazzara@lrde.epita.fr>
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907

	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.

1908
2011-05-05  Guillaume Lazzara  <lazzara@lrde.epita.fr>
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919

	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.

1920
2011-05-05  Guillaume Lazzara  <lazzara@lrde.epita.fr>
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937

	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.

1938
2011-05-05  Guillaume Lazzara  <lazzara@lrde.epita.fr>
1939
1940
1941
1942
1943
1944
1945
1946

	Make use of opacity in PDF output.

	* demo/xml2doc/image_crop.cc: Create opacity mask.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh: Add bbox
	information in region tag.

1947
2011-05-04  Guillaume Lazzara  <lazzara@lrde.epita.fr>
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965

	Small fixes in Scribo.

	* demo/xml2doc/image_crop.cc: Abort xml loading if an error
	is found.

	* scribo/core/line_info.hh: Fix text cleanup.

	* scribo/io/img/save.hh: Add documentation.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh: Use
	internal_gradient.

	* scribo/primitive/extract/alignments.hh: Set component type to
	whitespaceSeparator.

	* src/binarization/sauvola_ms_fg.cc: Fix argument use.

1966
2011-05-04  Guillaume Lazzara  <lazzara@lrde.epita.fr>
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980

	Make paragraph extraction work with this branch.

	* scribo/core/line_info.hh: Keep few attributes public and update
	method names.

	* scribo/core/stats.hh: Fix missed elements in computation.

	* scribo/text/paragraphs.hh: Use line_set and line_links
	structures.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Make use of
	the new paragraph extraction algorithm.

1981
1982
1983
1984
2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

1985
1986
1987
1988
1989
1990
1991
1992
2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add a test for object_groups.

	* tests/core/Makefile.am: New target.

	* tests/core/object_groups.cc: New.

1993
1994
1995
1996
1997
2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* scribo/primitive/extract/separators_nonvisible.hh: Update use of
	object_groups and object_links.

1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Several improvements related to low-level data structures in XML
	output.

	* scribo/core/component_features_data.hh,
	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh,
	* scribo/core/document.hh,
	* scribo/core/line_links.hh,
	* scribo/core/paragraph_info.hh,
	* scribo/core/paragraph_set.hh: Add operator==().

	* scribo/io/xml/internal/full_xml_visitor.hh: Save more data for
	groups, separators and paragraphs.

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

	* scribo/io/xml/load.hh: Load new saved data.

	* tests/unit_test/cond_tests_qt: Add save_image_to_xml.hh.

2020
2021
2022
2023
2024
2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* scribo/toolchain/internal/content_in_doc_functor.hh: Make use of
	component::extract::alignments.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes.

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

	* scribo/debug/bboxes_image.hh: Reindent.

	* scribo/draw/bounding_box_links.hh: Update use of is_link_valid.

	* scribo/make/text_components_image.hh: Fix wrong domain inclusions.

2037
2038
2039
	* scribo/toolchain/text_in_picture.hh: Fix wrong include.

	* src/debug/show_paragraph_blocks.cc: Add missing curly brackets.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
2040

2041
2042
2043
2044
2045
2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* scribo/primitive/extract/alignments.hh: Fix several bugs.

2011-05-03  Guillaume Lazzara  <lazzara@lrde.epita.fr>
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078

	Improve object_groups and object_links API.

	* scribo/core/group_info.hh,
	* scribo/core/internal/sort_comp_ids.hh: New.

	* scribo/core/object_groups.hh,
	* scribo/core/object_links.hh: Improve API.

	* scribo/core/line_info.hh,
	* scribo/core/line_set.hh,
	* scribo/debug/decision_image.hh,
	* scribo/estim/object_groups_mean_width.hh,
	* scribo/filter/object_groups_mean_width.hh,
	* scribo/filter/object_groups_size_ratio.hh,
	* scribo/filter/object_groups_small.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/filter/object_links_bbox_overlap.hh,
	* scribo/filter/object_links_bbox_ratio.hh,
	* scribo/filter/object_links_non_aligned_simple.hh,
	* scribo/primitive/group/from_double_link_any.hh,
	* scribo/primitive/group/from_single_link.hh,
	* scribo/primitive/internal/is_link_valid.hh,
	* scribo/primitive/link/internal/link_functor_base.hh,
	* scribo/primitive/link/internal/link_several_dmax_base.hh,
	* scribo/primitive/link/merge_double_link.hh,
	* scribo/primitive/link/merge_double_link_closest_aligned.hh,
	* tests/filter/object_groups_mean_width.cc,
	* tests/filter/object_groups_size_ratio.cc,
	* tests/filter/object_groups_small.cc,
	* tests/filter/object_groups_with_holes.cc: Update code to take
	API changes into account.

2079
2080
2081
2082
2011-04-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add test data in EXTRA_DIST.

Roland Levillain's avatar
Roland Levillain committed
2083
2084
2085
	* tests/Makefile.am,
	* tests/binarization/Makefile.am,
	* tests/primitive/extract/Makefile.am: Here.
2086

2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2011-04-07  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new tests for Sauvola algorithms.

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

	* tests/binarization/sauvola.cc,
	* tests/binarization/sauvola_ms.cc: New.

	* tests/binarization/sauvola.ref.pbm,
	* tests/binarization/sauvola_ms.ref.pbm: New test data.

	* tests/data.hh.in: Add a new path.

2101
2102
2103
2104
2011-04-06  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/filter/object_groups_size_ratio.hh: Fix compilation.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2011-04-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Rename few routines.

	* scribo/estim/object_groups_v_thickness.hh,
	* scribo/filter/object_groups_v_thickness.hh: Rename as...

	* scribo/estim/object_groups_mean_width.hh,
	* scribo/filter/object_groups_mean_width.hh: ... this.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2011-04-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Add more tests.

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

	* tests/filter/object_groups_mean_width.cc,
	* tests/filter/object_groups_size_ratio.cc,
	* tests/filter/object_groups_small.cc,
	* tests/filter/object_groups_with_holes.cc,
	* tests/filter/object_links_bbox_h_ratio.cc,
	* tests/filter/object_links_bbox_overlap.cc,
	* tests/filter/object_links_bbox_w_ratio.cc,
	* tests/filter/object_links_bottom_aligned.cc,
	* tests/filter/object_links_center_aligned.cc,
	* tests/filter/object_links_left_aligned.cc,
	* tests/filter/object_links_right_aligned.cc,
	* tests/filter/object_links_top_aligned.cc: New.

Roland Levillain's avatar
Roland Levillain committed
2134
	* tests/img/the_valleys.pbm: New test data.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
2135

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2011-04-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* scribo/core/component_features_data.hh: Fix default
	attributes initialization.

	* scribo/core/line_info.hh: Compute color and boldness if
	available in components data.

	* scribo/filter/object_links_left_aligned.hh,
	* scribo/filter/object_links_right_aligned.hh: Fix doc.

	* scribo/preprocessing/rotate_90.hh: Disable preconditions.

	* scribo/primitive/extract/alignments.hh: Avoid a warning.

	* src/preprocessing/split_bg_fg.cc: Initialize Magick++.

2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2011-04-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Change test image format to pnm.

	* tests/img/alignment_1.png,
	* tests/img/alignment_2.png,
	* tests/img/alignment_3.png,
	* tests/img/alignment_4.png: Rename and convert as...

	* tests/img/alignment_1.pbm,
	* tests/img/alignment_2.pbm,
	* tests/img/alignment_3.pbm,
	* tests/img/alignment_4.pbm: ... this.

	* tests/primitive/extract/alignments.cc: Update loaded image.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2171
2172
2173
2174
2175
2176
2177
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

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

2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Compute font and boldness data.

	* scribo/core/component_features_data.hh,
	* scribo/core/component_info.hh,
	* scribo/core/line_info.hh,
	* scribo/core/paragraph_info.hh,
	* scribo/core/paragraph_set.hh: Add support for text features in
	core structures.

	* scribo/debug/text_color_image.hh: New debug routine.

	* scribo/estim/components_features.hh:
	* scribo/estim/font_boldness.hh,
	* scribo/estim/font_color.hh,
	* scribo/estim/internal/compute_skeleton.hh: New.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh: Use text features in
	XML.

	* scribo/primitive/extract/components.hh,
	* scribo/text/extract_lines.hh: Add new overloads

	* scribo/text/extract_lines_with_features.hh: New.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Update call
	to extract::components.

	* src/debug/Makefile.am,
	* src/debug/show_components_boldness.cc,
	* src/debug/show_components_color.cc,
	* src/debug/show_lines_boldness.cc: New debug examples.

	* tests/Makefile.am,
	* tests/estim/Makefile.am,
	* tests/estim/font_boldness.cc,
	* tests/estim/font_color.cc: New tests.

	* tests/img/phillip.pbm,
	* tests/img/phillip.ppm: New test data.

2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new alignments extraction routine.

	* scribo/primitive/extract/alignments.hh,
	* scribo/primitive/link/internal/dmax_hrules.hh,
	* scribo/primitive/link/internal/link_single_dmax_ratio_aligned_delta_base.hh,
	* scribo/primitive/link/merge_double_link_closest_aligned.hh: New.

	* src/primitive/extract/alignments.cc: New example.

	* tests/data.hh.in: Add a new macro.

	* tests/img/alignment_1.png,
	* tests/img/alignment_2.png,
	* tests/img/alignment_3.png,
	* tests/img/alignment_4.png,
	* tests/primitive/extract/alignment_1.ref.pbm,
	* tests/primitive/extract/alignment_2.ref.pbm,
	* tests/primitive/extract/alignment_3.ref.pbm,
	* tests/primitive/extract/alignment_4.ref.pbm: New auxiliary data
	for tests.

	* src/primitive/extract/Makefile.am,
	* tests/primitive/Makefile.am,
	* tests/primitive/extract/Makefile.am: Add new targets.

	* tests/primitive/extract/alignments.cc: New test.

2250
2251
2252
2253
2254
2255
2256
2257
2258
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Update dmax functors interface.

	* scribo/primitive/link/internal/dmax_default.hh,
	* scribo/primitive/link/internal/dmax_width_and_height.hh,
	* scribo/primitive/link/internal/dmax_width_only.hh: Rename
	operator() as compute_().

Roland Levillain's avatar
Roland Levillain committed
2259
2260
	* scribo/primitive/link/internal/dmax_functor_base.hh: Make use of
	compute_().
2261
2262
2263

	* scribo/primitive/link/internal/link_functor_base.hh: Add a fixme.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Various fixes in Scribo.

	* scribo/core/component_set.hh: Update FIXMEs.
	(update_labeled_image_()): New method.

	* scribo/core/def/color_type.hh: Introduce a new global type.

	* scribo/core/line_info.hh: Compute line pixels area and order
	component list by localization.

	* scribo/core/line_set.hh: Add operator<<.

	* scribo/core/object_groups.hh,
	* scribo/core/object_links.hh (is_valid(unsigned)): new method.

	* scribo/debug/links_image.hh: Make bounding box drawing optional.

	* scribo/filter/object_groups_small.hh: Return a temporary result.

	* scribo/filter/objects_h_thick.hh,
	* scribo/filter/objects_h_thin.hh,
	* scribo/filter/objects_v_thick.hh,
	* scribo/filter/objects_v_thin.hh: Fix variable names and make
	these routines work properly.

	* scribo/toolchain/content_in_doc.hh,
	* scribo/preprocessing/rotate_90.hh: Fix preconditions.

	* scribo/primitive/extract/non_text.hh: Remove useless precondition.

	* scribo/primitive/link/internal/link_single_dmax_ratio_aligned_base.hh:
	Remove a useless method.

	* scribo/primitive/link/internal/link_single_dmax_ratio_base.hh:
	Remove a useless (void).

	* scribo/text/extract_lines.hh: Use dmax_default functor.

	* src/debug/show_groups_bboxes.cc: Check hratio while linking.

	* src/preprocessing/denoise_fg.cc: Fix usage.

Roland Levillain's avatar
Roland Levillain committed
2308
	* tests/toolchain/nepomuk/Makefile.am: Check if Magick++ is
Guillaume Lazzara's avatar
Guillaume Lazzara committed
2309
2310
	available.

2311
2312
2313
2314
2315
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/extract_lines_wo_merge.hh: New line extraction
	routine.

2316
2317
2318
2319
2011-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/xml_widget.cc: Fix a warning.

2320
2321
2322
2323
2011-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/runner.cc: Improve progress notification.

2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix compilation issues on MAC.

	* scribo/core/line_info.hh: Explicitly call parent constructor.
	* scribo/primitive/extract/non_text.hh: Fix ambiguities on
	std::pow overloads.

	* src/debug/show_group_bboxes.cc: Fix namespace ambiguity.

2334
2335
2336
2337
2338
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/internal/dmax_functor_base.hh: Make the
	dmax ratio safer.

2339
2340
2341
2342
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/merging: Add a precondition. Fix merging policy.

2343
2344
2345
2346
2347
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/internal/link_functor_base.hh: Stop
	neighbor lookup when a separator is found.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2348
2349
2350
2351
2352
2353
2354
2355
2356
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix namespace ambiguities.

	* src/debug/show_groups_bboxes.cc,
	* src/debug/show_links_bottom_aligned_2angles.cc,
	* src/debug/show_links_top_aligned_2angles.cc: Add primitive::
	prefix.

2357
2358
2359
2360
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/Makefile.am: define HAVE_QT for content_in_doc.

2361
2362
2363
2364
2365
2366
2367
2368
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Add missing anchor argument.

	* scribo/primitive/link/internal/find_several_links.hh,
	* scribo/primitive/link/internal/link_several_dmax_base.hh,
	* scribo/primitive/link/internal/link_single_dmax_base.hh: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2369
2370
2371
2372
2373
2374
2375
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

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

2376
2377
2378
2379
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/toolchain/nepomuk/Makefile.am: Add MAGICKXX flags.

2380
2381
2382
2383
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/def/lbl_type.hh: Use int_u<n> as label type.

2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Set unit tests dependencies.

	* tests/unit_test/Makefile.am: Add new conditional test file.

	* tests/unit_test/cond_tests_magickxx_qt_tesseract_tiff,
	* tests/unit_test/cond_tests_qt,
	* tests/unit_test/cond_tests_qt_tesseract_tiff: Update list of files.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2396