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

	* scribo/primitive/extract/separators_nonvisible.hh: Fix warnings.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
5
6
7
8
9
10
11
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen .mk files in Scribo.

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

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
38
39
40
41
42
43
44
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Compilation fixes.

	* scribo/binarization/sauvola_threshold_image.hh: Fix namespace
	ambiguity.

	* scribo/io/xml/save.hh
	* scribo/primitive/extract/elements.hh
	* scribo/primitive/merge/components.hh
	* scribo/toolchain/text_in_doc_preprocess.hh
	* scribo/toolchain/text_in_picture.hh
	* src/binarization/ppm_sauvola_ms.cc
	* src/binarization/ppm_sauvola_ms_fg.cc
	* src/binarization/ppm_sauvola_ms_split.cc
	* src/binarization/sauvola_ms.cc
	* src/binarization/sauvola_ms_fg.cc
	* src/binarization/sauvola_ms_split.cc
	* src/contest/hdibco-2010/sauvola_ms_hdibco.cc
	* src/text_in_picture.cc: Add missing includes.

	* scribo/primitive/extract/lines_h_pattern.hh,
	* scribo/primitive/extract/lines_v_pattern.hh: Make sure the
	rectangle have odd dimensions.

	* src/Makefile.am: Remove deprecated include path.

	* src/binarization/ppm_sauvola.cc: Convert to gray level.

	* src/pbm_text_in_doc.cc: Use doc structure.

	* src/text_in_picture_neg.cc: Make use of world::rgb::invert.

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

	* scribo/core/document.hh: Add new methods.

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

	* scribo/io/xml/save.hh: Add conditions before saving elements and
	text.

54
55
56
57
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

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

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

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

62
63
64
65
66
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

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

67
68
69
70
71
72
73
74
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.

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

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

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

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

84
85
86
87
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

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

88
89
90
91
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

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

92
93
94
95
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

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

96
97
98
99
100
101
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.

102
103
104
105
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

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

106
107
108
109
2010-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

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

110
111
112
113
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

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

114
115
116
117
118
119
120
121
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.

122
123
124
125
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

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

126
127
128
129
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

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

130
131
132
133
134
135
136
137
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.

138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
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.

161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
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
182
183
184
185
2010-08-06  Arthur Crepin-Leblond  <crepin@lrde.epita.fr>

	Add arrows shortcuts.

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

189
190
191
192
193
194
195
196
197
198
199
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.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
202
	Fix bugs in Qt interface.
203

Guillaume Lazzara's avatar
Guillaume Lazzara committed
204
205
	* demo/viewer/key_widget.cc,
	* demo/viewer/viewer.cc: Here.
206

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
209
	Fix a segfault in Qt interface.
210

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

213
214
215
216
2010-07-21  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Small changes in xml_transform.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
217
218
219
220
	* sandbox/arthur/xml_transform/README

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

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

224
225
226
227
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
	* 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.
252

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

255
	Text selectable in Qt interface.
256

Guillaume Lazzara's avatar
Guillaume Lazzara committed
257
	* demo/viewer/viewer.cc
258

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

261
	Some changes in XML interface.
262

Guillaume Lazzara's avatar
Guillaume Lazzara committed
263
264
265
266
267
268
	* 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.
269

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
272
273
	* demo/viewer/browser_widget.cc: Fix, xmlc extension instead of
	xmle.
274

Guillaume Lazzara's avatar
Guillaume Lazzara committed
275
276
277
278
279
280
281
282
283
	* 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.
284

Guillaume Lazzara's avatar
Guillaume Lazzara committed
285
286
287
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Add base 64 cropped pictures support,
	text viewer and change XML parsing.
288

Guillaume Lazzara's avatar
Guillaume Lazzara committed
289
290
291
	* demo/viewer/xml_widget.cc,
	* demo/viewer/xml_widget.hh: Change widget, tree and attributes
	are together.
292

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

306
307
308
309
310
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Two new features in Qt interface.

	* demo/viewer/browser_widget.cc,
311
312
	* demo/viewer/browser_widget.hh: Add arrows to change image and
	keep XML step.
313
314

	* demo/viewer/key_widget.cc,
315
316
	* demo/viewer/key_widget.hh: Change ListWidget to TreeWidget,
	Items can be disabled/enabled in groups.
317
318

	* demo/viewer/step_widget.cc,
319
320
	* demo/viewer/step_widget.hh: Small changes to keep the step when
	next/prev.  picture is chosen.
321
322
323
324

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

Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
325
326
327
328
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	ChangeLog mistake.

329
330
	* ChangeLog: Move 2010-07-08 entry in...
	* sandbox/ChangeLog:...this.
Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
331

332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
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.

385
386
	* demo/viewer/viewer.cc,
	* demo/viewer/image_region.hxx: Disable item click if
387
388
	unchecked in item list.

389
390
	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh: Add KeyWidget::checkAll.
391
392


393
394
395
396
2010-08-27  Guillaume Lazzara  <z@lrde.epita.fr>

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
397
398
399
400
401
402
403
404
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.

405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
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.

429
430
431
432
433
434
435
436
437
438
439
440
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.

441
442
443
444
445
446
447
448
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.

449
450
451
452
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

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

453
454
455
456
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

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

457
458
459
460
461
462
463
464
465
466
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
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
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.

482
483
484
485
486
487
488
489
490
491
492
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.

493
494
495
496
497
498
499
500
501
502
503
504
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.

505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
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.

522
523
524
525
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
526
527
528
529
530
531
532
533
534
535
536
537
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
538
539
540
541
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* headers.mk: Regen.

542
543
544
545
546
547
548
549
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
550
551
552
553
554
555
556
557
558
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.

559
560
561
562
2010-10-26  Guillaume Lazzara  <z@lrde.epita.fr>

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

563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
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
585
586
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
587
588
589
590
591
592
593
594
	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
595
596
597
598
599
600
601

	* src/Makefile.am: Add toolchain subdir.

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

602
603
604
605
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
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
622
623
624
625
626
627
628
629
630
631
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.

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

653
654
655
656
657
658
659
660
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.

661
662
663
664
665
666
667
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
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
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.

685
686
687
688
689
690
691
692
693
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.

694
695
696
697
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

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

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

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

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

725
726
727
728
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

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

729
730
731
732
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

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

733
734
735
736
737
2010-08-12  Guillaume Lazzara  <z@lrde.epita.fr>

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

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

747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
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.

772
773
774
775
776
777
778
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
779
780
781
782
783
784
785
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Update READMEs.

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

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

813
814
815
816
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Move Scribo includes in a specific directory.

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