ChangeLog 120 KB
Newer Older
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1
2
3
4
5
6
7
8
2010-10-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix namespace ambiguities.

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

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

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

14
15
16
17
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

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

18
19
20
21
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

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

22
23
24
25
26
2010-08-12  Guillaume Lazzara  <z@lrde.epita.fr>

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

27
28
29
30
31
32
33
34
35
2010-08-12  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix invalid pointer offset types.

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

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
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix warnings with g++-4.1 in Scribo.

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

61
62
63
64
65
66
67
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

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

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
68
69
70
71
72
73
74
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Update READMEs.

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

75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Update Scribo include paths.

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

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

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

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

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

	Move Scribo includes in a specific directory.

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
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
253
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
	* all.hh,
	* binarization/all.hh,
	* binarization/global_threshold.hh,
	* binarization/global_threshold_auto.hh,
	* binarization/internal/first_pass_functor.hh,
	* binarization/local_threshold.hh,
	* binarization/sauvola.hh,
	* binarization/sauvola_ms.hh,
	* binarization/sauvola_ms_split.hh,
	* binarization/sauvola_threshold_image.hh,
	* binarization/sauvola_threshold_image_debug.hh,
	* canvas/integral_browsing.hh,
	* convert/from_qimage.hh,
	* core/all.hh,
	* core/central_sites.hh,
	* core/component_info.hh,
	* core/component_set.hh,
	* core/concept/dmax_functor.hh,
	* core/concept/link_functor.hh,
	* core/def/lbl_type.hh,
	* core/erase_objects.hh,
	* core/init_integral_image.hh,
	* core/line_info.hh,
	* core/line_set.hh,
	* core/macros.hh,
	* core/object_groups.hh,
	* core/object_links.hh,
	* core/tag/anchor.hh,
	* core/tag/component.hh,
	* core/tag/line.hh,
	* debug/alignment_decision_image.hh,
	* debug/all.hh,
	* debug/bboxes_enlarged_image.hh,
	* debug/char_space_image.hh,
	* debug/decision_image.hh,
	* debug/highlight_text_area.hh,
	* debug/line_info_image.hh,
	* debug/links_decision_image.hh,
	* debug/looks_like_a_text_line_image.hh,
	* debug/mean_and_base_lines_image.hh,
	* debug/save_bboxes_image.hh,
	* debug/save_comp_diff.hh,
	* debug/save_label_image.hh,
	* debug/save_linked_bboxes_image.hh,
	* debug/save_table_image.hh,
	* debug/several_links_decision_image.hh,
	* debug/text_areas_image.hh,
	* debug/usage.hh,
	* draw/all.hh,
	* draw/bounding_box_links.hh,
	* draw/bounding_boxes.hh,
	* draw/groups_bboxes.hh,
	* estim/object_groups_v_thickness.hh,
	* filter/all.hh,
	* filter/common/objects_photo.hh,
	* filter/internal/alignment_angle.hh,
	* filter/internal/component_aligned.hh,
	* filter/internal/compute.hh,
	* filter/object_groups_size_ratio.hh,
	* filter/object_groups_small.hh,
	* filter/object_groups_v_thickness.hh,
	* filter/object_groups_with_holes.hh,
	* filter/object_links_bbox_h_ratio.hh,
	* filter/object_links_bbox_overlap.hh,
	* filter/object_links_bbox_ratio.hh,
	* filter/object_links_bbox_w_ratio.hh,
	* filter/object_links_bottom_aligned.hh,
	* filter/object_links_center_aligned.hh,
	* filter/object_links_left_aligned.hh,
	* filter/object_links_non_aligned_simple.hh,
	* filter/object_links_right_aligned.hh,
	* filter/object_links_top_aligned.hh,
	* filter/objects_h_thick.hh,
	* filter/objects_h_thin.hh,
	* filter/objects_large.hh,
	* filter/objects_size_ratio.hh,
	* filter/objects_small.hh,
	* filter/objects_thick.hh,
	* filter/objects_thin.hh,
	* filter/objects_v_thick.hh,
	* filter/objects_v_thin.hh,
	* filter/objects_with_holes.hh,
	* fun/v2b/label_to_bool.hh,
	* fun/v2b/objects_large_filter.hh,
	* fun/v2b/objects_small_filter.hh,
	* io/text_boxes/save.hh,
	* io/xml/save.hh,
	* make/all.hh,
	* make/debug_filename.hh,
	* make/influence_zone_graph.hh,
	* postprocessing/all.hh,
	* postprocessing/fill_object_holes.hh,
	* preprocessing/all.hh,
	* preprocessing/crop.hh,
	* preprocessing/crop_without_localization.hh,
	* preprocessing/denoise.hh,
	* preprocessing/denoise_bg.hh,
	* preprocessing/denoise_fg.hh,
	* preprocessing/deskew.hh,
	* preprocessing/deskew_crop.hh,
	* preprocessing/homogeneous_contrast.hh,
	* preprocessing/rotate_90.hh,
	* preprocessing/split_bg_fg.hh,
	* primitive/all.hh,
	* primitive/extract/all.hh,
	* primitive/extract/canvas.hh,
	* primitive/extract/cells.hh,
	* primitive/extract/components.hh,
	* primitive/extract/horizontal_separators.hh,
	* primitive/extract/lines_discontinued.hh,
	* primitive/extract/lines_h_discontinued.hh,
	* primitive/extract/lines_h_pattern.hh,
	* primitive/extract/lines_h_single.hh,
	* primitive/extract/lines_h_thick.hh,
	* primitive/extract/lines_h_thick_and_single.hh,
	* primitive/extract/lines_pattern.hh,
	* primitive/extract/lines_thick.hh,
	* primitive/extract/lines_v_discontinued.hh,
	* primitive/extract/lines_v_pattern.hh,
	* primitive/extract/lines_v_single.hh,
	* primitive/extract/lines_v_thick.hh,
	* primitive/extract/lines_v_thick_and_single.hh,
	* primitive/extract/separators.hh,
	* primitive/extract/vertical_separators.hh,
	* primitive/group/all.hh,
	* primitive/group/apply.hh,
	* primitive/group/from_double_link.hh,
	* primitive/group/from_graph.hh,
	* primitive/group/from_single_link.hh,
	* primitive/internal/all.hh,
	* primitive/internal/find_graph_link.hh,
	* primitive/internal/find_root.hh,
	* primitive/internal/have_link_valid.hh,
	* primitive/internal/is_link_valid.hh,
	* primitive/internal/rd.hh,
	* primitive/internal/update_graph_link.hh,
	* primitive/link/all.hh,
	* primitive/link/compute.hh,
	* primitive/link/compute_several.hh,
	* primitive/link/internal/compute_anchor.hh,
	* primitive/link/internal/dmax_default.hh,
	* primitive/link/internal/dmax_functor_base.hh,
	* primitive/link/internal/dmax_width_and_height.hh,
	* primitive/link/internal/dmax_width_only.hh,
	* primitive/link/internal/find_link.hh,
	* primitive/link/internal/find_several_links.hh,
	* primitive/link/internal/link_functor_base.hh,
	* primitive/link/internal/link_several_dmax_base.hh,
	* primitive/link/internal/link_single_dmax_base.hh,
	* primitive/link/internal/link_single_dmax_ratio_base.hh,
	* primitive/link/merge_double_link.hh,
	* primitive/link/with_graph.hh,
	* primitive/link/with_rag.hh,
	* primitive/link/with_several_graphes.hh,
	* primitive/link/with_several_left_links.hh,
	* primitive/link/with_several_right_closest_links.hh,
	* primitive/link/with_several_right_links.hh,
	* primitive/link/with_several_right_links_overlap.hh,
	* primitive/link/with_single_down_link.hh,
	* primitive/link/with_single_left_link.hh,
	* primitive/link/with_single_left_link_dmax_ratio.hh,
	* primitive/link/with_single_right_link.hh,
	* primitive/link/with_single_right_link_bottom.hh,
	* primitive/link/with_single_right_link_dmax_ratio.hh,
	* primitive/link/with_single_right_link_top.hh,
	* primitive/link/with_single_up_link.hh,
	* primitive/regroup/from_single_left_link.hh,
	* primitive/regroup/from_single_left_link_wrt_h_ratio.hh,
	* primitive/remove/separators.hh,
	* subsampling/bilinear.hh,
	* subsampling/integral.hh,
	* subsampling/integral_single_image.hh,
	* table/align_lines_horizontaly.hh,
	* table/align_lines_verticaly.hh,
	* table/all.hh,
	* table/connect_horizontal_lines.hh,
	* table/connect_vertical_lines.hh,
	* table/erase.hh,
	* table/extract.hh,
	* table/internal/align_lines.hh,
	* table/internal/all.hh,
	* table/internal/connect_lines.hh,
	* table/internal/repair_lines.hh,
	* table/rebuild.hh,
	* table/repair_horizontal_lines.hh,
	* table/repair_vertical_lines.hh,
	* text/all.hh,
	* text/clean.hh,
	* text/clean_inplace.hh,
	* text/extract_lines.hh,
	* text/look_like_text_lines.hh,
	* text/merging.hh,
	* text/recognition.hh,
	* toolchain/nepomuk/text_extraction.hh,
	* toolchain/text_in_doc.hh,
	* upsampling/bs2x.hh,
	* upsampling/eagle.hh: Move...

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
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
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
	* scribo/all.hh,
	* scribo/binarization/all.hh,
	* scribo/binarization/global_threshold.hh,
	* scribo/binarization/global_threshold_auto.hh,
	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/local_threshold.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_ms_split.hh,
	* scribo/binarization/sauvola_threshold_image.hh,
	* scribo/binarization/sauvola_threshold_image_debug.hh,
	* scribo/canvas/integral_browsing.hh,
	* scribo/convert/from_qimage.hh,
	* scribo/core/all.hh,
	* scribo/core/central_sites.hh,
	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh,
	* scribo/core/concept/dmax_functor.hh,
	* scribo/core/concept/link_functor.hh,
	* scribo/core/def/lbl_type.hh,
	* scribo/core/erase_objects.hh,
	* scribo/core/init_integral_image.hh,
	* scribo/core/line_info.hh,
	* scribo/core/line_set.hh,
	* scribo/core/macros.hh,
	* scribo/core/object_groups.hh,
	* scribo/core/object_links.hh,
	* scribo/core/tag/anchor.hh,
	* scribo/core/tag/component.hh,
	* scribo/core/tag/line.hh,
	* scribo/debug/alignment_decision_image.hh,
	* scribo/debug/all.hh,
	* scribo/debug/bboxes_enlarged_image.hh,
	* scribo/debug/char_space_image.hh,
	* scribo/debug/decision_image.hh,
	* scribo/debug/highlight_text_area.hh,
	* scribo/debug/line_info_image.hh,
	* scribo/debug/links_decision_image.hh,
	* scribo/debug/looks_like_a_text_line_image.hh,
	* scribo/debug/mean_and_base_lines_image.hh,
	* scribo/debug/save_bboxes_image.hh,
	* scribo/debug/save_comp_diff.hh,
	* scribo/debug/save_label_image.hh,
	* scribo/debug/save_linked_bboxes_image.hh,
	* scribo/debug/save_table_image.hh,
	* scribo/debug/several_links_decision_image.hh,
	* scribo/debug/text_areas_image.hh,
	* scribo/debug/usage.hh,
	* scribo/draw/all.hh,
	* scribo/draw/bounding_box_links.hh,
	* scribo/draw/bounding_boxes.hh,
	* scribo/draw/groups_bboxes.hh,
	* scribo/estim/object_groups_v_thickness.hh,
	* scribo/filter/all.hh,
	* scribo/filter/common/objects_photo.hh,
	* scribo/filter/internal/alignment_angle.hh,
	* scribo/filter/internal/component_aligned.hh,
	* scribo/filter/internal/compute.hh,
	* scribo/filter/object_groups_size_ratio.hh,
	* scribo/filter/object_groups_small.hh,
	* scribo/filter/object_groups_v_thickness.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/filter/object_links_bbox_h_ratio.hh,
	* scribo/filter/object_links_bbox_overlap.hh,
	* scribo/filter/object_links_bbox_ratio.hh,
	* scribo/filter/object_links_bbox_w_ratio.hh,
	* scribo/filter/object_links_bottom_aligned.hh,
	* scribo/filter/object_links_center_aligned.hh,
	* scribo/filter/object_links_left_aligned.hh,
	* scribo/filter/object_links_non_aligned_simple.hh,
	* scribo/filter/object_links_right_aligned.hh,
	* scribo/filter/object_links_top_aligned.hh,
	* scribo/filter/objects_h_thick.hh,
	* scribo/filter/objects_h_thin.hh,
	* scribo/filter/objects_large.hh,
	* scribo/filter/objects_size_ratio.hh,
	* scribo/filter/objects_small.hh,
	* scribo/filter/objects_thick.hh,
	* scribo/filter/objects_thin.hh,
	* scribo/filter/objects_v_thick.hh,
	* scribo/filter/objects_v_thin.hh,
	* scribo/filter/objects_with_holes.hh,
	* scribo/fun/v2b/label_to_bool.hh,
	* scribo/fun/v2b/objects_large_filter.hh,
	* scribo/fun/v2b/objects_small_filter.hh,
	* scribo/io/text_boxes/save.hh,
	* scribo/io/xml/save.hh,
	* scribo/make/all.hh,
	* scribo/make/debug_filename.hh,
	* scribo/make/influence_zone_graph.hh,
	* scribo/postprocessing/all.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/preprocessing/all.hh,
	* scribo/preprocessing/crop.hh,
	* scribo/preprocessing/crop_without_localization.hh,
	* scribo/preprocessing/denoise.hh,
	* scribo/preprocessing/denoise_bg.hh,
	* scribo/preprocessing/denoise_fg.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/preprocessing/deskew_crop.hh,
	* scribo/preprocessing/homogeneous_contrast.hh,
	* scribo/preprocessing/rotate_90.hh,
	* scribo/preprocessing/split_bg_fg.hh,
	* scribo/primitive/all.hh,
	* scribo/primitive/extract/all.hh,
	* scribo/primitive/extract/canvas.hh,
	* scribo/primitive/extract/cells.hh,
	* scribo/primitive/extract/components.hh,
	* scribo/primitive/extract/horizontal_separators.hh,
	* scribo/primitive/extract/lines_discontinued.hh,
	* scribo/primitive/extract/lines_h_discontinued.hh,
	* scribo/primitive/extract/lines_h_pattern.hh,
	* scribo/primitive/extract/lines_h_single.hh,
	* scribo/primitive/extract/lines_h_thick.hh,
	* scribo/primitive/extract/lines_h_thick_and_single.hh,
	* scribo/primitive/extract/lines_pattern.hh,
	* scribo/primitive/extract/lines_thick.hh,
	* scribo/primitive/extract/lines_v_discontinued.hh,
	* scribo/primitive/extract/lines_v_pattern.hh,
	* scribo/primitive/extract/lines_v_single.hh,
	* scribo/primitive/extract/lines_v_thick.hh,
	* scribo/primitive/extract/lines_v_thick_and_single.hh,
	* scribo/primitive/extract/separators.hh,
	* scribo/primitive/extract/vertical_separators.hh,
	* scribo/primitive/group/all.hh,
	* scribo/primitive/group/apply.hh,
	* scribo/primitive/group/from_double_link.hh,
	* scribo/primitive/group/from_graph.hh,
	* scribo/primitive/group/from_single_link.hh,
	* scribo/primitive/internal/all.hh,
	* scribo/primitive/internal/find_graph_link.hh,
	* scribo/primitive/internal/find_root.hh,
	* scribo/primitive/internal/have_link_valid.hh,
	* scribo/primitive/internal/is_link_valid.hh,
	* scribo/primitive/internal/rd.hh,
	* scribo/primitive/internal/update_graph_link.hh,
	* scribo/primitive/link/all.hh,
	* scribo/primitive/link/compute.hh,
	* scribo/primitive/link/compute_several.hh,
	* scribo/primitive/link/internal/compute_anchor.hh,
	* scribo/primitive/link/internal/dmax_default.hh,
	* scribo/primitive/link/internal/dmax_functor_base.hh,
	* scribo/primitive/link/internal/dmax_width_and_height.hh,
	* scribo/primitive/link/internal/dmax_width_only.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_graph.hh,
	* scribo/primitive/link/with_rag.hh,
	* scribo/primitive/link/with_several_graphes.hh,
	* scribo/primitive/link/with_several_left_links.hh,
	* scribo/primitive/link/with_several_right_closest_links.hh,
	* scribo/primitive/link/with_several_right_links.hh,
	* scribo/primitive/link/with_several_right_links_overlap.hh,
	* scribo/primitive/link/with_single_down_link.hh,
	* scribo/primitive/link/with_single_left_link.hh,
	* scribo/primitive/link/with_single_left_link_dmax_ratio.hh,
	* scribo/primitive/link/with_single_right_link.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,
	* scribo/primitive/link/with_single_up_link.hh,
	* scribo/primitive/regroup/from_single_left_link.hh,
	* scribo/primitive/regroup/from_single_left_link_wrt_h_ratio.hh,
	* scribo/primitive/remove/separators.hh,
	* scribo/subsampling/bilinear.hh,
	* scribo/subsampling/integral.hh,
	* scribo/subsampling/integral_single_image.hh,
	* scribo/table/align_lines_horizontaly.hh,
	* scribo/table/align_lines_verticaly.hh,
	* scribo/table/all.hh,
	* scribo/table/connect_horizontal_lines.hh,
	* scribo/table/connect_vertical_lines.hh,
	* scribo/table/erase.hh,
	* scribo/table/extract.hh,
	* scribo/table/internal/align_lines.hh,
	* scribo/table/internal/all.hh,
	* scribo/table/internal/connect_lines.hh,
	* scribo/table/internal/repair_lines.hh,
	* scribo/table/rebuild.hh,
	* scribo/table/repair_horizontal_lines.hh,
	* scribo/table/repair_vertical_lines.hh,
	* scribo/text/all.hh,
	* scribo/text/clean.hh,
	* scribo/text/clean_inplace.hh,
	* scribo/text/extract_lines.hh,
	* scribo/text/look_like_text_lines.hh,
	* scribo/text/merging.hh,
	* scribo/text/recognition.hh,
	* scribo/toolchain/nepomuk/text_extraction.hh,
	* scribo/toolchain/text_in_doc.hh,
	* scribo/upsampling/bs2x.hh,
500
	* scribo/upsampling/eagle.hh: ... here.
501

502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Setup conditional unit-tests in Scribo.

	* tests/tests.mk: Add specific flags for external dependencies.

	* tests/unit_test/Makefile.am
	(EXTRA_DIST): Add const_tests_* files.
	(regen-am): Use build-aux/build_unit_test.sh.
	(scribo_*FLAGS): Remove specific flags for conditional unit-tests.

	* tests/unit_test/build_unit_test.sh: Remove. Useless since
	build-aux/build_unit_test.sh is used instead.

	* tests/unit_test/cond_tests_qt,
	* tests/unit_test/cond_tests_qt_tesseract_tiff,
	* tests/unit_test/cond_tests_tesseract_tiff: New.

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

522
523
524
525
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/unit_test/disabled_tests: Update list of disabled tests.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
526
527
528
529
530
531
532
533
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new rotation tool.

	* src/preprocessing/Makefile.am: Add a new target.

	* src/preprocessing/rotate.cc: New.

534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Remove deprecated references to object_image.

	* core/object_image.hh: Remove.

	* filter/object_groups_size_ratio.hh,
	* filter/object_links_bbox_w_ratio.hh,
	* filter/object_links_left_aligned.hh,
	* filter/object_links_right_aligned.hh,
	* primitive/extract/lines_h_thick_and_single.hh,
	* primitive/extract/lines_v_thick_and_single.hh,
	* primitive/link/internal/find_several_links.hh,
	* primitive/link/internal/link_several_dmax_base.hh,
	* primitive/link/with_single_up_link.hh,
	* src/debug/show_links_left_right_links_validation.cc,
	* src/primitive/find/find_discontinued_lines.cc,
	* src/primitive/find/find_pattern_lines.cc,
	* tests/filter/small_and_large_bboxes.cc,
	* src/primitive/group/group_from_double_link_filter_non_aligned.cc:
	Remove include of object_image.hh.

556
557
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
558
559
560
561
562
	Cleanup Makefiles.

	* src/Makefile.am: Disable tests and remove deprecated ones.

	* src/preprocessing/Makefile.am: Use MAGICKXX_* flags.
563

Guillaume Lazzara's avatar
Guillaume Lazzara committed
564
565
566
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Cleanup and improve text recognition.
567

Guillaume Lazzara's avatar
Guillaume Lazzara committed
568
569
570
	* src/text_recognition_in_picture.cc: Use new routines. Cleanup
	useless comments. Use a height ratio filter to improve OCR
	results.
571

572
573
574
575
576
577
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Cleanup and make use of the new routines.

	* src/text_in_picture.cc: Here.

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

	Make use of the new component_set interface.

	* filter/internal/compute.hh,
	* filter/objects_small.hh,
	* filter/objects_thick.hh,
	* filter/objects_thin.hh,
	* primitive/group/from_double_link.hh,
	* primitive/link/compute_several.hh,
	* table/align_lines_horizontaly.hh,
	* table/erase.hh,
	* table/extract.hh: Here.

592
593
594
595
596
597
598
599
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
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix compilation of Scribo tools.

	* src/debug/show_links_bbox_overlap.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_down.cc,
	* src/debug/show_links_single_down_left_aligned.cc,
	* src/debug/show_links_single_down_right_aligned.cc,
	* src/debug/show_links_single_left.cc,
	* src/debug/show_links_single_left_dmax_ratio.cc,
	* src/debug/show_links_single_right.cc,
	* src/debug/show_links_single_right_dmax_ratio.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/debug/show_objects_large.cc,
	* src/debug/show_objects_large_small.cc,
	* src/debug/show_objects_small.cc,
	* src/debug/show_objects_thick.cc,
	* src/debug/show_objects_thin.cc,
	* src/filter/objects_large.cc,
	* src/filter/objects_small.cc,
	* src/filter/objects_thick.cc,
	* src/filter/objects_thin.cc,
	* src/filter/objects_with_holes.cc,
	* src/filter/objects_with_holes_pgm.cc,
	* src/preprocessing/preprocess.cc,
	* src/preprocessing/split_bg_fg.cc,
	* src/preprocessing/unskew.cc,
	* 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/find_discontinued_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_several_links.cc,
	* src/primitive/group/group_from_several_left_links.cc,
	* src/primitive/group/group_from_single_link.cc,
	* src/table/erase.cc,
	* src/text/cleantxt.cc: Here.

642
643
644
645
646
647
648
649
650
651
652
653
654
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Catch up with the current interface of scribo::debug::usage.

	* src/debug/show_links_bottom_aligned.cc,
	* src/debug/show_links_top_aligned.cc,
	* src/misc/negate.cc,
	* src/misc/superpose.cc,
	* src/preprocessing/rotate_90.cc,
	* src/primitive/extract/lines_pattern.cc,
	* src/primitive/find/find_pattern_lines.cc,
	* src/table/extract.cc: Here.

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
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Replace the use of object_image with component_set.

	* core/erase_objects.hh,
	* debug/several_links_decision_image.hh,
	* filter/object_groups_size_ratio.hh,
	* filter/object_links_bbox_w_ratio.hh,
	* filter/object_links_center_aligned.hh,
	* filter/object_links_left_aligned.hh,
	* filter/object_links_right_aligned.hh,
	* filter/objects_h_thick.hh,
	* filter/objects_h_thin.hh,
	* filter/objects_size_ratio.hh,
	* filter/objects_v_thick.hh,
	* filter/objects_v_thin.hh,
	* primitive/extract/lines_h_thick_and_single.hh,
	* primitive/extract/lines_v_thick_and_single.hh,
	* primitive/group/from_graph.hh,
	* primitive/internal/find_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_closest_links.hh,
	* primitive/link/with_several_right_links.hh,
	* primitive/link/with_single_down_link.hh,
	* primitive/link/with_single_up_link.hh: Replace the use of
	object_image with component_set.

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

	Small fixes in Scribo.

	* core/component_info.hh (is_valid): Check the bounding box
	validity.

	* core/macros.hh: Add a new macro.

	* debug/decision_image.hh: Remove deprecated preconditions and add
	missing includes.

	* draw/bounding_boxes.hh: Check the component validity.

	* filter/object_links_non_aligned_simple.hh: Update doc.

	* filter/objects_with_holes.hh: Remove debug and timers. Add
	missing includes.

	* primitive/extract/lines_pattern.hh: Use the window template
	parameter instead of an exact window type.

	* primitive/link/internal/find_several_links.hh: Update code with
	new interfaces.

	* primitive/link/internal/link_functor_base.hh
	(nanchors()): Remove this method.
	(labeled_image()): Add a const version.

	* primitive/link/internal/link_several_dmax_base.hh
	(nanchors(), anchors()): New methods.
	Introduce 'direction_' attribute.

	* debug/several_links_decision_image.hh: Remove deprecated
	preconditions.

	* src/debug/show_links_single_left.cc: Update include.

	* table/internal/align_lines.hh,
	* table/rebuild.hh: Make use of component_set structure.

	* debug/text_areas_image.hh,
	* primitive/regroup/from_single_left_link_wrt_h_ratio.hh: Add
	missing includes.

	* src/contest/hdibco-2010/Makefile.am: Do not consider this tool
	as a test anymore.

733
734
735
736
737
738
739
740
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Add missing includes and headers in AFP's dedicated code.

	* src/afp/components.hh,
	* src/afp/link.hh,
	* src/afp/regroup.hh: Add missing includes and headers.

741
742
743
744
745
746
747
748
749
750
751
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new routines in Scribo.

	* debug/highlight_text_area.hh,
	* debug/save_bboxes_image.hh: Add a new overload.

	* debug/save_comp_diff.hh,
	* debug/text_areas_image.hh,
	* primitive/regroup/from_single_left_link_wrt_h_ratio.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
752
753
754
755
756
757
758
759
760
761
762
763
764
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Remove deprecated files.

	* core/internal/link_functor_base.hh,
	* debug/save_object_diff.hh,
	* make/text.hh,
	* primitive/internal/update_link_array.hh,
	* primitive/link/internal/anchors_3.hh,
	* primitive/link/internal/link_ms_dmax_base.hh,
	* primitive/link/internal/link_ms_dmax_ratio_base.hh,
	* src/pbm_lines_in_doc.cc: Remove.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix many tests in Scribo.

	* all.hh,
	* binarization/all.hh,
	* binarization/internal/first_pass_functor.hh,
	* convert/from_qimage.hh,
	* core/tag/component.hh,
	* core/tag/line.hh,
	* debug/links_decision_image.hh,
	* debug/mean_and_base_lines_image.hh,
	* filter/object_groups_with_holes.hh,
	* io/xml/save.hh,
	* make/all.hh,
	* postprocessing/all.hh,
	* postprocessing/fill_object_holes.hh,
	* preprocessing/all.hh,
	* preprocessing/crop_without_localization.hh,
	* preprocessing/denoise_bg.hh,
	* preprocessing/denoise_fg.hh,
	* preprocessing/deskew.hh,
	* preprocessing/deskew_crop.hh,
	* preprocessing/split_bg_fg.hh,
	* primitive/extract/all.hh,
	* primitive/extract/lines_h_single.hh,
	* primitive/extract/lines_pattern.hh,
	* primitive/extract/lines_v_single.hh,
	* primitive/group/all.hh,
	* primitive/internal/all.hh,
	* primitive/internal/is_link_valid.hh,
	* primitive/link/all.hh,
	* primitive/link/internal/compute_anchor.hh,
	* primitive/link/internal/dmax_functor_base.hh,
	* primitive/regroup/from_single_left_link.hh,
	* primitive/remove/separators.hh,
	* subsampling/bilinear.hh,
	* text/merging.hh,
	* toolchain/nepomuk/text_extraction.hh,
	* upsampling/eagle.hh: Add missing headers in order to fix
	unit-tests.

	* tests/Makefile.am: Disable "table" directory's tests.

	* tests/core/Makefile.am: Remove object_image test.

	* tests/core/object_image.cc: Remove. Deprecated.

	* tests/filter/objects_with_holes.cc,
	* tests/filter/small_and_large_bboxes.cc: Write a real test.

	* tests/unit_test/Makefile.am: Add specific flags for unit-tests
	using tesseract and image magick.

819
820
821
822
823
824
825
826
827
828
829
2010-07-21  Roland Levillain  <roland@lrde.epita.fr>

	Have Tesseract-related parts of Scribo compile again.

	* scribo/debug/bboxes_enlarged_image.hh,
	* scribo/debug/looks_like_a_text_line_image.hh,
	* scribo/debug/mean_and_base_lines_image.hh,
	* scribo/debug/save_bboxes_image.hh:
	Catch up with scribo::line_info<L>'s current interface.
	Reported by Olivier Grisel <ogrisel@nuxeo.com>.

830
831
832
833
834
2010-08-04  Guillaume Lazzara  <z@lrde.epita.fr>

	* core/component_set.hh: Add a new internal member
	valid_comps_image_().

835
836
837
838
839
840
2010-08-04  Guillaume Lazzara  <z@lrde.epita.fr>

	* filter/object_groups_with_holes.hh: Fix an invalid mismatch
	between groups ids and their related component ids and add more
	comments.

841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
2010-07-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Compilation related fixes in Scribo.

	* core/line_info.hh: Rename hidden as is_hidden.

	* core/object_links.hh: Add duplicate().

	* filter/object_links_bbox_ratio.hh: Use object_links::duplicate.

	* debug/links_decision_image.hh,
	* src/debug/show_info_median_inter_characters.cc,
	* src/debug/show_info_x_height.cc,
	* src/debug/show_links_bbox_h_ratio.cc,
	* src/debug/show_links_left_right_links_validation.cc: Make
	compile again.

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

	* text/extract_lines.hh: Update with latest changes.

	* text/recognition.hh: Check whether a line is hidden or not.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
864
865
866
867
868
869
870
2010-07-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new debug routines.

	* debug/char_space_image.hh,
	* debug/line_info_image.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
871
872
873
874
875
876
877
2010-07-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Disable some debug output.

	* text/clean_inplace.hh,
	* text/recognition.hh: Disable some debug output.

878
879
880
881
2010-07-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a tool for text recognition in natural pictures.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
882
	* src/Makefile.am: Add a new rule.
883

Guillaume Lazzara's avatar
Guillaume Lazzara committed
884
	* src/text_recognition_in_picture.cc: New.
885

886
887
888
889
2010-07-06  Guillaume Lazzara  <z@lrde.epita.fr>

	Add text::look_like_text_lines.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
890
	* text/look_like_text_lines.hh: New.
891

Guillaume Lazzara's avatar
Guillaume Lazzara committed
892
	* text/merging.hh: Make use of
893
894
	text::look_like_text_lines.

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

	Extended XML mode support.
898

899
	* scribo/demo/viewer/Makefile.am
900

901
902
	* demo/viewer/image_region.cc,
	* viewer/image_region.hh,
903
904
905
	* viewer/image_region.hxx: Change regions depths to have a
	hierarchy.

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

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

913
	* demo/viewer/viewer.cc,
914
915
	* demo/viewer/viewer.hh: Change XML parsing to support extended
	format.
916

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

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

	New features in Qt interface.
922

923
	* demo/viewer/browser_widget.hh: Improve picture browser.
924
925
926

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

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

	Change XML output (replacement of html markups).
931

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
934
935
936
937
938
939
940
941
942
943
2010-06-29  Guillaume Lazzara  <z@lrde.epita.fr>

	Add text::clean_inplace.

	* text/clean.hh: Make use of text::clean_inplace.

	* text/clean_inplace.hh: New.

	* text/recognition.hh: Include text::clean_inplace.

944
945
946
947
948
949
950
951
2010-06-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Small Fixes in Scribo build system.

	* demo/Makefile.am: Enabled demos only if QT is configured.

	* src/Makefile.am: Make use of MAGICKCXX flags.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
952
953
954
955
956
957
958
959
960
2010-06-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve text recognition.

	* text/clean.hh: Use upsampling::eagle.

	* text/recognition.hh: Make sure there is a border around the
	text even after having resized images.

961
962
963
964
2010-06-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* binarization/sauvola_ms.hh: Fix an invalid test.

965
966
967
968
2010-06-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* upsampling/eagle.hh: Add a new upsampling algorithm.

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

	Add extensions to ICDAR XML format.
972

973
974
	* io/xml/save_text_lines.hh: Rename as...
	* io/xml/save.hh: ...this.
975
976

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

978
979
980
981
982
983
984
2010-06-18  green  <jacquelet@lrde.epita.fr>

	Prepare green's sandbox.

	* sandbox: New experimental directory.
	* sandbox/green: New green'work.
	* sandbox/green/ChangeLog: New ChangeLog file.
985

Guillaume Lazzara's avatar
Guillaume Lazzara committed
986
987
988
989
990
991
992
993
994
995
996
997
2010-06-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* debug/save_linked_bboxes_image.hh: Fix namespace ambiguity.

	* src/pbm_text_in_doc.cc: Fix comment.

	* src/text_in_picture: Change few settings.

	* text/recognition.hh: Fix invalid default arguments.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
998
999
1000
2010-06-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Remove deprecated code.