ChangeLog 47.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
2010-04-21  Roland Levillain  <roland@lrde.epita.fr>

	Update Scribo's unit tests generator.

	* tests/unit_test/build_unit_test.sh: Catch up with Milena's
	version of this script.
	* tests/unit_test/Makefile.am (regen-am, $(srcdir)/unit-tests.mk):
	Adjust.
	* tests/unit_test/disabled_tests: New.

11
12
13
14
15
16
17
2010-04-09  Roland Levillain  <roland@lrde.epita.fr>

	Help g++ 4.1 compile Scribo.

	* binarization/sauvola_threshold.hh: Help g++ 4.1 find an
	unambiguous overload of std::pow.

Roland Levillain's avatar
Roland Levillain committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
2010-03-31  Roland Levillain  <roland@lrde.epita.fr>

	Have Scribo compile again.

	* core/object_image.hh (object_image): Add prefix `mln::'.
	* primitive/link/internal/anchors_3.hh: Include mln/util/array.hh.
	Add missing `mln::' prefixes.
	* src/binarization/sauvola_ms.cc:
	s/influence_zone_geodesic/influence_zone_geodesic_saturated/.
	* table/internal/connect_lines.hh: Likewise.
	Remove a duplicated header inclusion.
	* src/debug/Makefile.am
	(bin_PROGRAMS, show_links_several_right_overlap_SOURCES): Disable
	show_links_several_right_overlap.
	* src/primitive/group/Makefile.am
	(bin_PROGRAMS, group_from_rag_SOURCES): Disable group_from_rag.

35
36
37
38
39
40
2010-03-02  Roland Levillain  <roland@lrde.epita.fr>

	Regen SCRIBO's Makefile helpers.

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

41
42
43
44
45
46
47
48
2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example in Scribo.

	* scribo/src/primitive/extract/Makefile.am: Add a new target.

	* scribo/src/primitive/extract/lines_pattern.cc: New.

49
50
51
52
53
54
55
56
2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	First draft of multiscale Sauvola's binarization.

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

	* scribo/src/binarization/sauvola_ms.cc: New.

57
58
59
60
61
62
2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve line pattern recognition routine.

	* primitive/extract/lines_pattern.hh: Make it less tolerant.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new debug tools.

	* src/debug/Makefile.am: Add new targets.

	* src/debug/show_links_bbox_h_ratio.cc,
	* src/debug/show_links_bbox_overlap.cc,
	* src/debug/show_links_bottom_aligned.cc,
	* src/debug/show_links_center_aligned.cc,
	* src/debug/show_links_non_h_aligned.cc,
	* src/debug/show_links_several_right.cc,
	* src/debug/show_links_several_right_overlap.cc,
	* src/debug/show_links_single_left.cc,
	* src/debug/show_links_single_left_dmax_ratio.cc,
	* src/debug/show_links_single_right.cc,
	* src/debug/show_links_single_right_dmax_ratio.cc,
	* src/debug/show_links_top_aligned.cc,
	* src/debug/show_objects_large_small.cc,
	* src/debug/show_objects_thick.cc: New debug tools.

	* src/debug/show_objects_thin.cc: Write it.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
86
87
88
89
90
91
92
93
94
95
96
97
2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new link filters.

	* filter/internal/compute.hh: New routine to compute filter
	results.

	* filter/object_links_center_aligned.hh,
	* filter/object_links_top_aligned.hh,
	* filter/objects_h_thick.hh,
	* filter/objects_v_thick.hh: New filters.

98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Revamp code related to object linking.

	* core/concept/link_functor.hh: New concept.

	* core/internal/link_functor_base.hh: New Base class for link
	functor.

	* primitive/link/compute.hh,
	* primitive/link/compute_several.hh,
	* primitive/link/internal/anchors_3.hh,
	* primitive/link/internal/find_link.hh,
	* primitive/link/internal/find_several_links.hh,
	* primitive/link/with_several_right_closest_links.hh,
	* primitive/link/with_several_right_links_overlap.hh,
	* primitive/link/with_single_left_link_dmax_ratio.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: New routines.

	* primitive/link/internal/link_center_dmax_base.hh,
	* primitive/link/internal/link_center_dmax_ratio_base.hh,
	* primitive/link/internal/link_functor_base.hh,
	* primitive/link/internal/link_ms_dmax_base.hh,
	* primitive/link/internal/link_ms_dmax_ratio_base.hh: New functors.

	* primitive/link/with_several_left_links.hh,
	* primitive/link/with_several_right_links.hh: Use the new routines.

	* primitive/link/with_single_left_link.hh,
	* primitive/link/with_single_right_link.hh: Revamp and use the new
	routines.

2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* debug/decision_image.hh: Fix precondition.

	* filter/object_links_bbox_h_ratio.hh,
	* filter/objects_thick.hh,
	* primitive/internal/have_link_valid.hh,
	* primitive/internal/is_link_valid.hh: Fix doc.

	* filter/object_links_bbox_ratio.hh: Fix doc and invert ratio.

	* filter/object_links_bottom_aligned.hh: Fix doc and use a float
	angle value.

	* filter/object_links_non_aligned.hh: Use absolute values.

	* filter/object_links_non_aligned_simple.hh: Add special cases.

	* filter/object_links_non_h_aligned.hh: Fix call to an underlying
	routine.

	* filter/objects_small.hh,
	* filter/objects_thin.hh,
	* filter/objects_v_thin.hh,
	* primitive/extract/lines_discontinued.hh,
	* primitive/extract/lines_h_single.hh,
	* primitive/extract/lines_h_thick_and_single.hh,
	* primitive/extract/lines_thick.hh,
	* primitive/extract/lines_v_discontinued.hh,
	* primitive/extract/lines_v_single.hh,
	* primitive/extract/lines_v_thick_and_single.hh,
	* primitive/internal/is_invalid_link.hh,
	* src/multi_scale/find_lines.cc,
	* src/primitive/group/group_from_rag.cc,
	* src/table/rebuild_opening.cc,
	* src/table/rebuild_rank.cc,
	* text/clean.hh: Avoid warnings.

	* primitive/internal/find_left_link.hh,
	* primitive/internal/find_right_link.hh,
	* primitive/internal/update_link_array.hh: Make the routine return
	a value.

	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_pgm.cc: Fix call to Sauvola's algorithm.

	* src/primitive/group/group_from_graph.cc,
	* src/primitive/group/group_from_several_graph.cc: Change
	arguments values while calling with_several_graphes.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
184
185
186
187
188
189
190
191
192
2009-10-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new debug routines.

	* debug/alignment_decision_image.hh,
	* debug/links_decision_image.hh,
	* debug/save_object_diff.hh,
	* debug/several_links_decision_image.hh: New.

193
194
195
196
197
198
199
200
201
202
203
2009-10-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Revamp Sauvola binarization.

	* binarization/sauvola.hh: Revamp and now returns a threshold
	image. Move parts...

	* binarization/sauvola_threshold.hh: ... here. New file.

	* binarization/binarize.hh: New routine.

204
205
206
207
2009-10-12  Roland Levillain  <roland@lrde.epita.fr>

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

208
209
210
211
212
213
2009-10-05  Roland Levillain  <roland@lrde.epita.fr>

	Add a main() to src/debug/show_objects_thin.cc to have it link.

	* src/debug/show_objects_thin.cc (main): New function.

214
215
216
217
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* table/extract.hh: Fix invalid calls to lines_*_pattern.

218
219
220
221
222
223
224
225
226
227
228
229
230
231
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

	New debugging tools for Scribo.

	* src/Makefile.am: Add debug as subdir.

	* src/debug/Makefile.am,
	* src/debug/show_left_right_links_validation.cc,
	* src/debug/show_link_single_left.cc,
	* src/debug/show_link_single_right.cc,
	* src/debug/show_objects_large.cc,
	* src/debug/show_objects_small.cc,
	* src/debug/show_objects_thin.cc: New.

232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Few improvements in Scribo.

	* debug/usage.hh: Improve output.

	* primitive/internal/find_left_link.hh,
	* primitive/internal/find_right_link.hh: Move a big 'if'...

	* primitive/internal/is_invalid_link.hh: ... in this new routine.

	* primitive/internal/update_link_array.hh: Reindent.

	* src/text_in_doc_ppm.cc: New example to process a color document.

247
248
249
250
251
252
253
2009-09-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add a first draft of a multi-scale process.

	* src/multi_scale/Makefile.am,
	* src/multi_scale/find_lines.cc: New.

254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
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
332
333
334
335
336
337
338
2009-09-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Cleanup scribo/src directory.

	* src/text/Makefile.am,
	* src/Makefile.am,
	* src/filter/Makefile.am,
	* src/table/Makefile.am,
	* src/preprocessing/Makefile.am: Add new targets.

	* src/dmap.cc,
	* src/extract/Makefile.am,
	* src/extract/Makefile.am,
	* src/extract/primitive/Makefile.am,
	* src/extract/primitive/Makefile.am,
	* src/extract/primitive/extract_discontinued_hlines.cc,
	* src/extract/primitive/extract_discontinued_lines.cc,
	* src/extract/primitive/extract_discontinued_vlines.cc,
	* src/extract/primitive/extract_thick_hlines.cc,
	* src/extract/primitive/extract_thick_vlines.cc,
	* src/extract/primitive/find_discontinued_lines.cc,
	* src/extract/primitive/find_pattern_lines.cc,
	* src/extract/primitive/find_single_lines.cc,
	* src/extract/primitive/find_thick_and_single_lines.cc,
	* src/extract/primitive/find_thick_lines.cc,
	* src/filter/large_objects.cc,
	* src/filter/small_objects.cc,
	* src/filter/thick_objects.cc,
	* src/filter/thin_objects.cc,
	* src/morpho.cc,
	* src/negate.cc,
	* src/preprocess.cc,
	* src/recognition.cc,
	* src/rectangularity.cc,
	* src/superpose.cc,
	* src/table_rebuild_opening.cc,
	* src/table_rebuild_rank.cc,
	* src/text/grouping/Makefile.am,
	* src/text/grouping/group_from_double_link.cc,
	* src/text/grouping/group_from_double_link_filter_non_aligned.cc,
	* src/text/grouping/group_from_double_several_links.cc,
	* src/text/grouping/group_from_graph.cc,
	* src/text/grouping/group_from_several_graph.cc,
	* src/text/grouping/group_from_several_left_links.cc,
	* src/text/grouping/group_from_single_link.cc: Move ...

	* src/filter/objects_large.cc,
	* src/filter/objects_small.cc,
	* src/filter/objects_thick.cc,
	* src/filter/objects_thin.cc,
	* src/misc/Makefile.am,
	* src/misc/dmap.cc,
	* src/misc/morpho.cc,
	* src/misc/negate.cc,
	* src/misc/rectangularity.cc,
	* src/misc/superpose.cc,
	* src/preprocessing/preprocess.cc,
	* src/primitive/Makefile.am,
	* src/primitive/extract/Makefile.am,
	* src/primitive/extract/extract_discontinued_hlines.cc,
	* src/primitive/extract/extract_discontinued_lines.cc,
	* src/primitive/extract/extract_discontinued_vlines.cc,
	* src/primitive/extract/extract_thick_hlines.cc,
	* src/primitive/extract/extract_thick_vlines.cc,
	* src/primitive/find/Makefile.am,
	* src/primitive/find/find_discontinued_lines.cc,
	* src/primitive/find/find_pattern_lines.cc,
	* src/primitive/find/find_single_lines.cc,
	* src/primitive/find/find_thick_and_single_lines.cc,
	* src/primitive/find/find_thick_lines.cc,
	* src/primitive/group/Makefile.am,
	* src/primitive/group/group_from_double_link.cc,
	* src/primitive/group/group_from_double_link_filter_non_aligned.cc,
	* src/primitive/group/group_from_double_several_links.cc,
	* src/primitive/group/group_from_graph.cc,
	* src/primitive/group/group_from_rag.cc,
	* src/primitive/group/group_from_several_graph.cc,
	* src/primitive/group/group_from_several_left_links.cc,
	* src/primitive/group/group_from_single_link.cc,
	* src/table/rebuild_opening.cc,
	* src/table/rebuild_rank.cc,
	* src/text/recognition.cc: ... here.

	* src/table_old.cc: Remove.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
339
340
341
342
343
344
345
2009-09-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new filters in Scribo.

	* filter/objects_h_thin.hh,
	* filter/objects_v_thin.hh: New objects filters.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
2009-09-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes in Scribo.

	* binarization/sauvola.hh: Fix an invalid precondition.

	* filter/objects_size_ratio.hh: Add a "using namespace".

	* primitive/extract/lines_h_pattern.hh,
	* primitive/extract/lines_v_pattern.hh: Add a parameter.

	* primitive/extract/lines_pattern.hh: Add a todo.

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

Thierry Geraud's avatar
Thierry Geraud committed
361
362
363
364
365
366
2009-09-28  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Fix typo.

	* text/recognition.hh (recognition): Fix typo in commentary.

367
368
369
370
371
372
373
374
375
376
2009-09-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new examples in Scribo.

	* src/extract/primitive/Makefile.am,
	* src/preprocessing/Makefile.am: Add new examples as target.

	* src/extract/primitive/find_pattern_lines.cc,
	* src/preprocessing/split_bg_fg.cc: New examples.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
377
378
379
380
381
382
383
2009-09-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new filters in Scribo.

	* filter/object_groups_size_ratio.hh,
	* filter/objects_size_ratio.hh: New filters.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
384
385
386
387
388
389
390
391
392
393
394
395
396
397
2009-09-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes in Scribo.

	* demo/src/mainwindow.cc: Do not always resize pics.

	* filter/object_groups_small.hh: Add missing traces.

	* preprocessing/split_bg_fg.hh: Fix type ambiguities.

	* src/table/extract.cc,
	* src/text/grouping/group_from_double_link_filter_non_aligned.cc,
	* src/text/grouping/group_from_rag.cc: Cosmetic changes.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
398
399
400
401
402
403
404
405
406
407
408
409
410
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes in Scribo.

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

	* estim/object_groups_v_thickness.hh,
	* primitive/extract/lines_h_thick_and_single.hh,
	* primitive/extract/lines_v_thick_and_single.hh: Add missing headers.

	* src/text_in_photo.cc: Fix an undeclared variable.

411
412
413
414
415
416
417
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new primitive extraction routines.

	* primitive/extract/lines_h_thick_and_single.hh,
	* primitive/extract/lines_v_thick_and_single.hh: New.

418
419
420
421
422
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* preprocessing/split_bg_fg.hh: Add a new algorithm to split
	background and foreground.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
423
424
425
426
427
428
429
430
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Improve Scribo's demo.

	* demo/src/mainwindow.cc,
	* demo/src/mainwindow.hh: Add "text in doc" demo and improve
	progress dialog output.

431
432
433
434
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* debug/decision_image.hh: Fix an invalid precondition.

435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Improve and add new examples in Scribo.

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

	* src/extract/primitive/find_thick_and_single_lines.cc,
	* src/text/cleantxt.cc,
	* src/text_in_photo_ppm.cc: New full examples.

	* src/extract/primitive/find_thick_lines.cc: Use the lines_*_thick
	routines.

	* src/text_in_doc.cc,
	* src/text_in_photo.cc: Improve outputs.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
453
454
455
456
457
458
459
460
461
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Make text cleaning work.

	* text/clean.hh: Do not use the distance map anymore.

	* text/recognition.hh: Do not return an image of char anymore.
	Enlarge the temporary image domain.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
462
463
464
465
466
467
468
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new filters in Scribo.

	* filter/common/objects_photo.hh,
	* filter/object_groups_v_thickness.hh: New.

469
470
471
472
473
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* estim/object_groups_v_thickness.hh: New routine. Estimate
	object group thickness.

474
475
476
477
478
479
480
481
482
483
484
485
486
487
2009-08-31 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Fix compilation issues in Scribo.

	* binarization/sauvola.hh,
	* debug/decision_image.hh,
	* debug/save_linked_bboxes_image.hh,
	* draw/bounding_box_links.hh,
	* filter/object_links_bbox_overlap.hh: Add missing includes.

	* src/text_in_photo_invert.cc: Update use of some routines.

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

488
489
490
491
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* tests/table/extract_lines_with_rank.cc: Fix a test in Scribo.

492
493
494
495
496
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_doc.cc: New full example extracting text in
	documents.

497
498
499
500
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_photo.cc: Improve text detection in pictures.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
501
502
503
504
505
506
507
508
509
510
511
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	New filters in Scribo.

	* 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_non_aligned_simple.hh: New.

512
513
514
515
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* debug/decision_image.hh: New debug routine.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes in Scribo.

	* core/object_links.hh,
	* core/object_groups.hh: Add default constructor and is_valid
	member.

	* debug/save_linked_bboxes_image.hh,
	* draw/bounding_box_links.hh: Update arguments type.

	* draw/bounding_boxes.hh: Add a new overload.

	* filter/object_groups_small.hh: Make it return an object_groups.

	* filter/object_links_non_aligned.hh: Do not do anything if a box
	does not have any link.

	* src/table/erase.cc: Add comments.

536
537
538
539
540
541
542
543
544
545
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add Sauvola's binarization.

	* binarization/sauvola.hh: New routine.

	* src/binarization/Makefile.am,
	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_pgm.cc: New examples.

546
547
548
549
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_photo_invert.cc: New example.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new filters.

	* filter/all.hh: Add new includes.

	* filter/object_links_non_aligned.hh,
	* filter/object_links_non_h_aligned.hh,
	* filter/object_links_non_v_aligned.hh: New filters.

	* src/text/grouping/group_from_double_link_filter_non_aligned.cc:
	New example.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Rename filters.

	* filter/all.hh: Update includes.

	* filter/large_objects.hh,
	* filter/small_object_groups.hh,
	* filter/small_objects.hh,
	* filter/thick_objects.hh,
	* filter/thin_objects.hh
	* fun/v2b/small_objects_filter.hh: Move ...

	* filter/object_groups_small.hh,
	* filter/objects_large.hh,
	* filter/objects_small.hh,
	* filter/objects_thick.hh,
	* filter/objects_thin.hh,
	* fun/v2b/objects_small_filter.hh: ... here.

	* src/filter/large_objects.cc,
	* src/filter/small_objects.cc,
	* src/filter/thick_objects.cc,
	* src/filter/thin_objects.cc,
	* src/preprocess.cc,
	* src/recognition.cc,
	* src/text/grouping/group_from_double_link.cc,
	* src/text/grouping/group_from_double_several_links.cc,
	* src/text/grouping/group_from_rag.cc,
	* src/text_in_photo.cc,
	* src/thin_bboxes.cc,
	* tests/filter/small_and_large_bboxes.cc: Update function calls
	and includes.

600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
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
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Mass renaming/cleanup in Scribo.

	* extract/primitive/canvas.hh,
	* extract/primitive/cells.hh,
	* extract/primitive/lines_discontinued.hh,
	* extract/primitive/lines_h_discontinued.hh,
	* extract/primitive/lines_h_pattern.hh,
	* extract/primitive/lines_h_single.hh,
	* extract/primitive/lines_h_thick.hh,
	* extract/primitive/lines_pattern.hh,
	* extract/primitive/lines_thick.hh,
	* extract/primitive/lines_v_discontinued.hh,
	* extract/primitive/lines_v_pattern.hh,
	* extract/primitive/lines_v_single.hh,
	* extract/primitive/lines_v_thick.hh,
	* extract/primitive/objects.hh,
	* text/grouping/group_from_double_link.hh,
	* text/grouping/group_from_graph.hh,
	* text/grouping/group_from_single_link.hh,
	* text/grouping/group_with_graph.hh,
	* text/grouping/group_with_rag.hh,
	* text/grouping/group_with_several_graphes.hh,
	* text/grouping/group_with_several_left_links.hh,
	* text/grouping/group_with_several_right_links.hh,
	* text/grouping/group_with_single_left_link.hh,
	* text/grouping/group_with_single_right_link.hh,
	* text/grouping/internal/find_graph_link.hh,
	* text/grouping/internal/find_root.hh,
	* text/grouping/internal/have_link_valid.hh,
	* text/grouping/internal/init_link_array.hh,
	* text/grouping/internal/init_link_array.hh,
	* text/grouping/internal/is_link_valid.hh,
	* text/grouping/internal/update_link_array.hh: Move...

	* primitive/extract/canvas.hh,
	* primitive/extract/cells.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_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/objects.hh,
	* primitive/group/from_double_link.hh,
	* primitive/group/from_graph.hh,
	* primitive/group/from_single_link.hh,
	* primitive/internal/find_graph_link.hh,
	* primitive/internal/find_root.hh,
	* primitive/internal/have_link_valid.hh,
	* primitive/internal/init_link_array.hh,
	* primitive/internal/is_link_valid.hh,
	* primitive/internal/update_graph_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_links.hh,
	* primitive/link/with_single_left_link.hh,
	* primitive/link/with_single_right_link.hh: ... here.

	* text/all.hh,
	* all.hh: Update includes.

	* draw/bounding_box_links.hh
	* filter/large_objects.hh
	* filter/small_object_groups.hh
	* filter/thick_objects.hh
	* filter/thin_objects.hh
	* src/extract/primitive/extract_discontinued_hlines.cc
	* src/extract/primitive/extract_discontinued_lines.cc
	* src/extract/primitive/extract_discontinued_vlines.cc
	* src/extract/primitive/extract_thick_hlines.cc
	* src/extract/primitive/extract_thick_vlines.cc
	* src/extract/primitive/find_discontinued_lines.cc
	* src/extract/primitive/find_single_lines.cc
	* src/extract/primitive/find_thick_lines.cc
	* src/filter/large_objects.cc
	* src/filter/small_objects.cc
	* src/filter/thick_objects.cc
	* src/filter/thin_objects.cc
	* src/recognition.cc
	* src/table/erase.cc
	* src/table_rebuild_opening.cc
	* src/table_rebuild_rank.cc
	* src/text/grouping/group_from_double_link.cc
	* src/text/grouping/group_from_double_several_links.cc
	* src/text/grouping/group_from_graph.cc
	* src/text/grouping/group_from_rag.cc
	* src/text/grouping/group_from_several_graph.cc
	* src/text/grouping/group_from_several_left_links.cc
	* src/text/grouping/group_from_single_link.cc
	* src/text_in_photo.cc
	* table/extract.hh
	* table/internal/repair_lines.hh
	* tests/filter/small_and_large_bboxes.cc
	* tests/table/extract_lines_with_rank.cc
	* text/extract_lines.hh: Update function calls and includes.

	* filter/small_objects.hh: Update function calls and includes, and
	use a functor.

	* fun/v2b/small_objects_filter.hh: New filter functor.

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

	* make/influence_zone_graph.hh: Fix wrong namespace.

	* primitive/group/apply.hh: New routine.

	* primitive/link/all.hh,
	* primitive/group/all.hh: New.


	* text/grouping/internal/all.hh,
	* text/grouping/internal/find_left_link.hh,
	* text/grouping/internal/find_right_link.hh,
	* text/grouping/internal/init_link_array.hh,
	* text/grouping/internal/update_graph_link.hh: Move...

	* primitive/internal/all.hh,
	* primitive/internal/find_left_link.hh,
	* primitive/internal/find_right_link.hh,
	* primitive/internal/init_link_array.hh,
	* primitive/internal/update_graph_link.hh: ... here.

	* primitive/link/merge_double_link.hh: New routine.

735
736
737
738
739
740
741
742
743
744
745
746
747
748
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Set specific cxxflags for tests in Scribo.

	* scribo.mk: Set optimization flags in AM_CXXFLAGS.
	* tests/tests.mk: New. Set AM_CXXFLAGS with debug flags.

	* tests/Makefile.am,
	* tests/filter/Makefile.am,
	* tests/preprocessing/Makefile.am,
	* tests/table/Makefile.am,
	* tests/text/Makefile.am,
	* tests/unit_test/Makefile.am: Include tests.mk.

749
750
751
752
753
754
755
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Introduce new structures for objects links and groups.

	* core/object_groups.hh,
	* core/object_links.hh: New.

756
757
758
759
760
761
762
763
764
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	New object grouping routine based on a rag.

	* text/grouping/group_with_rag.hh,
	* text/grouping/internal/have_link_valid.hh: New.

	* src/text/grouping/group_from_rag.cc: New related example.

765
766
767
768
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_photo.cc: Improve results quality.

769
770
771
772
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* filter/small_object_groups.hh: New filter.

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
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Various small fixes in Scribo.

	* extract/primitive/lines_h_thick.hh,
	* debug/save_linked_bboxes_image.hh: Reindent.

	* demo/Makefile.am: Use $(srcdir).

	* draw/bounding_box_links.hh: Fix use of invalid sites.

	* extract/primitive/lines_h_pattern.hh,
	* extract/primitive/lines_v_pattern.hh: Add fixmes.

	* filter/large_objects.hh,
	* filter/thick_objects.hh: Set a specific value for the
	background.

	* text/grouping/group_from_double_link.hh: Update doc and add an
	overload.

	* text/grouping/group_from_single_link.hh,
	* text/grouping/group_with_graph.hh: Update doc.

	* text/grouping/internal/is_link_valid.hh: Add a missing test.

799
800
801
802
803
804
805
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new routines for line extraction.

	* extract/primitive/lines_h_single.hh,
	* extract/primitive/lines_v_single.hh: New.

806
807
808
809
810
811
812
813
814
815
816
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add/improve line extraction examples.

	* src/extract/primitive/Makefile.am: Add new examples.

	* src/extract/primitive/find_discontinued_lines.cc: Cleanup.

	* src/extract/primitive/find_single_lines.cc,
	* src/extract/primitive/find_thick_lines.cc: New.

817
818
819
820
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* extract/primitive/objects.hh: use blobs_and_compute.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Move example files.

	* src/Makefile.am: update.

	* src/text/Makefile.am,
	* src/text/grouping/Makefile.am: New.

	* src/extract_text_double_link.cc,
	* src/extract_text_double_several_links.cc,
	* src/extract_text_graph.cc,
	* src/extract_text_several_graph.cc,
	* src/extract_text_several_left_links.cc,
	* src/extract_text_single_link.cc: Move...

	* src/text/grouping/group_from_double_link.cc,
	* src/text/grouping/group_from_double_several_links.cc,
	* src/text/grouping/group_from_graph.cc,
	* src/text/grouping/group_from_several_graph.cc,
	* src/text/grouping/group_from_several_left_links.cc,
	* src/text/grouping/group_from_single_link.cc: ... here.

844
845
846
847
2009-08-19 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/Makefile.am: Link 'recognition' example to libtiff.

848
849
850
851
2009-08-19 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Fix generation of headers.mk in Scribo.

852
	* Makefile.am: Add new arguments to
853
854
	generate_dist_headers.sh.

855
	* headers.mk: Update.
856

857
858
859
860
861
862
863
864
865
2009-08-17  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Fix missing qualification for left and right.

	* text/grouping/internal/find_left_link.hh (find_left_link):
	Qualify left with mln.
	* text/grouping/internal/find_right_link.hh (find_right_link):
	Qualify right with mln.

866
867
868
869
2009-07-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/Makefile.am: Handle tesseract dependency.

870
871
872
873
2009-07-13  Roland Levillain  <roland@lrde.epita.fr>

	* src/preprocessing/Makefile.am: Remove a trailing blank line.

Thierry Geraud's avatar
Thierry Geraud committed
874
875
876
877
878
879
2009-07-08  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Bug fix.

	* filter/thick_objects.hh: Fix.

880
2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
Guillaume Lazzara's avatar
Guillaume Lazzara committed
881
882
883
884
885
886
887
888
889
890
891
892

	Update Scribo.

	* src/extract_text_double_link.cc: Improve usage output and add new
	parameters to be passed as arguments.

	* src/recognition.cc: Add a new program argument.

	* text/clean.hh: Disable cleaning for now.

	* text/recognition.hh: may store the recognized text into a file.

893
2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
894
895
896

	* tests/preprocessing/unskew.cc: fix test.

897
2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
898
899
900

	* preprocessing/unskew.hh: Fix an ambiguity.

901
2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
902
903
904
905
906
907
908

	Update calls to geom::rotate.

	* src/preprocess.cc,
	* src/preprocessing/unskew.cc: update call to geom::rotate.

2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
909
910
911

	* preprocessing/unskew.hh: rename transformation:: to geom::.

912
913
914
915
2009-06-26  Roland Levillain  <roland@lrde.epita.fr>

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

916
917
918
919
920
921
2009-06-26  Roland Levillain  <roland@lrde.epita.fr>

	Fix path to build-aux/generate_dist_headers.sh in Makefile.

	* Makefile.am (regen-am, $(srcdir)/headers.mk): Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
922
923
924
925
926
927
928
929
930
931
2009-06-23 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Improve Scribo demo.

	* demo/src/mainwindow.cc,
	* demo/src/mainwindow.hh,
	* demo/ui/mainwindow.ui: add new functionalities.
	  - Auto-demo.
	  - Display ppm pictures instead of pbm ones.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
2009-06-23 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Update Scribo.

	* extract/lines_discontinued.hh: remove. Useless.

	* extract/primitive/lines_discontinued.hh: enlarge the window used to
	dilate.

	* extract/primitive/lines_h_pattern.hh,
	* extract/primitive/lines_pattern.hh,
	* extract/primitive/lines_v_pattern.hh: new line extraction algorithm.

	* headers.mk: remove lines_discontinued.hh from this list.

	* preprocessing/unskew.hh: fix wrong angle computation.

	* src/extract/primitive/find_discontinued_lines.cc,
	* table/extract.hh: use the new line extraction algorithm.

	* src/preprocess.cc: call scribo::preprocess.

954
955
956
957
958
959
960
961
962
963
964
2009-06-19 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Use scripts located in build-aux in Scribo.

	* Makefile.am: make use of scripts located in build-aux.

	* generate_dist_headers.sh: remove since useless.

	* headers.mk: regen.

	* nodist-headers: list of not distributed headers.
Roland Levillain's avatar
Roland Levillain committed
965

966
	* tests/unit_test/build_unit_test.sh: add output path as argument.
Roland Levillain's avatar
Roland Levillain committed
967

968
969
	* tests/unit_test/Makefile.am: update call to build_unit_test.sh.

970
971
972
973
974
975
976
2009-06-16 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Fix compilation issues with gcc-3.3 in Scribo.

	* table/extract.hh: add a missing include and specify the scribo
	namespace.

Roland Levillain's avatar
Roland Levillain committed
977
	* table/internal/align_lines.hh: fix warnings.
978

Roland Levillain's avatar
Roland Levillain committed
979
	* table/internal/repair_lines.hh: do not use mln_VAR.
980

981
982
983
984
985
986
987
988
989
990
991
992
993
2009-06-12  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Fixes about accumulator includes and calls.
	* extract/lines_discontinued.hh,
	* extract/primitive/cells.hh,
	* extract/primitive/objects.hh,
	* filter/thin_objects.hh,
	* make/text.hh,
	* text/extract_lines.hh,
	* text/grouping/group_from_double_link.hh,
	* text/grouping/group_from_graph.hh,
	* text/grouping/group_from_single_link.hh:
	Replace accu::accu_name by accu::new_dir::accu_name,
Roland Levillain's avatar
Roland Levillain committed
994
995
	accu::meta::accu_name by accu::meta::new_dir::accu_name,
	accu/accu_name by accu/new_dir/accu_name.
996

997
998
999
1000
2009-06-12 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Clear \file command arguments in Scribo.