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

	* scribo/core/line_set.hh (is_valid()): New method.

5
6
7
8
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/group/from_double_link_any.hh: New.

9
10
11
12
13
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/with_single_right_link_dmax_ratio_aligned.hh:
	New.

14
15
16
17
18
19
20
21
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve text_in_picture_neg.

	* scribo/toolchain/text_in_picture.hh: Remove useless argument.

	* src/text_in_picture_neg.cc: Revert color image.

22
23
24
25
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/content_in_doc.cc: New example extracting document content.

26
27
28
29
30
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/text_in_doc.hh: Make use of non visible
	separators information.

31
32
33
34
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/xml/save.hh: Make use of document structure.

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

	* scribo/primitive/extract/elements.hh: New routine.

39
40
41
42
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/separators_nonvisible.hh: New routine.

43
44
45
46
47
48
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Import rgb8 to rgbn conversion function from Yann's sandbox.

	* mln/fun/v2v/rgb8_to_rgbn.hh: New.

49
50
51
52
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/macros.hh: Remove deprecated macro.

53
54
55
56
2010-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/document.hh: Introduce new document structure.

57
58
59
60
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/Makefile.am: Remove deprecated dependencies.

61
62
63
64
65
66
67
68
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Include scribo.mk instead of tests.mk.

	* src/contest/Makefile.am,
	* src/contest/hdibco-2010/Makefile.am: Include scribo.mk instead
	of tests.mk.

69
70
71
72
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/canvas/integral_browsing.hh: Cleanup comments.

73
74
75
76
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/binarization/sauvola_ms.cc: Add missing includes.

77
78
79
80
81
82
83
84
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Set default window size to 101 in Sauvola examples.

	* src/binarization/pgm_sauvola.cc,
	* src/binarization/ppm_sauvola.cc,
	* src/binarization/sauvola.cc: Set default window size to 101.

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve debug management and outputs for Sauvola.

	* scribo/binarization/internal/compute_sauvola_threshold.hh:
	New. Move sauvola_threshold related routines here.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold_image.hh: Move debug
	variables...

	* scribo/binarization/internal/sauvola_debug.hh: ... here. New.

	* scribo/binarization/sauvola_threshold_image_debug.hh: Remove.

	* src/binarization/Makefile.am,
	* src/binarization/sauvola_debug.cc,
	* src/binarization/sauvola_ms_debug.cc: Improve debug outputs.

	* src/binarization/pgm_sauvola_threshold_image.cc: New.

108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve debug management and outputs for Sauvola.

	* scribo/binarization/internal/compute_sauvola_threshold.hh:
	New. Move sauvola_threshold related routines here.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold_image.hh: Move debug
	variables...

	* scribo/binarization/internal/sauvola_debug.hh: ... here. New.

	* scribo/binarization/sauvola_threshold_image_debug.hh: Remove.

	* src/binarization/Makefile.am,
	* src/binarization/sauvola_debug.cc,
	* src/binarization/sauvola_ms_debug.cc: Improve debug outputs.

Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
129
130
131
132
2010-08-06  Arthur Crepin-Leblond  <crepin@lrde.epita.fr>

	Add arrows shortcuts.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
133
134
	* demo/viewer/browser_widget.cc: prev/next binded to
	Ctrl+Left/Right.
Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
135

136
137
138
139
140
141
142
143
144
145
146
2010-08-06  Arthur Crepin-Leblond  <crepin@lrde.epita.fr>

	Add shortcuts in Qt interface.

	* demo/viewer/browser_widget.cc: Change arrows icon.
	* demo/viewer/help_dialog.cc: Add more informations.
	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh: Add setAll(bool).
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Add shortcuts.

147
148
2010-08-04  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
149
	Fix bugs in Qt interface.
150

Guillaume Lazzara's avatar
Guillaume Lazzara committed
151
152
	* demo/viewer/key_widget.cc,
	* demo/viewer/viewer.cc: Here.
153

154
155
2010-07-21  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
156
	Fix a segfault in Qt interface.
157

Guillaume Lazzara's avatar
Guillaume Lazzara committed
158
	* demo/viewer/viewer.cc: Clean vectors when loading a new picture.
159

160
161
162
163
2010-07-21  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Small changes in xml_transform.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
164
165
166
167
	* sandbox/arthur/xml_transform/README

	* sandbox/arthur/xml_transform/image_crop.cc: Delete
	verbose mode.
168

Guillaume Lazzara's avatar
Guillaume Lazzara committed
169
	* sandbox/arthur/xml_transform/main.cc: Small fix.
170

171
172
173
174
2010-07-21  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Files headers change + base64 data hide in xml tree.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
	* demo/viewer/README,
	* demo/viewer/browser_widget.cc,
	* demo/viewer/browser_widget.hh,
	* demo/viewer/common.hh,
	* demo/viewer/help_dialog.cc,
	* demo/viewer/help_dialog.hh,
	* demo/viewer/image_region.cc,
	* demo/viewer/image_region.hh,
	* demo/viewer/image_scene.cc,
	* demo/viewer/image_scene.hh,
	* demo/viewer/image_view.cc,
	* demo/viewer/image_view.hh,
	* demo/viewer/image_widget.cc,
	* demo/viewer/image_widget.hh,
	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh,
	* demo/viewer/main.cc,
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh,
	* demo/viewer/viewer.hxx,
	* demo/viewer/xml_widget.cc: Change header (add LRDE copyright)

	* demo/viewer/xml_widget.hh: Hide data in base 64 to improve
	loading speed.
199

200
201
2010-07-20  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

202
	Text selectable in Qt interface.
203

Guillaume Lazzara's avatar
Guillaume Lazzara committed
204
	* demo/viewer/viewer.cc
205

206
2010-07-20  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>
207

208
	Some changes in XML interface.
209

Guillaume Lazzara's avatar
Guillaume Lazzara committed
210
211
212
213
214
215
	* demo/viewer/property_widget.cc,
	* demo/viewer/property_widget.hh,
	* demo/viewer/domitem.cc,
	* demo/viewer/domitem.hh,
	* demo/viewer/dommodel.cc,
	* demo/viewer/dommodel.hh: Delete.
216

Guillaume Lazzara's avatar
Guillaume Lazzara committed
217
	* demo/viewer/Makefile.am: Remove dependencies.
218

Guillaume Lazzara's avatar
Guillaume Lazzara committed
219
220
	* demo/viewer/browser_widget.cc: Fix, xmlc extension instead of
	xmle.
221

Guillaume Lazzara's avatar
Guillaume Lazzara committed
222
223
224
225
226
227
228
229
230
	* demo/viewer/key_widget.cc,
	* demo/viewer/step_widget.cc,
	* demo/viewer/step_widget.hh,
	* demo/viewer/image_scene.cc,
	* demo/viewer/image_scene.hh,
	* demo/viewer/help_dialog.cc,
	* demo/viewer/image_region.cc,
	* demo/viewer/image_region.hh,
	* demo/viewer/image_region.hxx: Small changes.
231

Guillaume Lazzara's avatar
Guillaume Lazzara committed
232
233
234
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Add base 64 cropped pictures support,
	text viewer and change XML parsing.
235

Guillaume Lazzara's avatar
Guillaume Lazzara committed
236
237
238
	* demo/viewer/xml_widget.cc,
	* demo/viewer/xml_widget.hh: Change widget, tree and attributes
	are together.
239

240
241
242
243
244
245
246
247
248
249
250
251
252
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Base 64 support in Qt interface (xmlc extension)

	* demo/viewer/step_widget.cc
	* demo/viewer/step_widget.hh
	* demo/viewer/browser_widget.cc,
	* demo/viewer/browser_widget.hh: Add .xmlc extension.

	* demo/viewer/image_scene.cc
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: base 64 loading.

253
254
255
256
257
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Two new features in Qt interface.

	* demo/viewer/browser_widget.cc,
258
259
	* demo/viewer/browser_widget.hh: Add arrows to change image and
	keep XML step.
260
261

	* demo/viewer/key_widget.cc,
262
263
	* demo/viewer/key_widget.hh: Change ListWidget to TreeWidget,
	Items can be disabled/enabled in groups.
264
265

	* demo/viewer/step_widget.cc,
266
267
	* demo/viewer/step_widget.hh: Small changes to keep the step when
	next/prev.  picture is chosen.
268
269
270
271

	* demo/viewer/viewer.cc,
	* demo/viewer/xml_widget.cc: Layout adjustement.

Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
272
273
274
275
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	ChangeLog mistake.

276
277
	* ChangeLog: Move 2010-07-08 entry in...
	* sandbox/ChangeLog:...this.
Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
278

279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
2010-06-30  Arthur Crepin-Leblond   <crepin@stockholm.lrde.epita.fr>

	Extended XML mode support.

	* scribo/demo/viewer/Makefile.am

	* demo/viewer/image_region.cc,
	* viewer/image_region.hh,
	* viewer/image_region.hxx: Change regions depths to have a
	hierarchy.

	* demo/viewer/image_scene.cc,
	* demo/viewer/image_scene.hh: Change mouse click behaviour.

	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh: Add new items (text line and
	paragraph)

	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Chnage XML parsing to support extended
	format.

	* scribo/demo/viewer/common.hh: Add new RegionId's.

2010-06-30  Arthur Crepin-Leblond   <crepin@stockholm.lrde.epita.fr>

	New features in Qt interface.

	* demo/viewer/browser_widget.hh: Improve picture browser.

	* demo/viewer/step_widget.cc: Add a "step chooser" to load several
	XML files related to one picture.


2010-06-30  Arthur Crepin-Leblond   <crepin@stockholm.lrde.epita.fr>

	Change XML output (replacement of html markups).

	* io/xml/save.hh: Add internal::html_markups_replace.

2010-06-23  Arthur Crepin-Leblond   <crepin@stockholm.lrde.epita.fr>

	Add extensions to ICDAR XML format.

	* io/xml/save_text_lines.hh: Rename as...
	* io/xml/save.hh: ...this.

	* src/pbm_text_in_doc.cc: Update call to io::xml::save.

2010-07-05  Arthur Crepin-Leblond   <crepin@stockholm.lrde.epita.fr>

	Small fix in Qt interface.

332
333
	* demo/viewer/viewer.cc,
	* demo/viewer/image_region.hxx: Disable item click if
334
335
	unchecked in item list.

336
337
	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh: Add KeyWidget::checkAll.
338
339


340
341
342
343
2010-08-27  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/Makefile.am (CLEANFILES): Fix invalid variable name.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
344
345
346
347
348
349
350
351
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add scribo-cli script.

	* src/Makefile.am: Add new rules to generate scribo-cli.

	* src/scribo-cli.in: New.

352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Setup what to install with Scribo.

	* demo/viewer/Makefile.am: Do not install includes.

	* scribo.mk (utilexecdir): New variable.

	* src/Makefile.am,
	* src/binarization/Makefile.am: Install usefull binaries in
	utilexecdir.

	* src/contest/hdibco-2010/Makefile.am,
	* src/debug/Makefile.am,
	* src/filter/Makefile.am,
	* src/misc/Makefile.am,
	* src/postprocessing/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: Do not install theses binaries.

376
377
378
379
380
381
382
383
384
385
386
387
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of autotroll in demo/review.

	* demo/review/Makefile.am: Make use of autotroll.

	* demo/review/src/mainwindow.cc: Remove useless includes.

	* demo/review/src/mainwindow.hh: Update include.

	* demo/review/review.pro: Remove since useless.

388
389
390
391
392
393
394
395
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Install Scribo headers in include/scribo.

	* Makefile.am: Update call to generate_dist_headers.sh.

	* headers.mk: Regen.

396
397
398
399
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/Makefile.am (EXTRA_DIST): Fix path to files.

400
401
402
403
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/Makefile.am (EXTRA_DIST): Add new files.

404
405
406
407
408
409
410
411
412
413
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Re-enable 'table' directory in SUBDIRS.

	* src/Makefile.am,
	* tests/Makefile.am (SUBDIRS): Add table.

	* src/table/Makefile.am,
	* tests/table/Makefile.am: Disable tests.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
2010-10-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo

	* scribo/binarization/global_threshold.hh: Add a fixme.

	* scribo/binarization/global_threshold_auto.hh: Make the result
	consistent with other binarization methods.

	* scribo/preprocessing/deskew.hh: Use mln_min(V) as background
	value.

	* src/preprocessing/preprocess.cc: Do not negate anymore. Don't
	pass const nlabel value anymore.

429
430
431
432
433
434
435
436
437
438
439
2010-10-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add tests for objects filtering routines.

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

	* tests/filter/components_large.cc,
	* tests/filter/components_small.cc: New.

	* tests/filter/small_and_large_bboxes.cc: Remove. Depracted.

440
441
442
443
444
445
446
447
448
449
450
451
2010-10-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix objects filtering routines.

	* scribo/filter/objects_large.hh: Add an overload.

	* scribo/filter/objects_small.hh: Fix undefined variable.

	* scribo/fun/v2b/objects_large_filter.hh,
	* scribo/fun/v2b/objects_small_filter.hh: Correctly count the non
	filtered object.

452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
2010-08-31  Guillaume Lazzara  <z@lrde.epita.fr>

	Change return value for background in filtering functions.

	* scribo/filter/objects_h_thick.hh,
	* scribo/filter/objects_h_thin.hh,
	* scribo/filter/objects_size_ratio.hh,
	* scribo/filter/objects_small.hh,
	* scribo/filter/objects_thick.hh,
	* scribo/filter/objects_thin.hh,
	* scribo/filter/objects_v_thick.hh,
	* scribo/filter/objects_v_thin.hh: Here.

	* scribo/fun/v2b/objects_large_filter.hh,
	* scribo/fun/v2b/objects_small_filter.hh: Here. Count the non
	filtered objects.

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

	* scribo/toolchain/text_in_doc_preprocess.hh: Add a new overload.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
473
474
475
476
477
478
479
480
481
482
483
484
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Rename examples.

	* src/binarization/Makefile.am: Rename targets.

	* src/binarization/fg_sauvola_ms.cc,
	* src/binarization/ppm_fg_sauvola_ms.cc: Rename as...

	* src/binarization/ppm_sauvola_ms_fg.cc,
	* src/binarization/sauvola_ms_fg.cc: ...this.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
485
486
487
488
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* headers.mk: Regen.

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

	Add a preprocessing toolchain.

	* scribo/toolchain/text_in_doc_preprocess.hh: New.

	* src/text_in_doc_preprocess.cc: Make use of this new toolchain.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
497
498
499
500
501
502
503
504
505
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix namespace ambiguities.

	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold_image.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/subsampling/integral_single_image.hh: Add mln:: prefix.

506
507
508
509
2010-10-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/filter/object_links_bbox_w_ratio.hh: Rename arguments.

510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Support for Tesseract 2.x and 3.x in Scribo.

	* scribo/text/recognition.hh: Use the correct code depending on
	Tesseract version.

	* scribo/toolchain/nepomuk/text_extraction.hh: Add few comments
	about how to handle Tesseract versions.

	* src/Makefile.am,
	* src/text/Makefile.am,
	* src/toolchain/nepomuk/Makefile.am,
	* tests/toolchain/nepomuk/Makefile.am: Add path to config.h.

	* src/pbm_text_in_doc.cc,
	* src/text/pbm_lines_recognition.cc,
	* src/text/pbm_recognition.cc,
	* src/text_recognition_in_picture.cc,
	* src/toolchain/nepomuk/text_extraction.cc,
	* tests/toolchain/nepomuk/text_extraction.cc: Include config.h

Guillaume Lazzara's avatar
Guillaume Lazzara committed
532
533
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
534
535
536
537
538
539
540
541
	Cleanup files.

	* scribo/debug/usage.hh,
	* scribo/text/recognition.hh: Remove useless comments.

2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
542
543
544
545
546
547
548

	* src/Makefile.am: Add toolchain subdir.

	* src/toolchain/Makefile.am,
	* src/toolchain/nepomuk/Makefile.am,
	* src/toolchain/nepomuk/text_extraction.cc: New.

549
550
551
552
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/line_info.hh: Fix line statistics.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Update tests in Scribo.

	* tests/binarization/global_threshold.cc,
	* tests/binarization/local_threshold.cc,
	* tests/primitive/link/merge_double_link.cc: Fix tests.

	* tests/core/Makefile.am: Add a new test.

	* tests/core/line_info.cc: New.

	* tests/filter/small_and_large_bboxes.cc: Remove useless arguments.

	* tests/img/pixels.pbm: Update.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
569
570
571
572
573
574
575
576
577
578
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo

	* scribo/core/line_info.hh: Fix invalid extended bboxes.

	* src/text_in_doc_preprocess.cc: Do not invert data anymore.

	* tests/filter/objects_with_holes.cc: Remove useless arguments.

579
580
581
582
583
584
585
586
587
588
589
590
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new test for primitive::link::merge_double_link.

	* tests/img/pixels.pbm: New test image.

	* tests/Makefile.am (SUBDIRS): add primitive directory.

	* tests/primitive/Makefile.am,
	* tests/primitive/link/Makefile.am,
	* tests/primitive/link/merge_double_link.cc: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
591
592
593
594
595
596
597
598
599
2010-10-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Negate Sauvola's result.

	* scribo/binarization/local_threshold.hh,
	* scribo/binarization/sauvola_ms.hh: Invert threshold test.

	* src/text_in_picture.cc: Do not negate Sauvola's output anymore.

600
601
602
603
604
605
606
607
2010-10-22  Roland Levillain  <roland@lrde.epita.fr>

	Require Tesseract for scribo/toolchain/text_in_doc.hh's unit test.

	* tests/unit_test/cond_tests_tesseract_tiff:
	Add scribo/toolchain/text_in_doc.hh.
	* tests/unit_test/unit-tests.mk: Regen.

608
609
610
611
612
613
614
2010-10-20  Roland Levillain  <roland@lrde.epita.fr>

	Fix `link' name lookup in Scribo.

	* src/text_in_picture.cc: Help the C++ compiler not to mix up
	scribo::primitive::link with unistd.h's link(2).

Guillaume Lazzara's avatar
Guillaume Lazzara committed
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo

	* scribo/primitive/link/compute.hh: Update doc.

	* scribo/primitive/link/internal/link_single_dmax_base.hh
	(start_point_): Remove useless overload.

	* scribo/primitive/link/with_single_left_link_dmax_ratio.hh:
	Remove useless template parameter.

	* scribo/text/merging.hh: Disable debug.

	* scribo/toolchain/nepomuk/text_extraction.hh: Enable denoising
	and reduce Sauvola's window size.

632
633
634
635
636
637
638
639
640
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix issues with object_links and ignored components.

	* scribo/filter/object_links_bbox_overlap.hh,
	* scribo/filter/object_links_bbox_ratio.hh,
	* scribo/filter/object_links_non_aligned_simple.hh,
	* scribo/primitive/link/merge_double_link.hh: Ignore invalid links.

641
642
643
644
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/component_set.hh: Fix component_set id type.

645
646
647
648
649
650
651
652
653
654
655
656
657
658
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of value::next routine in Scribo.

	* scribo/core/component_set.hh,
	* scribo/core/line_set.hh,
	* scribo/core/object_links.hh,
	* scribo/debug/highlight_text_area.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/filter/objects_with_holes.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/table/internal/align_lines.hh: Use value::next to replace
	evil casts.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
659
660
661
662
663
664
665
666
2010-10-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix namespace ambiguities.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola_threshold_image.hh,
	* scribo/subsampling/integral_single_image.hh: Add mln:: prefix.

667
668
669
670
671
2010-08-24  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/line_info.hh: Make stats computation more robust
	with large documents.

672
673
674
675
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/Makefile.am: Remove useless flags. Aesthetic changes.

676
677
678
679
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/debug/text_areas_image.hh: Add a typedef to help g++-3.3.

680
681
682
683
684
2010-08-12  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/preprocessing/rotate_90.hh: Add a typedef to help
	g++-3.3.

685
686
687
688
689
690
691
692
693
2010-08-12  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix invalid pointer offset types.

	* scribo/preprocessing/rotate_90.hh
	(out_next_offset, out_next_p_offset): Fix a wrong type leading to
	overflows.
	(output): Add an assertion checking its validity.

694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix warnings with g++-4.1 in Scribo.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold_image.hh,
	* scribo/binarization/sauvola_threshold_image_debug.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/primitive/extract/lines_pattern.hh,
	* scribo/subsampling/bilinear.hh,
	* scribo/subsampling/integral_single_image.hh,
	* scribo/text/clean_inplace.hh,
	* src/debug/show_links_several_right_overlap.cc,
	* src/debug/show_links_single_down.cc,
	* src/debug/show_links_single_down_left_aligned.cc,
	* src/debug/show_links_single_down_right_aligned.cc,
	* src/debug/show_links_single_left.cc,
	* src/debug/show_links_single_right.cc,
	* src/debug/show_links_single_up.cc,
	* src/debug/show_links_single_up_left_aligned.cc,
	* src/debug/show_links_single_up_right_aligned.cc: explicitly
	convert to a specific type when necessary.

719
720
721
722
723
724
725
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen headers.mk and unit-tests.mk in Scribo.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
726
727
728
729
730
731
732
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Update READMEs.

	* README,
	* src/README: Add few details about the content.

733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Update Scribo include paths.

	* Makefile.am,
	* tests/unit_test/Makefile.am: Fix path of generated header list.

	* src/text_in_picture.cc,
	* src/text_recognition_in_picture.cc,
	* tests/filter/objects_with_holes.cc,
	* tests/filter/small_and_large_bboxes.cc,
	* tests/preprocessing/crop.cc,
	* tests/preprocessing/crop_without_localization.cc,
	* tests/preprocessing/deskew.cc,
	* tests/preprocessing/rotate_90.cc,
	* tests/table/extract_lines_with_rank.cc,
	* tests/table/repair_lines.cc,
	* tests/toolchain/nepomuk/text_extraction.cc: Fix path to data.hh.

	* demo/demat/demat.pro,
	* demo/wizard/wizard.pro,
	* scribo.mk,
	* tests/tests.mk: Set correct path to Scribo includes.

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

760
761
762
763
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Move Scribo includes in a specific directory.

764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
	* all.hh,
	* binarization/all.hh,
	* binarization/global_threshold.hh,
	* binarization/global_threshold_auto.hh,
	* binarization/internal/first_pass_functor.hh,
	* binarization/local_threshold.hh,
	* binarization/sauvola.hh,
	* binarization/sauvola_ms.hh,
	* binarization/sauvola_ms_split.hh,
	* binarization/sauvola_threshold_image.hh,
	* binarization/sauvola_threshold_image_debug.hh,
	* canvas/integral_browsing.hh,
	* convert/from_qimage.hh,
	* core/all.hh,
	* core/central_sites.hh,
	* core/component_info.hh,
	* core/component_set.hh,
	* core/concept/dmax_functor.hh,
	* core/concept/link_functor.hh,
	* core/def/lbl_type.hh,
	* core/erase_objects.hh,
	* core/init_integral_image.hh,
	* core/line_info.hh,
	* core/line_set.hh,
	* core/macros.hh,
	* core/object_groups.hh,
	* core/object_links.hh,
	* core/tag/anchor.hh,
	* core/tag/component.hh,
	* core/tag/line.hh,
	* debug/alignment_decision_image.hh,
	* debug/all.hh,
	* debug/bboxes_enlarged_image.hh,
	* debug/char_space_image.hh,
	* debug/decision_image.hh,
	* debug/highlight_text_area.hh,
	* debug/line_info_image.hh,
	* debug/links_decision_image.hh,
	* debug/looks_like_a_text_line_image.hh,
	* debug/mean_and_base_lines_image.hh,
	* debug/save_bboxes_image.hh,
	* debug/save_comp_diff.hh,
	* debug/save_label_image.hh,
	* debug/save_linked_bboxes_image.hh,
	* debug/save_table_image.hh,
	* debug/several_links_decision_image.hh,
	* debug/text_areas_image.hh,
	* debug/usage.hh,
	* draw/all.hh,
	* draw/bounding_box_links.hh,
	* draw/bounding_boxes.hh,
	* draw/groups_bboxes.hh,
	* estim/object_groups_v_thickness.hh,
	* filter/all.hh,
	* filter/common/objects_photo.hh,
	* filter/internal/alignment_angle.hh,
	* filter/internal/component_aligned.hh,
	* filter/internal/compute.hh,
	* filter/object_groups_size_ratio.hh,
	* filter/object_groups_small.hh,
	* filter/object_groups_v_thickness.hh,
	* filter/object_groups_with_holes.hh,
	* filter/object_links_bbox_h_ratio.hh,
	* filter/object_links_bbox_overlap.hh,
	* filter/object_links_bbox_ratio.hh,
	* filter/object_links_bbox_w_ratio.hh,
	* filter/object_links_bottom_aligned.hh,
	* filter/object_links_center_aligned.hh,
	* filter/object_links_left_aligned.hh,
	* filter/object_links_non_aligned_simple.hh,
	* filter/object_links_right_aligned.hh,
	* filter/object_links_top_aligned.hh,
	* filter/objects_h_thick.hh,
	* filter/objects_h_thin.hh,
	* filter/objects_large.hh,
	* filter/objects_size_ratio.hh,
	* filter/objects_small.hh,
	* filter/objects_thick.hh,
	* filter/objects_thin.hh,
	* filter/objects_v_thick.hh,
	* filter/objects_v_thin.hh,
	* filter/objects_with_holes.hh,
	* fun/v2b/label_to_bool.hh,
	* fun/v2b/objects_large_filter.hh,
	* fun/v2b/objects_small_filter.hh,
	* io/text_boxes/save.hh,
	* io/xml/save.hh,
	* make/all.hh,
	* make/debug_filename.hh,
	* make/influence_zone_graph.hh,
	* postprocessing/all.hh,
	* postprocessing/fill_object_holes.hh,
	* preprocessing/all.hh,
	* preprocessing/crop.hh,
	* preprocessing/crop_without_localization.hh,
	* preprocessing/denoise.hh,
	* preprocessing/denoise_bg.hh,
	* preprocessing/denoise_fg.hh,
	* preprocessing/deskew.hh,
	* preprocessing/deskew_crop.hh,
	* preprocessing/homogeneous_contrast.hh,
	* preprocessing/rotate_90.hh,
	* preprocessing/split_bg_fg.hh,
	* primitive/all.hh,
	* primitive/extract/all.hh,
	* primitive/extract/canvas.hh,
	* primitive/extract/cells.hh,
	* primitive/extract/components.hh,
	* primitive/extract/horizontal_separators.hh,
	* primitive/extract/lines_discontinued.hh,
	* primitive/extract/lines_h_discontinued.hh,
	* primitive/extract/lines_h_pattern.hh,
	* primitive/extract/lines_h_single.hh,
	* primitive/extract/lines_h_thick.hh,
	* primitive/extract/lines_h_thick_and_single.hh,
	* primitive/extract/lines_pattern.hh,
	* primitive/extract/lines_thick.hh,
	* primitive/extract/lines_v_discontinued.hh,
	* primitive/extract/lines_v_pattern.hh,
	* primitive/extract/lines_v_single.hh,
	* primitive/extract/lines_v_thick.hh,
	* primitive/extract/lines_v_thick_and_single.hh,
	* primitive/extract/separators.hh,
	* primitive/extract/vertical_separators.hh,
	* primitive/group/all.hh,
	* primitive/group/apply.hh,
	* primitive/group/from_double_link.hh,
	* primitive/group/from_graph.hh,
	* primitive/group/from_single_link.hh,
	* primitive/internal/all.hh,
	* primitive/internal/find_graph_link.hh,
	* primitive/internal/find_root.hh,
	* primitive/internal/have_link_valid.hh,
	* primitive/internal/is_link_valid.hh,
	* primitive/internal/rd.hh,
	* primitive/internal/update_graph_link.hh,
	* primitive/link/all.hh,
	* primitive/link/compute.hh,
	* primitive/link/compute_several.hh,
	* primitive/link/internal/compute_anchor.hh,
	* primitive/link/internal/dmax_default.hh,
	* primitive/link/internal/dmax_functor_base.hh,
	* primitive/link/internal/dmax_width_and_height.hh,
	* primitive/link/internal/dmax_width_only.hh,
	* primitive/link/internal/find_link.hh,
	* primitive/link/internal/find_several_links.hh,
	* primitive/link/internal/link_functor_base.hh,
	* primitive/link/internal/link_several_dmax_base.hh,
	* primitive/link/internal/link_single_dmax_base.hh,
	* primitive/link/internal/link_single_dmax_ratio_base.hh,
	* primitive/link/merge_double_link.hh,
	* primitive/link/with_graph.hh,
	* primitive/link/with_rag.hh,
	* primitive/link/with_several_graphes.hh,
	* primitive/link/with_several_left_links.hh,
	* primitive/link/with_several_right_closest_links.hh,
	* primitive/link/with_several_right_links.hh,
	* primitive/link/with_several_right_links_overlap.hh,
	* primitive/link/with_single_down_link.hh,
	* primitive/link/with_single_left_link.hh,
	* primitive/link/with_single_left_link_dmax_ratio.hh,
	* primitive/link/with_single_right_link.hh,
	* primitive/link/with_single_right_link_bottom.hh,
	* primitive/link/with_single_right_link_dmax_ratio.hh,
	* primitive/link/with_single_right_link_top.hh,
	* primitive/link/with_single_up_link.hh,
	* primitive/regroup/from_single_left_link.hh,
	* primitive/regroup/from_single_left_link_wrt_h_ratio.hh,
	* primitive/remove/separators.hh,
	* subsampling/bilinear.hh,
	* subsampling/integral.hh,
	* subsampling/integral_single_image.hh,
	* table/align_lines_horizontaly.hh,
	* table/align_lines_verticaly.hh,
	* table/all.hh,
	* table/connect_horizontal_lines.hh,
	* table/connect_vertical_lines.hh,
	* table/erase.hh,
	* table/extract.hh,
	* table/internal/align_lines.hh,
	* table/internal/all.hh,
	* table/internal/connect_lines.hh,
	* table/internal/repair_lines.hh,
	* table/rebuild.hh,
	* table/repair_horizontal_lines.hh,
	* table/repair_vertical_lines.hh,
	* text/all.hh,
	* text/clean.hh,
	* text/clean_inplace.hh,
	* text/extract_lines.hh,
	* text/look_like_text_lines.hh,
	* text/merging.hh,
	* text/recognition.hh,
	* toolchain/nepomuk/text_extraction.hh,
	* toolchain/text_in_doc.hh,
	* upsampling/bs2x.hh,
	* upsampling/eagle.hh: Move...

962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
	* scribo/all.hh,
	* scribo/binarization/all.hh,
	* scribo/binarization/global_threshold.hh,
	* scribo/binarization/global_threshold_auto.hh,
	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/local_threshold.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_ms_split.hh,
	* scribo/binarization/sauvola_threshold_image.hh,
	* scribo/binarization/sauvola_threshold_image_debug.hh,
	* scribo/canvas/integral_browsing.hh,
	* scribo/convert/from_qimage.hh,
	* scribo/core/all.hh,
	* scribo/core/central_sites.hh,
	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh,
	* scribo/core/concept/dmax_functor.hh,
	* scribo/core/concept/link_functor.hh,
	* scribo/core/def/lbl_type.hh,
	* scribo/core/erase_objects.hh,
	* scribo/core/init_integral_image.hh,
	* scribo/core/line_info.hh,
	* scribo/core/line_set.hh,
	* scribo/core/macros.hh,
	* scribo/core/object_groups.hh,
	* scribo/core/object_links.hh,
	* scribo/core/tag/anchor.hh,
	* scribo/core/tag/component.hh,
	* scribo/core/tag/line.hh,
	* scribo/debug/alignment_decision_image.hh,
	* scribo/debug/all.hh,
	* scribo/debug/bboxes_enlarged_image.hh,
	* scribo/debug/char_space_image.hh,
	* scribo/debug/decision_image.hh,
	* scribo/debug/highlight_text_area.hh,
	* scribo/debug/line_info_image.hh,
	* scribo/debug/links_decision_image.hh,
	* scribo/debug/looks_like_a_text_line_image.hh,