ChangeLog 77.3 KB
Newer Older
1
2
3
4
2010-05-04  Guillaume Lazzara  <z@lrde.epita.fr>

	* text/merging.hh: Disable some debug.

5
6
7
8
2010-05-04  Guillaume Lazzara  <z@lrde.epita.fr>

	Prepare DIA tools for Nuxeo/XWiki.

9
	* src/Makefile.am: Add a new target.
10

11
	* src/text_in_article_preprocess.cc: New.
12

13
14
	* src/text_in_article_pbm.cc: Add optional cropping and makes the
	debug optionnal.
15

16
	* text/clean.hh: Improve cleanup.
17

18
	* text/recognition.hh: Remove last '\n' in Tesseract's output.
19

Guillaume Lazzara's avatar
Guillaume Lazzara committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
2010-04-30  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve OCR recognition.

	* src/text_in_article_pbm.cc: Update call to text::recognition.

	* text/clean.hh: Resize text lines according to their x_height.

	* text/extract_lines.hh: Update call to extract::components.

	* text/merging.hh: Remove Debug.

	* text/recognition.hh: Update call to text::clean and do
	recognition only on lines considered as text.

	* subsampling/bilinear.hh,
	* upsampling/bs2x.hh: New.

38
39
40
41
2010-04-30  Guillaume Lazzara  <z@lrde.epita.fr>

	* postprocessing/fill_object_holes.hh: New routine.

42
43
44
45
2010-04-30  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new routines to detect separators.

46
47
48
49
	* primitive/extract/horizontal_separators.hh,
	* primitive/extract/separators.hh,
	* primitive/extract/vertical_separators.hh,
	* primitive/remove/separators.hh: New.
50

51
52
53
54
55
56
2010-04-30  Guillaume Lazzara  <z@lrde.epita.fr>

	Add A first draft of a README in Scribo.

	* README: New.

57
58
59
60
2010-04-30  Guillaume Lazzara  <z@lrde.epita.fr>

	Move AFP's GUI into Scribo's demo directory.

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
	* ../milena/sandbox/lazzara/afp/photos/gui/gui.pro,
	* ../milena/sandbox/lazzara/afp/photos/gui/gui.qrc,
	* ../milena/sandbox/lazzara/afp/photos/gui/icons/next.png,
	* ../milena/sandbox/lazzara/afp/photos/gui/icons/ok.png,
	* ../milena/sandbox/lazzara/afp/photos/gui/icons/photos.png,
	* ../milena/sandbox/lazzara/afp/photos/gui/icons/prev.png,
	* ../milena/sandbox/lazzara/afp/photos/gui/icons/remove.png,
	* ../milena/sandbox/lazzara/afp/photos/gui/src/custom_delegate.cc,
	* ../milena/sandbox/lazzara/afp/photos/gui/src/custom_delegate.hh,
	* ../milena/sandbox/lazzara/afp/photos/gui/src/launch_dialog.cc,
	* ../milena/sandbox/lazzara/afp/photos/gui/src/launch_dialog.hh,
	* ../milena/sandbox/lazzara/afp/photos/gui/src/main.cc,
	* ../milena/sandbox/lazzara/afp/photos/gui/src/main_window.cc,
	* ../milena/sandbox/lazzara/afp/photos/gui/src/main_window.hh,
	* ../milena/sandbox/lazzara/afp/photos/gui/ui/launch_dialog.ui,
	* ../milena/sandbox/lazzara/afp/photos/gui/ui/main_window.ui: Move...

	* demo/tip/gui.pro,
	* demo/tip/gui.qrc,
	* demo/tip/icons/next.png,
	* demo/tip/icons/ok.png,
	* demo/tip/icons/photos.png,
	* demo/tip/icons/prev.png,
	* demo/tip/icons/remove.png,
	* demo/tip/src/custom_delegate.cc,
	* demo/tip/src/custom_delegate.hh,
	* demo/tip/src/launch_dialog.cc,
	* demo/tip/src/launch_dialog.hh,
	* demo/tip/src/main.cc,
	* demo/tip/src/main_window.cc,
	* demo/tip/src/main_window.hh,
	* demo/tip/ui/launch_dialog.ui,
	* demo/tip/ui/main_window.ui: ... here.
94

95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
2010-04-30  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce dmax_functor concept.

	* core/concept/dmax_functor.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: New.

	* primitive/link/internal/link_single_dmax_ratio_base.hh,
	* primitive/link/with_single_left_link_dmax_ratio.hh,
	* primitive/link/with_single_right_link_dmax_ratio.hh: Make use of
	the new functors.

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

	Small fixes in Scribo.

	* binarization/sauvola_ms.hh,
	* binarization/sauvola_threshold_image_debug.hh: Update prototypes.

	* primitive/internal/rd.hh,
	* primitive/group/apply.hh,
	* debug/save_bboxes_image.hh: Add missing mln:: namespace prefix.

	* filter/objects_large.hh: Split into a routine and a functor.

	* fun/v2b/objects_large_filter.hh: New.

	* io/xml/save_text_lines.hh: Save line type.

	* table/internal/repair_lines.hh,
	* table/internal/align_lines.hh,
	* make/text.hh: Update macro name.

	* core/erase_objects.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_thick.hh,
	* primitive/extract/lines_v_discontinued.hh,
	* primitive/extract/lines_v_single.hh,
	* primitive/extract/lines_v_thick.hh,
	* primitive/group/from_graph.hh,
	* primitive/internal/find_graph_link.hh,
	* primitive/link/with_graph.hh,
	* primitive/link/with_several_graphes.hh,
	* primitive/link/with_several_left_links.hh,
	* primitive/link/with_several_right_links.hh,
	* table/erase.hh,
	* table/extract.hh: Remove any references to object_image.

	* table/internal/connect_lines.hh: use
	influence_zone_geodesic_saturated

	* filter/objects_small.hh: Duplicate component set.

	* primitive/internal/all.hh,
	* primitive/extract/all.hh,
	* filter/all.hh,
	* core/all.hh: Remove non existing includes.

	* core/macros.hh: New macro.

	* core/line_info.hh: Fix stats.

	* filter/object_links_non_aligned.hh,
	* filter/object_links_non_h_aligned.hh,
	* filter/object_links_non_v_aligned.hh: Removed.

168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
2010-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve dematerialization wizard.

	* demo/wizard/src/crop_widget.cc,
	* demo/wizard/src/main.cc,
	* demo/wizard/src/main_window.cc,
	* demo/wizard/src/main_window.hh,
	* demo/wizard/src/preprocessing_widget.cc,
	* demo/wizard/src/process_page.cc,
	* demo/wizard/src/result_page.cc,
	* demo/wizard/src/result_page.hh,
	* demo/wizard/src/result_widget.cc,
	* demo/wizard/src/result_widget.hh,
	* demo/wizard/src/runner.cc,
	* demo/wizard/ui/preprocessing_widget.ui,
	* demo/wizard/wizard.pro: Add support for text recognition and
	display results.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
2010-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new demo in Scribo.

	* demo/demat/demat.pro,
	* demo/demat/demat.qrc,
	* demo/demat/src/doc_type.hh,
	* demo/demat/src/main.cc,
	* demo/demat/src/main_window.cc,
	* demo/demat/src/main_window.hh,
	* demo/demat/src/mln_widgets.cc,
	* demo/demat/src/preprocessing_task.hh,
	* demo/demat/src/process_args.hh,
	* demo/demat/src/runner.cc,
	* demo/demat/src/runner.hh,
	* demo/demat/ui/main_window.ui: New.

	* demo/shared/src/crop_item.cc,
	* demo/shared/src/crop_item.hh,
	* demo/shared/src/image_viewer.cc,
	* demo/shared/src/image_viewer.hh,
	* demo/shared/ui/image_viewer.ui: Update according the needs of
	this new demo.

211
212
213
214
2010-04-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* io/xml/save_text_lines.hh: Fix XML output.

215
216
217
218
2010-04-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* debug/decision_image.hh: Add the anchor::Type as argument.

219
220
221
222
223
224
225
226
227
228
229
230
231
232
2010-04-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Use anchor::Type in alignment routines' dispatch.

	* 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: Use anchor::Type.

	* filter/internal/alignment_angle.hh,
	* filter/internal/component_aligned.hh: New.

233
234
235
236
237
238
239
240
2010-04-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes related to object_groups.

	* core/object_groups.hh: Add more preconditions.

	* filter/object_groups_small.hh: Call duplicate().

241
242
2010-04-13  Guillaume Lazzara  <z@lrde.epita.fr>

243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
	Add init() member to object_links structure.

	* core/object_links.hh: New init() member.

	* filter/object_groups_v_thickness.hh,
	* filter/object_groups_with_holes.hh,
	* primitive/group/from_double_link.hh,
	* primitive/link/internal/link_functor_base.hh,
	* primitive/link/merge_double_link.hh,
	* src/afp/link.hh,
	* src/afp/regroup.hh: Call init() on object_links instances.

	* primitive/internal/init_link_array.hh: Remove.

2010-04-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/text_in_photo_fast.cc: Group routine parameters in a global
	structure.
261

262
263
264
265
2010-04-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new Sauvola overloads and update examples.

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
	* 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,
	* canvas/integral_browsing.hh: Add more parameters to Sauvola
	routines.

	* binarization/sauvola_threshold_image_debug.hh: New. New overload
	providing debug outputs.

	* debug/usage.hh: Remove a parameter.

	* src/binarization/Makefile.am,
	* src/binarization/pgm_global_threshold_auto.cc,
	* src/binarization/pgm_sauvola.cc,
	* src/binarization/pgm_sauvola_ms.cc,
	* src/binarization/ppm_fg_sauvola_ms.cc,
	* src/binarization/ppm_sauvola.cc,
	* src/binarization/ppm_sauvola_ms.cc,
	* src/binarization/ppm_sauvola_ms_split.cc: Add new program
	  arguments.

	* src/binarization/fg_sauvola_ms.cc,
        * src/binarization/sauvola.cc,
        * src/binarization/sauvola_ms.cc,
        * src/binarization/sauvola_ms_split.cc,
	* src/binarization/sauvola_debug.cc: New.
295

296
297
298
299
300
301
302
303
304
2010-03-29  Guillaume Lazzara  <z@lrde.epita.fr>

	Add support for various image types in text_in_photo_fast.

	* src/Makefile.am: Add ImageMagick CPPFLAGS and LDFLAGS.

	* src/text_in_photo_ppm_fast.cc: Rename as...
	* src/text_in_photo_fast.cc: ... this. Use ImageMagick to load images.

305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
2010-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve dematerialization wizard.

	* demo/wizard/src/crop_widget.cc,
	* demo/wizard/src/main.cc,
	* demo/wizard/src/main_window.cc,
	* demo/wizard/src/main_window.hh,
	* demo/wizard/src/preprocessing_widget.cc,
	* demo/wizard/src/process_page.cc,
	* demo/wizard/src/result_page.cc,
	* demo/wizard/src/result_page.hh,
	* demo/wizard/src/result_widget.cc,
	* demo/wizard/src/result_widget.hh,
	* demo/wizard/src/runner.cc,
	* demo/wizard/ui/preprocessing_widget.ui,
	* demo/wizard/wizard.pro: Add support for text recognition and
	display results.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
2010-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new demo in Scribo.

	* demo/demat/demat.pro,
	* demo/demat/demat.qrc,
	* demo/demat/src/doc_type.hh,
	* demo/demat/src/main.cc,
	* demo/demat/src/main_window.cc,
	* demo/demat/src/main_window.hh,
	* demo/demat/src/mln_widgets.cc,
	* demo/demat/src/preprocessing_task.hh,
	* demo/demat/src/process_args.hh,
	* demo/demat/src/runner.cc,
	* demo/demat/src/runner.hh,
	* demo/demat/ui/main_window.ui: New.

	* demo/shared/src/crop_item.cc,
	* demo/shared/src/crop_item.hh,
	* demo/shared/src/image_viewer.cc,
	* demo/shared/src/image_viewer.hh,
	* demo/shared/ui/image_viewer.ui: Update according the needs of
	this new demo.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
2010-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* binarization/sauvola_ms.hh: Fix compilation issues on MacOS X.

	* core/component_set.hh: Add labeled_image_() member.

	* debug/save_bboxes_image.hh: Add a missing include.

	* preprocessing/split_bg_fg.hh,
	* primitive/extract/components.hh: Fix namespace ambiguities.

	* src/text_in_article.cc: Rename as...
	* src/text_in_article_pbm.cc: ... this.

	* src/Makefile.am: Update source file names.

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

	Cleanup binarization tools.

	* binarization/binarize.hh,
	* binarization/simple.hh,
	* binarization/sauvola_threshold.hh,
	* src/binarization/simple.cc,
	* src/binarization/sauvola_pgm.cc,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola.cc: Rename as...


	* binarization/local_threshold.hh,
	* binarization/global_threshold_auto.hh,
	* binarization/sauvola_threshold_image.hh,
	* src/binarization/pgm_global_threshold_auto.cc,
	* src/binarization/pgm_sauvola.cc,
	* src/binarization/pgm_sauvola_ms.cc,
	* src/binarization/ppm_sauvola.cc: ... this.

	* binarization/global_threshold.hh,
	* binarization/sauvola_ms_split.hh,
	* src/binarization/ppm_fg_sauvola_ms.cc,
	* src/binarization/ppm_sauvola_ms.cc,
	* src/binarization/ppm_sauvola_ms_split.cc: New.

	* binarization/internal/first_pass_functor.hh: Fix an include.

	* binarization/sauvola.hh: Update code according to last renaming.

	* binarization/sauvola_ms.hh: Invert threshold test and add
	documentation.

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

	* tests/Makefile.am,
	* tests/binarization/Makefile.am,
	* tests/binarization/global_threshold.cc,
	* tests/binarization/local_threshold.cc: New tests.

407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
2010-03-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Update AFP's toolchain according to last changes in core classes.

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

	* primitive/group/apply.hh: Preserve components ids.

	* draw/groups_bboxes.hh,
	* filter/object_groups_with_holes.hh,
	* primitive/regroup/from_single_left_link.hh: New.

	* src/text_in_photo_ppm_fast.cc: Make it work with the new core
	classes. Fix component ids issues when relabeling.

422
423
424
425
426
427
428
429
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example for finding text in pictures.

	* src/Makefile.am: Add new target.

	* src/text_in_photo_pbm_fast.cc: New.

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
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	First draft of the dematerialization wizard.

	* demo/shared/icons/Symbols-Delete-icon.png,
	* demo/shared/icons/accept-icon.png,
	* demo/shared/icons/close.gif,
	* demo/shared/icons/crop-icon.png,
	* demo/shared/icons/image-add-icon.png,
	* demo/shared/icons/image-edit-icon.png,
	* demo/shared/icons/image-multi-icon.png,
	* demo/shared/icons/image-next-icon.png,
	* demo/shared/icons/image-remove-icon.png,
	* demo/shared/icons/next-icon.png,
	* demo/shared/icons/page-down-icon.png,
	* demo/shared/icons/page-search-icon.png,
	* demo/shared/icons/rotate_ccw.png,
	* demo/shared/icons/rotate_cw.png,
	* demo/shared/icons/search-add-icon.png,
	* demo/shared/icons/search-remove-icon.png,
	* demo/shared/shared.qrc,
	* demo/shared/src/bak/crop_item.cc,
	* demo/shared/src/bak/crop_item.hh,
	* demo/shared/src/bak/image_viewer.cc,
	* demo/shared/src/bak/image_viewer.hh,
	* demo/shared/src/bak/types.hh,
	* demo/shared/src/browse_widget.cc,
	* demo/shared/src/browse_widget.hh,
	* demo/shared/src/crop_item.cc,
	* demo/shared/src/crop_item.hh,
	* demo/shared/src/image_viewer.cc,
	* demo/shared/src/image_viewer.hh,
	* demo/shared/src/internal.bak/interactive_scene.cc,
	* demo/shared/src/internal.bak/interactive_scene.hh,
	* demo/shared/src/internal.bak/selection_rectangle.cc,
	* demo/shared/src/internal.bak/selection_rectangle.hh,
	* demo/shared/src/internal/interactive_scene.cc,
	* demo/shared/src/internal/interactive_scene.hh,
	* demo/shared/src/internal/selection_rectangle.cc,
	* demo/shared/src/internal/selection_rectangle.hh,
	* demo/shared/src/to_mln_image.hh,
	* demo/shared/src/types.hh,
	* demo/shared/ui/browse_widget.ui,
	* demo/shared/ui/crop_widget.ui,
	* demo/shared/ui/image_viewer.ui,
	* demo/shared/ui/interactive_scene.cc,
	* demo/shared/ui/interactive_scene.hh,
	* demo/shared/ui/rotate_widget.ui,
	* demo/wizard/images/dematerialization.png,
	* demo/wizard/src/crop_page.cc,
	* demo/wizard/src/crop_page.hh,
	* demo/wizard/src/crop_widget.cc,
	* demo/wizard/src/crop_widget.hh,
	* demo/wizard/src/doc_type.hh,
	* demo/wizard/src/doc_type_page.cc,
	* demo/wizard/src/doc_type_page.hh,
	* demo/wizard/src/doc_type_widget.cc,
	* demo/wizard/src/doc_type_widget.hh,
	* demo/wizard/src/load_page.cc,
	* demo/wizard/src/load_page.hh,
	* demo/wizard/src/load_widget.cc,
	* demo/wizard/src/load_widget.hh,
	* demo/wizard/src/main.cc,
	* demo/wizard/src/main_window.cc,
	* demo/wizard/src/main_window.hh,
	* demo/wizard/src/mln_widgets.cc,
	* demo/wizard/src/preprocessing_page.cc,
	* demo/wizard/src/preprocessing_page.hh,
	* demo/wizard/src/preprocessing_task.hh,
	* demo/wizard/src/preprocessing_widget.cc,
	* demo/wizard/src/preprocessing_widget.hh,
	* demo/wizard/src/process_page.cc,
	* demo/wizard/src/process_page.hh,
	* demo/wizard/src/process_widget.cc,
	* demo/wizard/src/process_widget.hh,
	* demo/wizard/src/rotate_page.cc,
	* demo/wizard/src/rotate_page.hh,
	* demo/wizard/src/rotate_widget.cc,
	* demo/wizard/src/rotate_widget.hh,
	* demo/wizard/src/runner.cc,
	* demo/wizard/src/runner.hh,
	* demo/wizard/src/test.cc,
	* demo/wizard/ui/doc_type_widget.ui,
	* demo/wizard/ui/load_widget.ui,
	* demo/wizard/ui/main_window.ui,
	* demo/wizard/ui/preprocessing_widget.ui,
	* demo/wizard/wizard.pro,
	* demo/wizard/wizard.qrc: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Update examples.

	* src/text_in_photo_ppm_fast.cc,
	* src/debug/show_links_bottom_aligned.cc,
	* src/debug/show_links_top_aligned.cc: Update calls to routines.

	* src/preprocessing/trash.cc,
	* src/text_in_photo_ppm_fast_2.cc,
	* src/preprocessing/split_bg_fg_ms.cc,
	* src/preprocessing/denoising.cc: Removed.

	* src/preprocessing/denoise.cc,
	* src/preprocessing/homogeneous_contrast.ccm,
	* src/preprocessing/subsample.cc: New.

	* src/preprocessing/Makefile.am: Add new files as target.

	* src/preprocessing/split_bg_fg.cc: Fix usage.

	* src/text_in_article.cc: Update processing chain.

542
543
544
545
546
547
548
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve text line merging algorithm.

	* text/merging.hh: Change merge rules and improve integration with
	Scribo line structures.

549
550
551
552
553
554
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a reconstruction algorithm.

	* primitive/internal/rd.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* binarization/sauvola_ms.hh: Add a missing include.

	* binarization/sauvola_threshold.hh: Remove debug and useless
	comments.

	* preprocessing/unskew.hh: Fix invalid guards.

	* primitive/extract/components.hh: Fill image extension.

	* primitive/extract/lines_pattern.hh: Adjust and fill image
	extension.

	* primitive/extract/lines_v_thick.hh: Fix traces.

573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new preprocessing routines.

	* preprocessing/denoise.hh,
	* preprocessing/denoise_bg.hh,
	* preprocessing/denoise_fg.hh,
	* preprocessing/homogeneous_contrast.hh,
	* preprocessing/rotate_90.hh: New routines.

	* fun/v2b/label_to_bool.hh: New function.

	* tests/preprocessing/Makefile.am,
	* tests/preprocessing/rotate_90.cc: New test.

588
589
590
591
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
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Update code according to last changes in Scribo core classes.

	* draw/bounding_box_links.hh,
	* primitive/internal/init_link_array.hh,
	* primitive/internal/is_link_valid.hh,
	* primitive/link/internal/link_single_dmax_base.hh,
	* src/afp/link.hh: Update the use of object_link class.

	* draw/bounding_boxes.hh,
	* filter/objects_with_holes.hh,
	* src/afp/regroup.hh: Update for_all macro.

	* estim/object_groups_v_thickness.hh,
	* filter/object_groups_small.hh,
	* filter/object_groups_v_thickness.hh,
	* text/recognition.hh: Update access to component_set.

	* filter/object_links_bbox_h_ratio.hh,
	* filter/object_links_bbox_overlap.hh,
	* filter/object_links_bbox_ratio.hh,
	* filter/object_links_bottom_aligned.hh,
	* filter/object_links_non_aligned_simple.hh,
	* filter/object_links_top_aligned.hh,
	* primitive/group/apply.hh,
	* primitive/group/from_single_link.hh,
	* primitive/link/merge_double_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: Improve routine
	prototypes.

	* primitive/link/internal/link_functor_base.hh: Make use of
	separators if exist.

624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve debug routines in Scribo.

	* debug/bboxes_enlarged_image.hh,
	* debug/looks_like_a_text_line_image.hh,
	* debug/mean_and_base_lines_image.hh: New routines.

	* debug/alignment_decision_image.hh,
	* debug/decision_image.hh,
	* debug/save_bboxes_image.hh: Update code according to last
	changes in core classes.

	* debug/usage.hh: Make the description optional.

639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve core classes in Scribo.

	* core/component_info.hh,
	* core/component_set.hh: Add new methods and an output operator.

	* core/line_info.hh: Add new methods and improve stats computation.

	* core/line_set.hh: Add new methods.

	* core/macros.hh: Add more specific macros.

	* core/tag/component.hh,
	* core/tag/line.hh: Add output operators.

655
656
657
658
659
660
661
662
2010-03-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Share internal data in groups and links structures.

	* core/object_groups.hh,
	* core/object_links.hh: Share internal data using a tracked
	pointer.

663
664
665
666
667
2010-03-02  Guillaume Lazzara  <z@lrde.epita.fr>

	* text/merging.hh (scribo): Update code with lastest Theo's
	changes.

668
669
670
671
672
673
674
675
676
677
678
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a small tool to recognize text in a binary image.

	* src/text/Makefile.am: New target.

	* src/text/pbm_recognition.cc: New.

	* text/recognition.hh: Add an overload taking an image as
	argument.

679
680
681
682
683
684
685
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a subsampling algorithm.

	* subsampling/integral.hh: New. Compute a subsample image and an
	integral image at the same time.

686
687
688
689
690
691
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a first draft of a text line merging algorithm.

	* text/merging.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add and update examples.

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

	* src/preprocessing/denoising.cc: New.

	* src/preprocessing/split_bg_fg.cc: Fix usage.

	* src/text_in_article.cc,
	* src/text_in_photo_ppm_fast.cc: Update code according last
	changes in core classes.

	* src/text_in_photo_ppm_fast_2.cc: New example.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* binarization/sauvola_ms.hh: Remove a useless include.

	* debug/usage.hh: Move description output.

	* io/xml/save_text_lines.hh: Fix invalid xml output.

	* primitive/link/internal/link_ms_dmax_ratio_base.hh,
	* primitive/link/internal/link_single_dmax_ratio_base.hh: update
	distance criterion.

	* scribo.mk: Change compilation flags.

	* src/afp/components.hh: Merge data in only one array.

	* tests/filter/Makefile.am,
	* tests/filter/objects_with_holes.cc: New test.

	* text/clean.hh: use upsampling::hq4x instead of upsampling::hq2x.

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

	Keep updating code according to last changed in core classes.

	* debug/decision_image.hh,
	* debug/save_linked_bboxes_image.hh,
	* draw/bounding_boxes.hh,
	* estim/object_groups_v_thickness.hh,
	* filter/common/objects_photo.hh,
	* filter/internal/compute.hh,
	* filter/object_groups_size_ratio.hh,
	* filter/object_groups_small.hh,
	* filter/object_groups_v_thickness.hh,
	* filter/object_links_bbox_overlap.hh,
	* filter/object_links_bottom_aligned.hh,
	* filter/object_links_non_aligned_simple.hh,
	* filter/objects_thick.hh,
	* filter/objects_thin.hh,
	* filter/objects_with_holes.hh,
	* primitive/group/apply.hh,
	* primitive/group/from_double_link.hh,
	* primitive/group/from_single_link.hh,
	* primitive/link/internal/link_single_dmax_base.hh,
	* primitive/link/with_single_left_link.hh,
	* primitive/link/with_single_right_link.hh,
	* src/afp/link.hh,
	* src/afp/regroup.hh,
	* text/recognition.hh: Update the use of core classes. Replace the
	use of object_image with component_set.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
763
764
765
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve core classes.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
766

Guillaume Lazzara's avatar
Guillaume Lazzara committed
767
768
769
770
771
	* core/component_info.hh,
	* core/component_set.hh,
	* core/line_info.hh,
	* core/line_set.hh,
	* core/object_groups.hh: Add more methods and constructors.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
772

Guillaume Lazzara's avatar
Guillaume Lazzara committed
773
	* core/macros.hh: Add a new macro.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
774

Guillaume Lazzara's avatar
Guillaume Lazzara committed
775
	* core/tag/line.hh: Add more enums.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
776

777
778
779
780
781
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

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

782
783
784
785
2010-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce new Scribo core classes and start using them.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
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
819
820
821
822
823
824
825
	* core/component_info.hh,
	* core/component_set.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: New core classes.

	* core/object_image.hh: Remove.

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

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

	* draw/bounding_box_links.hh,
	* filter/object_links_bbox_h_ratio.hh,
	* filter/object_links_bbox_ratio.hh,
	* filter/objects_small.hh,
	* fun/v2b/objects_small_filter.hh,
	* primitive/group/apply.hh,
	* primitive/group/from_single_link.hh,
	* primitive/internal/find_root.hh,
	* primitive/internal/init_link_array.hh,
	* primitive/link/compute.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_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: Make use of
826
827
	the new core classes.

828
829
830
831
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add anchor support in debug routines.

832
833
834
835
	* 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
836
837
	draw debug outputs.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
838
839
840
841
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new link filters.

842
	* filter/object_links_non_aligned_simple.hh: Handle new
Guillaume Lazzara's avatar
Guillaume Lazzara committed
843
844
	cases.

845
846
	* filter/object_links_left_aligned.hh,
	* filter/object_links_right_aligned.hh: New filters.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
847

848
849
850
851
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve object linking backend.

852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
	* 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
867
868
	anchor concept and make use of it.

869
870
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

871
	* filter/objects_with_holes.hh: New component filter.
872

873
874
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

875
	* draw/bounding_boxes.hh: Do not draw box centers anymore.
876

877
878
879
880
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Add dedicated routines for AFP's use case.

881
882
883
	* src/afp/components.hh,
	* src/afp/link.hh,
	* src/afp/regroup.hh: New.
884

Guillaume Lazzara's avatar
Guillaume Lazzara committed
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
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.

913
914
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
915
	* src/text_in_photo_ppm.cc: Improve output.
916

917
918
919
920
2010-02-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Cleanup and avoid warnings in Sauvola related files.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
921
922
923
924
925
926
	* binarization/sauvola_ms.hh,
	* binarization/sauvola_threshold.hh,
	* canvas/integral_browsing.hh,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_pgm.cc,x
	* subsampling/integral_single_image.hh: Cleanup and avoir
927
928
	warnings.

929
930
931
932
933
934
935
936
937
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.

938
939
940
941
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
942
943
944
945
946
947
948
949
950
951
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.

952
953
954
955
956
957
958
959
960
961
962
963
964
965
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.

966
967
968
969
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
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
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,