ChangeLog 49.5 KB
Newer Older
1
2
3
4
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
5
6
7
8
9
10
11
12
13
14
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.

15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.

29
30
31
32
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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.

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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.

90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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.

110
111
112
113
114
115
116
117
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.

118
119
120
121
122
123
124
125
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.

126
127
128
129
130
131
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
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
155
156
157
158
159
160
161
162
163
164
165
166
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.

167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
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
253
254
255
256
257
258
259
260
261
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.

262
263
264
265
266
267
268
269
270
271
272
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.

273
274
275
276
2009-10-12  Roland Levillain  <roland@lrde.epita.fr>

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

277
278
279
280
281
282
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.

283
284
285
286
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

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

287
288
289
290
291
292
293
294
295
296
297
298
299
300
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.

301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
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.

316
317
318
319
320
321
322
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.

323
324
325
326
327
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
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
408
409
410
411
412
413
414
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
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
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
430
431
432
433
434
435
2009-09-28  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Fix typo.

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

436
437
438
439
440
441
442
443
444
445
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
446
447
448
449
450
451
452
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
453
454
455
456
457
458
459
460
461
462
463
464
465
466
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
467
468
469
470
471
472
473
474
475
476
477
478
479
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.

480
481
482
483
484
485
486
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.

487
488
489
490
491
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
492
493
494
495
496
497
498
499
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.

500
501
502
503
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
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
522
523
524
525
526
527
528
529
530
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
531
532
533
534
535
536
537
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.

538
539
540
541
542
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

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

557
558
559
560
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

561
562
563
564
565
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

566
567
568
569
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
570
571
572
573
574
575
576
577
578
579
580
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.

581
582
583
584
2009-08-28 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* debug/decision_image.hh: New debug routine.

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

605
606
607
608
609
610
611
612
613
614
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.

615
616
617
618
2009-08-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_photo_invert.cc: New example.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
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
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
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.

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
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
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.

804
805
806
807
808
809
810
811
812
813
814
815
816
817
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.

818
819
820
821
822
823
824
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.

825
826
827
828
829
830
831
832
833
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.

834
835
836
837
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/text_in_photo.cc: Improve results quality.

838
839
840
841
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* filter/small_object_groups.hh: New filter.

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

868
869
870
871
872
873
874
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.

875
876
877
878
879
880
881
882
883
884
885
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.

886
887
888
889
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
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.

913
914
915
916
2009-08-19 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

917
918
919
920
2009-08-19 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Fix generation of headers.mk in Scribo.

921
	* Makefile.am: Add new arguments to
922
923
	generate_dist_headers.sh.

924
	* headers.mk: Update.
925

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

935
936
937
938
2009-07-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* src/Makefile.am: Handle tesseract dependency.

939
940
941
942
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
943
944
945
946
947
948
2009-07-08  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Bug fix.

	* filter/thick_objects.hh: Fix.

949
2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
Guillaume Lazzara's avatar
Guillaume Lazzara committed
950
951
952
953
954
955
956
957
958
959
960
961

	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.

962
2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
963
964
965

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

966
2009-06-30 Guillaume Lazzara  <lazzara@lrde.epita.fr>
967
968
969

	* preprocessing/unskew.hh: Fix an ambiguity.

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

	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>
978
979
980

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

981
982
983
984
2009-06-26  Roland Levillain  <roland@lrde.epita.fr>

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

985
986
987
988
989
990
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
991
992
993
994
995
996
997
998
999
1000
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.