ChangeLog 54.7 KB
Newer Older
1
2
3
4
5
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	* io/xml/save_text_lines.hh: New. Add partial support for
	PageContent XML format.

6
7
8
9
10
11
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
45
46
47
48
49
50
51
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce new Scribo core classes and start using them.

	* scribo/core/component_info.hh,
	* scribo/core/component_set.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: New core classes.

	* scribo/core/object_image.hh: Remove.

	* scribo/core/anchors.hh
	* scribo/primitive/extract/objects.hh: Rename as...

	* scribo/primitive/link/internal/compute_anchor.hh,
	* scribo/primitive/extract/components.hh: ... this.

	* scribo/draw/bounding_box_links.hh,
	* scribo/filter/object_links_bbox_h_ratio.hh,
	* scribo/filter/object_links_bbox_ratio.hh,
	* scribo/filter/objects_small.hh,
	* scribo/fun/v2b/objects_small_filter.hh,
	* scribo/primitive/group/apply.hh,
	* scribo/primitive/group/from_single_link.hh,
	* scribo/primitive/internal/find_root.hh,
	* scribo/primitive/internal/init_link_array.hh,
	* scribo/primitive/link/compute.hh,
	* scribo/primitive/link/internal/find_link.hh,
	* scribo/primitive/link/internal/find_several_links.hh,
	* scribo/primitive/link/internal/link_functor_base.hh,
	* scribo/primitive/link/internal/link_several_dmax_base.hh,
	* scribo/primitive/link/internal/link_single_dmax_base.hh,
	* scribo/primitive/link/internal/link_single_dmax_ratio_base.hh,
	* scribo/primitive/link/merge_double_link.hh,
	* scribo/primitive/link/with_single_left_link_dmax_ratio.hh,
	* scribo/primitive/link/with_single_right_link_bottom.hh,
	* scribo/primitive/link/with_single_right_link_dmax_ratio.hh,
	* scribo/primitive/link/with_single_right_link_top.hh: Make use of
	the new core classes.

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

	Add anchor support in debug routines.

56
57
58
59
	* debug/alignment_decision_image.hh,
	* debug/links_decision_image.hh,
	* debug/save_linked_bboxes_image.hh,
	* draw/bounding_box_links.hh: Make use of anchor points to
60
61
	draw debug outputs.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
62
63
64
65
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new link filters.

66
	* filter/object_links_non_aligned_simple.hh: Handle new
Guillaume Lazzara's avatar
Guillaume Lazzara committed
67
68
	cases.

69
70
	* filter/object_links_left_aligned.hh,
	* filter/object_links_right_aligned.hh: New filters.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
71

72
73
74
75
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve object linking backend.

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
	* primitive/internal/find_left_link.hh,
	* primitive/internal/find_right_link.hh,
	* primitive/internal/is_invalid_link.hh: Remove.

	* primitive/link/internal/compute_anchor.hh,
	* primitive/link/internal/link_ms_dmax_base.hh,
	* primitive/link/internal/link_ms_dmax_ratio_base.hh,
	* primitive/link/internal/link_single_dmax_base.hh,
	* primitive/link/internal/link_single_dmax_ratio_base.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_dmax_ratio.hh,
	* primitive/link/with_single_up_link.hh: Introduce the
91
92
	anchor concept and make use of it.

93
94
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

95
	* filter/objects_with_holes.hh: New component filter.
96

97
98
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

99
	* draw/bounding_boxes.hh: Do not draw box centers anymore.
100

101
102
103
104
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add dedicated routines for AFP's use case.

105
106
107
	* src/afp/components.hh,
	* src/afp/link.hh,
	* src/afp/regroup.hh: New.
108

Guillaume Lazzara's avatar
Guillaume Lazzara committed
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
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new tools in Scribo.

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

	* src/debug/show_info_median_inter_characters.cc,
	* src/debug/show_info_x_height.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_up.cc,
	* src/debug/show_links_single_up_left_aligned.cc,
	* src/debug/show_links_single_up_right_aligned.cc,
	* src/filter/objects_with_holes.cc,
	* src/filter/objects_with_holes_pgm.cc,
	* src/pbm_lines_in_doc.cc,
	* src/preprocessing/split_bg_fg_ms.cc,
	* src/text_in_article.cc,
	* src/text_in_photo_ppm_fast.cc: New tools.

	* src/debug/show_left_right_links_validation.cc: Rename as...
	* src/debug/show_links_left_right_links_validation.cc: ...this.

	* src/debug/show_links_bbox_h_ratio.cc: Add a missing argument.

137
138
139
140
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/src/text_in_photo_ppm.cc: Improve output.

141
142
143
144
145
146
147
148
149
150
151
152
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Cleanup and avoid warnings in Sauvola related files.

	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold.hh,
	* scribo/canvas/integral_browsing.hh,
	* scribo/src/binarization/sauvola_ms.cc,
	* scribo/src/binarization/sauvola_pgm.cc,x
	* scribo/subsampling/integral_single_image.hh: Cleanup and avoir
	warnings.

153
154
155
156
157
158
159
160
161
2009-12-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new test for object_image.

	* tests/Makefile.am,
	* tests/core/Makefile.am: Update build system.

	* tests/core/object_image.cc: New test.

162
163
164
165
2009-12-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* primitive/extract/objects.hh: Compute and store mass centers.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
166
167
168
169
170
171
172
173
174
175
2009-12-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix object links filters.

	* filter/object_links_bottom_aligned.hh,
	* filter/object_links_center_aligned.hh,
	* filter/object_links_non_aligned_simple.hh,
	* filter/object_links_top_aligned.hh: Pass the proper dimension as
	routine argument.

176
177
178
179
180
181
182
183
184
185
186
187
188
189
2009-12-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Cleanup Sauvola's binarization code.

	* binarization/sauvola_threshold.hh,
	* binarization/sauvola.hh: Use fun::v2v::rgb_to_int_u8.

	* binarization/sauvola_ms.hh: New. Sauvola multi-scale routine.

	* src/binarization/sauvola.cc: Make the window size a program
	argument.

	* src/binarization/sauvola_ms.cc: Use Sauvola multi-scale routine.

190
191
192
193
2009-12-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* core/object_image.hh: Make use of mln::labeled_image_base.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
2009-12-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve linking routines.

	* core/anchors.hh: New. Add anchor types.

	* filter/objects_thin.hh: Use filter::internal::compute.

	* primitive/link/internal/find_several_links.hh,
	* primitive/link/internal/find_link.hh,
	* primitive/link/compute.hh: Update functor interface in order to
	specify anchors.

	* primitive/link/compute_several.hh: Fix an invalid namespace.

	* primitive/link/internal/anchors_3.hh: Move...

	* primitive/link/internal/compute_anchor.hh: ... here.

	* primitive/link/internal/link_functor_base.hh: Use anchor type.

	* primitive/link/internal/link_several_dmax_base.hh: New.

	* primitive/link/internal/link_center_dmax_base.hh,
	* primitive/link/internal/link_center_dmax_ratio_base.hh: Removed.

	* primitive/link/with_several_right_links_overlap.hh: Fix includes.

	* primitive/link/with_single_right_link_bottom.hh,
	* primitive/link/with_single_right_link_top.hh,
	* primitive/link/with_single_left_link.hh,
	* primitive/link/with_single_right_link.hh: Use
	link_single_dmax_base functor.

	* 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: Update functor
	interface.

235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
2009-12-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve Sauvola Multi-scale.

	* binarization/internal/first_pass_functor.hh: Use
	sauvola_threshold routine.

	* binarization/sauvola_threshold.hh: Remove debug and fix invalid
	read in integral image.

	* canvas/integral_browsing.hh,
	* subsampling/integral_single_image.hh: Fix stats computation.

	* src/binarization/sauvola_ms.cc: Fix window parameter and make
	debug output optional.

251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
2009-12-04  Guillaume Lazzara  <z@lrde.epita.fr>

	Optimize Sauvola's multiscale binarization.

	* core/init_integral_image.hh: New.

	* src/binarization/sauvola_ms.cc: Optimize and make it more
	robust.

	* canvas/integral_browsing.hh: New canvas to browse and compute
	data in an integral image.

	* binarization/internal/first_pass_functor.hh: New functor to be
	used in the integral browsing.

	* binarization/sauvola_threshold.hh: Add new overloads.

	* subsampling/integral_single_image.hh: Subsample an image and
	compute integral images at the same time.

271
272
273
274
275
276
277
278
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.

279
280
281
282
283
284
285
286
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.

287
288
289
290
291
292
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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
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
316
317
318
319
320
321
322
323
324
325
326
327
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.

328
329
330
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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
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
414
415
416
417
418
419
420
421
422
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.

423
424
425
426
427
428
429
430
431
432
433
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.

434
435
436
437
2009-10-12  Roland Levillain  <roland@lrde.epita.fr>

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

438
439
440
441
442
443
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.

444
445
446
447
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

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

448
449
450
451
452
453
454
455
456
457
458
459
460
461
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.

462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
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.

477
478
479
480
481
482
483
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.

484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
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
569
570
571
572
573
574
575
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
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
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
591
592
593
594
595
596
2009-09-28  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Fix typo.

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

597
598
599
600
601
602
603
604
605
606
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
607
608
609
610
611
612
613
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
614
615
616
617
618
619
620
621
622
623
624
625
626
627
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
628
629
630
631
632
633
634
635
636
637
638
639
640
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.

641
642
643
644
645
646
647
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.

648
649
650
651
652
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
653
654
655
656
657
658
659
660
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.

661
662
663
664
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
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
683
684
685
686
687
688
689
690
691
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
692
693
694
695
696
697
698
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.

699
700
701
702
703
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

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

718
719
720
721
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

722
723
724
725
726
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

727
728
729
730
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
731
732
733
734
735
736
737
738
739
740
741
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.

742
743
744
745
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* debug/decision_image.hh: New debug routine.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
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.

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

776
777
778
779
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_photo_invert.cc: New example.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
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
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
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.

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

965
966
967
968
969
970
971
972
973
974
975
976
977
978
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.

979
980
981
982
983
984
985
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.

986
987
988
989
990
991
992
993
994
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.

995
996
997
998
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_photo.cc: Improve results quality.

999
1000
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>