ChangeLog 173 KB
Newer Older
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Various fixes in Scribo.

	* scribo/core/component_set.hh: Update FIXMEs.
	(update_labeled_image_()): New method.

	* scribo/core/def/color_type.hh: Introduce a new global type.

	* scribo/core/line_info.hh: Compute line pixels area and order
	component list by localization.

	* scribo/core/line_set.hh: Add operator<<.

	* scribo/core/object_groups.hh,
	* scribo/core/object_links.hh (is_valid(unsigned)): new method.

	* scribo/debug/links_image.hh: Make bounding box drawing optional.

	* scribo/filter/object_groups_small.hh: Return a temporary result.

	* scribo/filter/objects_h_thick.hh,
	* scribo/filter/objects_h_thin.hh,
	* scribo/filter/objects_v_thick.hh,
	* scribo/filter/objects_v_thin.hh: Fix variable names and make
	these routines work properly.

	* scribo/toolchain/content_in_doc.hh,
	* scribo/preprocessing/rotate_90.hh: Fix preconditions.

	* scribo/primitive/extract/non_text.hh: Remove useless precondition.

	* scribo/primitive/link/internal/link_single_dmax_ratio_aligned_base.hh:
	Remove a useless method.

	* scribo/primitive/link/internal/link_single_dmax_ratio_base.hh:
	Remove a useless (void).

	* scribo/text/extract_lines.hh: Use dmax_default functor.

	* src/debug/show_groups_bboxes.cc: Check hratio while linking.

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

	* scribo/tests/toolchain/nepomuk/Makefile.am: Check if Magick++ is
	available.

48
49
50
51
52
2011-04-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/extract_lines_wo_merge.hh: New line extraction
	routine.

53
54
55
56
2011-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/xml_widget.cc: Fix a warning.

57
58
59
60
2011-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/runner.cc: Improve progress notification.

61
62
63
64
65
66
67
68
69
70
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix compilation issues on MAC.

	* scribo/core/line_info.hh: Explicitly call parent constructor.
	* scribo/primitive/extract/non_text.hh: Fix ambiguities on
	std::pow overloads.

	* src/debug/show_group_bboxes.cc: Fix namespace ambiguity.

71
72
73
74
75
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/internal/dmax_functor_base.hh: Make the
	dmax ratio safer.

76
77
78
79
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/merging: Add a precondition. Fix merging policy.

80
81
82
83
84
2011-03-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/internal/link_functor_base.hh: Stop
	neighbor lookup when a separator is found.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
85
86
87
88
89
90
91
92
93
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix namespace ambiguities.

	* src/debug/show_groups_bboxes.cc,
	* src/debug/show_links_bottom_aligned_2angles.cc,
	* src/debug/show_links_top_aligned_2angles.cc: Add primitive::
	prefix.

94
95
96
97
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/Makefile.am: define HAVE_QT for content_in_doc.

98
99
100
101
102
103
104
105
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Add missing anchor argument.

	* scribo/primitive/link/internal/find_several_links.hh,
	* scribo/primitive/link/internal/link_several_dmax_base.hh,
	* scribo/primitive/link/internal/link_single_dmax_base.hh: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
106
107
108
109
110
111
112
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

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

113
114
115
116
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/toolchain/nepomuk/Makefile.am: Add MAGICKXX flags.

117
118
119
120
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/def/lbl_type.hh: Use int_u<n> as label type.

121
122
123
124
125
126
127
128
129
130
131
132
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Set unit tests dependencies.

	* tests/unit_test/Makefile.am: Add new conditional test file.

	* tests/unit_test/cond_tests_magickxx_qt_tesseract_tiff,
	* tests/unit_test/cond_tests_qt,
	* tests/unit_test/cond_tests_qt_tesseract_tiff: Update list of files.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	New debug tools.

	* src/Makefile.am,
	* src/debug/Makefile.am: Update targets.

	* src/debug/non_text_mask.cc,
	* src/debug/show_components_bboxes.cc,
	* src/debug/show_groups_bboxes.cc,
	* src/debug/show_links_bottom_aligned_2angles.cc,
	* src/debug/show_links_top_aligned_2angles.cc,
	* src/debug/show_paragraph_blocks.cc,
	* src/non_text_components.cc: New.

	* src/debug/show_links_several_right.cc: Removed. Deprecated.

150
151
152
153
154
155
156
157
158
159
160
161
162
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	New non-text components extraction routine.

	* scribo/make/text_blocks_image.hh,
	* scribo/make/text_components_image.hh,
	* scribo/primitive/extract/internal/union.hh: New.

	* scribo/primitive/extract/non_text.hh: New implementation.

	* scribo/primitive/extract/non_text_kmean.hh: New. Old
	implementatino is saved here.

163
164
165
166
167
168
169
170
171
172
173
174
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce result image output.

	* scribo/fun/v2v/highlight.hh,
	* scribo/io/img/internal/debug_img_visitor.hh,
	* scribo/io/img/internal/draw_edges.hh,
	* scribo/io/img/internal/full_img_visitor.hh,
	* scribo/io/img/internal/non_text_img_visitor.hh,
	* scribo/io/img/internal/text_img_visitor.hh,
	* scribo/io/img/save.hh: New.

175
176
177
178
179
180
181
182
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Save image edge coordinates in XML output.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh: Here.

	* scribo/io/xml/internal/print_image_coords.hh: New.

183
184
185
186
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/filter/object_links_aligned.hh: New.

187
188
189
190
191
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/separators_nonvisible.hh: Cleanup and
	improve debug support.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
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
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Various small fixes.

	* scribo/filter/object_links_bottom_aligned.hh,
	* scribo/filter/object_links_top_aligned.hh,
	* src/debug/show_links_bottom_aligned.cc,
	* src/debug/show_links_top_aligned.cc: Update call to
	linking routine.

	* scribo/filter/object_links_non_aligned_simple.hh: Copy data.

	* scribo/preprocessing/rotate_90.hh,
	* scribo/text/extract_lines.hh,
	* src/debug/show_stoppers.cc: Revamp.

	* scribo/primitive/extract/horizontal_separators.hh: Actually use
	horizontal routine.

	* scribo/primitive/extract/separators.hh: Adjust borders.

	* scribo/primitive/identify.hh: Disable for now.

	* scribo/primitive/link/with_single_right_link.hh: Add anchor argument.

	* scribo/primitive/link/with_single_right_link_top.hh: Rename arguments.

	* src/content_in_doc.cc: Add more usage information.

	* src/debug/show_links_center_aligned.cc: Update anchor value.

	* src/debug/show_text_lines.cc: Add XML output.

	* src/preprocessing/rotate.cc,
	* src/preprocessing/rotate_90.cc: Initialize ImageMagick.

228
229
230
231
232
233
234
235
236
237
238
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce a new component linking method.

	* scribo/primitive/link/internal/link_single_dmax_ratio_aligned_base.hh,
	* scribo/primitive/link/with_single_left_link_dmax_ratio_aligned.hh:
	New.

	* scribo/primitive/link/with_single_right_link_dmax_ratio_aligned.hh:
	Cleanup.

239
240
241
242
243
244
245
246
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Spread anchor value to more methods in link functors.

	* scribo/primitive/link/internal/find_link.hh,
	* scribo/primitive/link/internal/link_functor_base.hh,
	* scribo/primitive/link/internal/link_single_dmax_ratio_base.hh: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce a logger class.

	* scribo/debug/logger.hh: New.

	* scribo/toolchain/internal/content_in_doc_functor.hh,
	* scribo/toolchain/internal/text_in_doc_functor.hh,
	* scribo/toolchain/nepomuk/text_extraction.hh,
	* scribo/toolchain/text_in_doc.hh,
	* src/content_in_doc.cc,
	* src/pbm_text_in_doc.cc,
	* src/primitive/extract/separators_nonvisible.cc Make use of that
	class for saving debug images.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
262
263
264
265
266
267
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce a logger class.

	* scribo/debug/logger.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
268
269
270
271
272
273
274
275
276
277
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce new anchors.

	* scribo/core/tag/anchor.hh: New anchors.

	* scribo/filter/internal/alignment_angle.hh,
	* scribo/primitive/link/internal/compute_anchor.hh: Make use of
	that new anchors.

278
279
280
281
282
283
284
285
286
287
288
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Rename document serializer base class.

	* scribo/core/internal/doc_xml_serializer.hh: Rename as...
	* scribo/core/internal/doc_serializer.hh: ... this.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh: Update inheritance.

289
290
291
292
293
294
295
296
297
298
299
300
301
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Store more information in scribo::document.

	* scribo/core/document.hh: Make a distinction between horizontal
	and vertical lines. Store the binary image.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh,
	* scribo/toolchain/internal/content_in_doc_functor.hh: Make use of
	that new methods and information.

302
303
2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

304
305
306
307
308
309
310
311
312
313
314
315
316
	Rename line_info::components() to line_info::component_ids.

	* scribo/core/line_info.hh: Here.

	* scribo/debug/char_space_image.hh,
	* scribo/text/recognition.hh,
	* src/debug/show_text_lines.cc,
	* scribo/io/xml/internal/full_xml_visitor.hh: Update calls to that
	method.

2011-03-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Some changes in debug routines.
317
318
319
320
321
322

	* scribo/debug/save_bboxes_image.hh,
	* scribo/debug/save_linked_bboxes_image.hh: Rename as...
	* scribo/debug/bboxes_image.hh,
	* scribo/debug/linked_bboxes_image.hh: ... this.

323
324
325
326
327
328
329
330
	* scribo/debug/links_image.hh: New.

	* scribo/debug/several_links_decision_image.hh:
	Remove. Deprecated.

	* scribo/debug/alignment_decision_image.hh: Make use of
	compute_anchor routine.

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
	* scribo/debug/all.hh,
	* scribo/table/extract.hh,
	* scribo/toolchain/text_in_picture.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_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_separators.cc,
	* 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/text_in_picture.cc,
	* src/text_in_picture_neg.cc,
	* src/text_recognition_in_picture.cc,
	* tests/filter/components_large.cc,
	* tests/filter/components_small.cc: Update includes.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
356
357
358
359
360
361
362
2011-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Add HAVE_QT guards.

	* scribo/convert/from_base64.hh,
	* scribo/io/xml/save.hh: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
363
364
365
366
367
368
369
370
2011-03-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in viewer.

	* demo/viewer/main.cc: Add more includes.

	* demo/viewer/viewer.cc: Add debug output.

371
372
373
374
375
2011-03-04  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/xml/internal/extended_page_xml_visitor.hh: Save
	separators data.

376
377
378
379
380
2011-03-04  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/xml/internal/full_xml_visitor.hh: Do not copy image
	data.

381
382
2011-03-04  Guillaume Lazzara  <z@lrde.epita.fr>

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
	Make OCR step optional in viewer.

	* demo/viewer/Makefile.am: Add new files.

	* demo/viewer/config.cc,
	* demo/viewer/config.hh: Add OCR settings.

	* demo/viewer/toolchain_options.cc,
	* demo/viewer/toolchain_options.hh,
	* demo/viewer/toolchain_options.ui: Remove.

	* demo/viewer/ocr_options.cc,
	* demo/viewer/ocr_options.hh,
	* demo/viewer/ocr_options.ui,
	* demo/viewer/preprocessing_options.cc,
	* demo/viewer/preprocessing_options.hh,
	* demo/viewer/preprocessing_options.ui,
	* demo/viewer/segmentation_options.cc,
	* demo/viewer/segmentation_options.hh,
	* demo/viewer/segmentation_options.ui: New option widgets.

	* demo/viewer/preferences_dialog.cc: Insert new widgets.

	* demo/viewer/runner.cc: Take OCR settings into account.

2011-03-04  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/internal/content_in_doc_functor.hh: Make OCR
	step optional.
412

413
414
415
416
2011-03-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Compress image data in XML output.

417
418
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/load.hh: Here.
419

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

	Small fixes in Scribo.

	* scribo/convert/from_base64.hh: Remove guards HAVE_QT.

	* scribo/core/document.hh: Initialize ImageMagick.

	* scribo/io/xml/internal/html_markups_replace.hh: Remove. Move code...
	* scribo/core/line_info.hh: ... here.

	* scribo/core/line_links.hh: Make use of is_textline method.

	* scribo/core/paragraph_info.hh: Add nlines method.

	* scribo/core/paragraph_set.hh: Add a construction routine using a
	line_set.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/print_box_coords.hh,
	* scribo/io/xml/internal/print_page_preambule.hh,
	* src/primitive/extract/separators_nonvisible.cc: Fix includes.

	* scribo/io/xml/save.hh: Add a precondition.

	* scribo/text/extract_lines.hh,
	* src/debug/show_info_median_inter_characters.cc,
	* src/debug/show_info_x_height.cc,
	* src/debug/show_text_lines.cc: Fix label type.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
450
451
452
453
454
455
456
457
458
2011-03-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen mk files.

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

	* scribo/tests/unit_test/cond_tests_qt: Add scribo/io/xml/load.hh.

459
460
461
462
2011-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/non_text.hh: Remove debug.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
463
464
465
466
467
468
469
470
471
472
2011-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new debug tools.

	* scribo/src/debug/Makefile.am: New targets.

	* scribo/src/debug/show_separators.cc,
	* scribo/src/debug/show_stoppers.cc,
	* scribo/src/debug/show_text_lines.cc: New.

473
474
475
476
2011-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/extract_lines.hh: Update code.

477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
2011-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of mln::fun::v2v::rgb_to_luma.

	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
	* src/binarization/ppm_sauvola.cc,
	* src/binarization/ppm_sauvola_ms.cc,
	* src/binarization/ppm_sauvola_ms_fg.cc,
	* src/binarization/ppm_sauvola_ms_split.cc,
	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_debug.cc,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_ms_debug.cc,
	* src/binarization/sauvola_ms_fg.cc,
	* src/text_in_picture.cc,
	* src/text_in_picture_neg.cc,
	* src/text_recognition_in_picture.cc: Here.

495
496
497
498
2011-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/xml/load.hh: New XML loader.

499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
2011-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Make XML output more flexible.

	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh,
	* scribo/core/document.hh,
	* scribo/core/line_info.hh,
	* scribo/core/line_links.hh,
	* scribo/core/object_groups.hh,
	* scribo/core/object_links.hh,
	* scribo/core/paragraph_set.hh: Make these classes serializable.

	* scribo/core/concept/serializable.hh,
	* scribo/core/concept/serialize_visitor.hh: New concepts.

	* scribo/core/internal/doc_xml_serializer.hh: New. Base
	implementation.

	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
	* scribo/io/xml/internal/full_xml_visitor.hh,
	* scribo/io/xml/internal/page_xml_visitor.hh: New. Visitors
	producing different XML outputs.

	* scribo/io/xml/internal/html_markups_replace.hh,
	* scribo/io/xml/internal/print_box_coords.hh,
	* scribo/io/xml/internal/print_page_preambule.hh: New. Tools for
	XML output.

	* scribo/io/xml/save.hh: Make use of visitors.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Set default
	XML output type.

	* src/content_in_doc.cc: Produce several XML output.

	* demo/viewer/runner.cc: Update call to io::xml::save.

537
538
539
540
541
542
543
544
545
546
547
548
2011-03-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Set component type during component extraction.

	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh,
	* scribo/core/document.hh,
	* scribo/core/tag/component.hh,
	* scribo/primitive/extract/components.hh,
	* scribo/primitive/identify.hh: Explicitly set component type to
	Separator when extracting separator components.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
549
550
551
552
553
554
555
556
557
558
2011-02-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new tools in Scribo.

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

	* src/primitive/extract/separators_nonvisible.cc,
	* src/primitive/remove/separators.cc: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
559
560
561
562
563
564
565
566
567
568
569
570
2011-02-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* scribo/core/macros.hh: Update comments.

	* scribo/text/merging.hh: Add comments and fix line data swap.

	* scribo/text/recognition.hh: Make use of is_textline.

	* src/text_in_picture.cc: Initialize ImageMagick.

571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
2011-02-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve and cleanup whitespace separator detection.

	* scribo/core/tag/anchor.hh: Add new anchors.

	* scribo/filter/internal/alignment_angle.hh,
	* scribo/primitive/link/internal/compute_anchor.hh: Support new
	anchors.

	* scribo/primitive/extract/separators_nonvisible.hh: Remove dead
	code and comment debug code.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Detect
	horizontal whitespace.

587
588
589
590
591
592
593
2011-02-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new conversion routines from string to tag.

	* scribo/core/tag/component.hh,
	* scribo/core/tag/line.hh: Here.

594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
2011-02-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Various changes in scribo core structures.

	* scribo/scribo/core/component_info.hh: Remove useless line_id.

	* scribo/scribo/core/line_set.hh,
	* scribo/scribo/core/component_set.hh: Add new constructors.

	* scribo/scribo/core/document.hh: Store line separators.

	* scribo/scribo/core/line_info.hh: Share attributes and add new
	constructors.
	(is_textline): New method.

	* scribo/scribo/core/line_links.hh: Do not allocate useless data.

	* scribo/scribo/core/paragraph_info.hh (operator<<): New.

	* scribo/scribo/core/paragraph_set.hh: Share attributes and add new
	constructors.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
2011-02-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Rename files in Scribo.

	* scribo/primitive/extract/elements.hh,
	* 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: Rename to...

	* scribo/primitive/extract/non_text.hh,
	* src/primitive/extract/discontinued_hlines.cc,
	* src/primitive/extract/discontinued_lines.cc,
	* src/primitive/extract/discontinued_vlines.cc,
	* src/primitive/extract/thick_hlines.cc,
	* src/primitive/extract/thick_vlines.cc: ... this.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Rename
	function call from extract::elements to extract_non_text.

	* src/primitive/extract/Makefile.am: Update target names.

639
640
641
642
643
644
645
646
647
648
649
2011-02-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Add Base64 conversion routines.

	* scribo/scribo/convert/from_base64.hh,
	* scribo/scribo/convert/to_base64.hh: New routines.

	* scribo/tests/Makefile.am,
	* scribo/tests/convert/Makefile.am,
	* scribo/tests/convert/base64.cc: New associated test.

650
651
652
653
654
655
656
657
658
659
660
661
662
663
2011-02-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Add support for whitespace separators visualization.

	* demo/viewer/common.hh,
	* demo/viewer/key_widget.cc,
	* demo/viewer/step_widget.cc,
	* demo/viewer/viewer.cc: Handle visualization.

	* scribo/toolchain/internal/content_in_doc_functor.hh,
	* scribo/core/document.hh: Store separator information.

	* scribo/io/xml/save.hh: Save whitespace separator data.

664
665
666
667
668
2011-03-29  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/nepomuk/text_extraction.hh: Remove useless
	punctuation in text output.

669
670
671
672
673
2011-02-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/text_in_picture.cc: Initialize ImageMagick and fix usage
	message.

674
675
676
677
678
2011-02-05  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/xml_widget.cc: Fix data tracking of selected
	objects.

679
680
681
682
683
684
685
686
687
688
689
690
691
2011-02-05  Guillaume Lazzara  <z@lrde.epita.fr>

	Display baseline and meanline in Scribo viewer.

	* demo/viewer/common.hh: Add new enums.

	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh: Revamp code and add support for more
	region types.

	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Insert line blocks.

692
693
694
695
696
697
698
699
700
701
702
703
704
705
2011-02-04  Guillaume Lazzara  <z@lrde.epita.fr>

	Add printing support in Scribo viewer.

	* demo/viewer/image_scene.cc,
	* demo/viewer/image_scene.hh: Accept a parent widget.

	* demo/viewer/image_widget.cc,
	* demo/viewer/image_widget.hh: Add an accessor to the underlying
	view.

	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Add print and print preview menu entries.

706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
2011-02-18  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve about dialog in scribo viewer.

	* demo/shared/icons/olena_smaller.jpg: New.

	* demo/shared/shared.qrc: Add new image in resources.

	* demo/viewer/Makefile.am: Build qrc file.

	* demo/viewer/help_dialog.cc,
	* demo/viewer/help_dialog.hh: Make use of the new dialog.

	* demo/viewer/help_dialog.ui: New.

	* demo/viewer/viewer.qrc: New.

723
724
725
726
2011-02-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/runner.cc: Clear arguments on new process.

727
728
729
730
2011-01-28  Guillaume Lazzara  <z@lrde.epita.fr>

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
2011-01-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes

	* scribo/binarization/sauvola_ms.hh: Add comments.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Initialize
	a local variable.

	* src/content_in_doc.cc,
	* src/pbm_text_in_doc.cc: Fix option processing.

	* tests/unit_test/Makefile.am,
	* tests/unit_test/cond_tests_magickxx_tesseract_tiff,
	* tests/unit_test/cond_tests_tesseract_tiff: Change test
	condition.

748
749
750
751
2011-01-28  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/scribo-cli.in: Add content_in_doc entry.

752
753
754
755
756
2011-01-27  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/xml2doc/templates/pdf/line.xsl: Make use of paragraph
	information in PDF output.

757
758
759
760
761
2011-01-27  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/unit-test/cond_tests_tesseract_tiff: Add
	content_in_doc.hh.

762
763
764
765
2011-01-27  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/xml2doc/Makefile.am: Fix generated file dependency.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
766
767
768
769
770
771
772
2011-01-27  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix missing includes.

	* scribo/filter/line_links_x_height.hh,
	* scribo/primitive/identify.hh: Here.

773
774
775
776
777
778
779
2011-01-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of paragraph information in HTML output.

	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
780
781
782
783
784
785
786
2011-01-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated files.

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

787
788
789
790
791
792
793
794
795
796
797
2011-01-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add paragraph processing in content_in_doc toolchain.

	* scribo/toolchain/content_in_doc.hh: New.

	* scribo/toolchain/internal/content_in_doc_functor.hh: Use
	paragraph related routines.

	* src/content_in_doc.cc: Update use of content_in_doc_functor.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo.

	* scribo/core/paragraph_set.hh,
	* scribo/core/document.hh: Add new methods.

	* scribo/core/macros.hh: Add a missing macro.

	* scribo/io/xml/save.hh,
	* scribo/primitive/extract/elements.hh: Make use of the methods in
	document class.

	* src/pbm_text_in_doc.cc: Add recognized language as an option.

	* tests/toolchain/nepomuk/text_extraction.cc: Make the test not
	case dependent.

816
817
818
819
820
821
822
823
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add an option to choose the recognized language.

	* scribo/toolchain/nepomuk/text_extraction.hh,
	* scribo/toolchain/text_in_doc.hh,
	* src/content_in_doc.cc: Here.

824
825
826
827
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/recognition.hh: Make use of TessBaseAPI::setImage.

828
829
830
831
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/text/recognition.hh: Fix invalid free().

832
833
834
835
836
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/xml/save.hh: Handle paragraphs and separators correctly
	in XML output.

837
838
839
840
841
842
843
844
845
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Identify separators among non-text components.

	* scribo/core/tag/component.hh: New Separator type.

	* scribo/primitive/identify.hh: identify non-text components
	type according criterions.

846
847
848
849
850
851
852
853
854
855
856
857
858
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Handle paragraphs correctly in scribo-viewer.

	* demo/viewer/common.hh,
	* demo/viewer/image_region.cc,
	* demo/viewer/key_widget.cc,
	* demo/viewer/step_widget.cc,
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh,
	* demo/viewer/xml_widget.cc: Get rid of the paragraph node and
	consider text_region as a paragraph.

859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add support for paragraphs.

	* scribo/core/document.hh: Add support for paragraphs.

	* scribo/core/macros.hh: Add new macro for_all_paragraph_lines.

	* scribo/core/line_links.hh,
	* scribo/core/paragraph_info.hh,
	* scribo/core/paragraph_set.hh: New. New structures.

	* scribo/filter/line_links_x_height.hh,
	* scribo/text/link_lines.hh: New. New routine.

874
875
876
877
2011-01-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/toolchain/nepomuk/text_extraction.cc: Fix test.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
2011-01-18  Guillaume Lazzara  <z@lrde.epita.fr>

	Various fixes in Scribo.

	* scribo/core/component_info.hh: Initialize type_ attribute.

	* scribo/core/line_info.hh: Rename accumulators.

	* scribo/debug/usage.hh: Update copyright.

	* scribo/toolchain/internal/text_in_doc_functor.hh: Initialize
	input_cleaned local variable.

	* tests/toolchain/nepomuk/text_extraction.cc: Support both
	Tesseract 2 and 3.

894
895
896
897
2011-01-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/Makefile.am: Explicitly link to libtiff.

898
899
900
901
902
903
904
905
906
907
908
909
910
911
2011-01-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Do not distribute files generated by Qt.

	* demo/review/ui/mainwindow.ui: Move...
	* demo/review/mainwindow.ui: ... here.

	* demo/review/src/mainwindow.cc,
	* demo/review/src/mainwindow.hh: Fix includes.

	* demo/review/Makefile.am,
	* demo/viewer/Makefile.am,
	* demo/xml2doc/Makefile.am: Do not distribute generated files.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
912
913
914
915
2011-01-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* NEWS: Add content.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
916
917
918
919
920
921
922
923
2011-01-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix examples.

	* src/binarization/sauvola.cc: Initialize ImageMagick.

	* src/binarization/sauvola_ms.cc: Fix maximum argument count.

924
925
926
927
928
929
930
931
2011-01-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Add missing distributed files.

	* Makefile.am: Add EXTRA_DIST.

	* demo/viewer/Makefile.am: Add a missing distributed header.

932
933
934
935
2011-01-04  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/review/Makefile.am: Add srcdir as include path.

936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
2011-01-04  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce "export as" functionality.

	* demo/viewer/Makefile.am,
	* demo/viewer/demodir.hh.in: Update demodir replacement.

	* demo/viewer/browser_widget.cc,
	* demo/viewer/browser_widget.hh: Add a new method.

	* demo/viewer/runner.cc,
	* demo/viewer/runner.hh,
	* demo/viewer/step_widget.cc,
	* demo/viewer/step_widget.hh,
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Introduce "export as" functionality.

953
954
955
956
957
958
959
960
961
2011-01-03  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new files in EXTRA_DIST.

	* demo/review/Makefile.am,
	* demo/viewer/Makefile.am (EXTRA_DIST): Add new files.

	* demo/viewer/demodir.hh.in: New.

962
963
964
965
2011-01-03  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/review/Makefile.am: Do not distribute generated files.

966
967
968
969
2010-12-14  Guillaume Lazzara  <z@lrde.epita.fr>

	* NEWS: First draft of Scribo NEWS file.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
970
971
972
973
974
975
976
2010-12-14  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen generated .mk files.

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

977
978
979
980
981
2010-12-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/unit_test/cond_tests_tesseract_tiff: Add conditional
	unit-tests.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
982
983
984
985
986
987
988
989
990
991
2010-12-13  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix unit-tests in Scribo.

	* scribo/toolchain/internal/content_in_doc_functor.hh,
	* scribo/toolchain/internal/text_in_doc_functor.hh: Fix guards.

	* scribo/toolchain/internal/toolchain_functor.hh: Add a missing
	include.

992
993
994
995
2010-12-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/Makefile.am (SUBDIRS): Fix invalid assignment.

996
997
998
999
2010-12-13  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/xml2doc/Makefile.am: Add a file dependency.

1000
1001
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

1002
	Temporary fix PDF rendering.
1003

1004
1005
	* demo/xml2doc/templates/pdf/line.xsl: Use temporary hack to
	improve document rendering.
1006

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/text/recognition.hh: Add comments.

	* src/debug/show_links_single_right.cc: Fix an invalid
	incrementation.

	* src/Makefile.am: Add Magickxx flags for pbm_text_in_doc.

	* src/binarization/sauvola_ms.cc,
	* src/text_in_doc_preprocess.cc,
	* src/text_in_picture_neg.cc,
	* src/text_recognition_in_picture.cc: Initialize LibMagick++.

1023
1024
1025
1026
1027
1028
1029
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new options to command lines tools.

	* scribo/src/content_in_doc.cc,
	* scribo/src/pbm_text_in_doc.cc: Here.

1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Rewrite toolchains as functors.

	* scribo/toolchain/internal/content_in_doc_functor.hh,
	* scribo/toolchain/internal/text_in_doc_functor.hh,
	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
	* scribo/toolchain/internal/toolchain_functor.hh: New.

	* scribo/toolchain/text_in_doc.hh,
	* scribo/toolchain/text_in_doc_preprocess.hh: Make use of the
	functors.

1043
1044
1045
1046
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/document.hh: Add new methods.

1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix missing inlines and MLN_WO_GLOBALS_VARS guards in Scribo.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/core/component_info.hh,
	* scribo/core/init_integral_image.hh,
	* scribo/core/tag/component.hh,
	* scribo/core/tag/line.hh,
	* scribo/io/xml/save.hh,
	* scribo/make/debug_filename.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/preprocessing/split_bg_fg.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/primitive/link/internal/dmax_default.hh,
	* scribo/primitive/link/internal/dmax_width_and_height.hh,
	* scribo/primitive/link/internal/dmax_width_only.hh,
	* scribo/text/merging.hh,
	* scribo/text/recognition.hh: Here.

1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix guards and license in xml2doc.

	* demo/xml2doc/image_crop.cc,
	* demo/xml2doc/image_crop.hh,
	* demo/xml2doc/loader.cc,
	* demo/xml2doc/loader.hh,
	* demo/xml2doc/xml_transform.cc,
	* demo/xml2doc/xml_transform.hh: Here.

1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Get rid of xml_transform.sh and handle xsl files location after
	installation.

	* demo/xml2doc/main.cc: Implement the effective code of
	xml_transform.sh. Guaranties that the xsl files will be always
	accessible.

	* demo/xml2doc/templates/ooconvert: Move...
	* demo/xml2doc/templates/bin/ooconvert: ... here.

	* demo/xml2doc/templates/xml_transform.sh: Remove.

1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Include xml2doc in build system.

	* demo/Makefile.am: Add xml2doc and libmagick++ dependency.

	* demo/xml2doc/Makefile.am: New.

	* demo/xml2doc/datarootdir.hh.in: New. Will store few useful
	variables.

	* demo/xml2doc/xml_transform.pro: Remove.

1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
2010-12-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Import xml_transform from Arthur's sandbox to demo/xml2doc.

	* sandbox/arthur/xml_transform/README,
	* sandbox/arthur/xml_transform/common.cc,
	* sandbox/arthur/xml_transform/common.hh,
	* sandbox/arthur/xml_transform/image_crop.cc,
	* sandbox/arthur/xml_transform/image_crop.hh,
	* sandbox/arthur/xml_transform/loader.cc,
	* sandbox/arthur/xml_transform/loader.hh,
	* sandbox/arthur/xml_transform/main.cc,
	* sandbox/arthur/xml_transform/templates/html/css.css,
	* sandbox/arthur/xml_transform/templates/html/main.xsl,
	* sandbox/arthur/xml_transform/templates/html/main_base64.xsl,
	* sandbox/arthur/xml_transform/templates/ooconvert,
	* sandbox/arthur/xml_transform/templates/opendoc/css.css,
	* sandbox/arthur/xml_transform/templates/opendoc/xsl.xsl,
	* sandbox/arthur/xml_transform/templates/pdf/line.xsl,
	* sandbox/arthur/xml_transform/templates/pdf/main.xsl,
	* sandbox/arthur/xml_transform/templates/pdf/regions.xsl,
	* sandbox/arthur/xml_transform/templates/svg/line.xsl,
	* sandbox/arthur/xml_transform/templates/svg/main.xsl,
	* sandbox/arthur/xml_transform/templates/svg/regions.xsl,
	* sandbox/arthur/xml_transform/templates/xml_transform.sh,
	* sandbox/arthur/xml_transform/xml_transform.cc,
	* sandbox/arthur/xml_transform/xml_transform.hh,
	* sandbox/arthur/xml_transform/xml_transform.pro: Move...

	* demo/xml2doc/README,
	* demo/xml2doc/common.cc,
	* demo/xml2doc/common.hh,
	* demo/xml2doc/image_crop.cc,
	* demo/xml2doc/image_crop.hh,
	* demo/xml2doc/loader.cc,
	* demo/xml2doc/loader.hh,
	* demo/xml2doc/main.cc,
	* demo/xml2doc/templates/html/css.css,
	* demo/xml2doc/templates/html/main.xsl,
	* demo/xml2doc/templates/html/main_base64.xsl,
	* demo/xml2doc/templates/ooconvert,
	* demo/xml2doc/templates/opendoc/css.css,
	* demo/xml2doc/templates/opendoc/xsl.xsl,
	* demo/xml2doc/templates/pdf/line.xsl,
	* demo/xml2doc/templates/pdf/main.xsl,
	* demo/xml2doc/templates/pdf/regions.xsl,
	* demo/xml2doc/templates/svg/line.xsl,
	* demo/xml2doc/templates/svg/main.xsl,
	* demo/xml2doc/templates/svg/regions.xsl,
	* demo/xml2doc/templates/xml_transform.sh,
	* demo/xml2doc/xml_transform.cc,
	* demo/xml2doc/xml_transform.hh,
	* demo/xml2doc/xml_transform.pro: ... here.

1160
1161
1162
1163
1164
2010-11-29  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/text_in_doc.hh: Set english as default
	recognized language.

1165
1166
1167
1168
2010-11-29  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/content_in_doc.cc: Add missing ImageMagick initialization.

1169
1170
1171
1172
1173
1174
1175
2010-11-18  Guillaume Lazzara  <z@lrde.epita.fr>

	Distribute more files with Scribo.

	* src/Makefile.am,
	* tests/Makefile.am (EXTRA_DIST): Add new files.

1176
1177
1178
1179
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/separators_nonvisible.hh: Fix warnings.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1180
1181
1182
1183
1184
1185
1186
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Regen .mk files in Scribo.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Compilation fixes.

	* scribo/binarization/sauvola_threshold_image.hh: Fix namespace
	ambiguity.

	* scribo/io/xml/save.hh
	* scribo/primitive/extract/elements.hh
	* scribo/primitive/merge/components.hh
	* scribo/toolchain/text_in_doc_preprocess.hh
	* scribo/toolchain/text_in_picture.hh
	* src/binarization/ppm_sauvola_ms.cc
	* src/binarization/ppm_sauvola_ms_fg.cc
	* src/binarization/ppm_sauvola_ms_split.cc
	* src/binarization/sauvola_ms.cc
	* src/binarization/sauvola_ms_fg.cc
	* src/binarization/sauvola_ms_split.cc
	* src/contest/hdibco-2010/sauvola_ms_hdibco.cc
	* src/text_in_picture.cc: Add missing includes.

	* scribo/primitive/extract/lines_h_pattern.hh,
	* scribo/primitive/extract/lines_v_pattern.hh: Make sure the
	rectangle have odd dimensions.

	* src/Makefile.am: Remove deprecated include path.

	* src/binarization/ppm_sauvola.cc: Convert to gray level.

	* src/pbm_text_in_doc.cc: Use doc structure.

	* src/text_in_picture_neg.cc: Make use of world::rgb::invert.

1220
1221
1222
1223
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/document.hh: Add new methods.

1224
1225
1226
1227
1228
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/xml/save.hh: Add conditions before saving elements and
	text.

1229
1230
1231
1232
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/line_set.hh (is_valid()): New method.

1233
1234
1235
1236
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/group/from_double_link_any.hh: New.

1237
1238
1239
1240
1241
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/with_single_right_link_dmax_ratio_aligned.hh:
	New.

1242
1243
1244
1245
1246
1247
1248
1249
2010-11-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve text_in_picture_neg.

	* scribo/toolchain/text_in_picture.hh: Remove useless argument.

	* src/text_in_picture_neg.cc: Revert color image.

1250
1251
1252
1253
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/content_in_doc.cc: New example extracting document content.

1254
1255
1256
1257
1258
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/text_in_doc.hh: Make use of non visible
	separators information.

1259
1260
1261
1262
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/io/xml/save.hh: Make use of document structure.

1263
1264
1265
1266
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/elements.hh: New routine.

1267
1268
1269
1270
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/extract/separators_nonvisible.hh: New routine.

1271
1272
1273
1274
1275
1276
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Import rgb8 to rgbn conversion function from Yann's sandbox.

	* mln/fun/v2v/rgb8_to_rgbn.hh: New.

1277
1278
1279
1280
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/macros.hh: Remove deprecated macro.

1281
1282
1283
1284
2010-09-02  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/document.hh: Introduce new document structure.

1285
1286
1287
1288
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/viewer/Makefile.am: Remove deprecated dependencies.

1289
1290
1291
1292
1293
1294
1295
1296
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Include scribo.mk instead of tests.mk.

	* src/contest/Makefile.am,
	* src/contest/hdibco-2010/Makefile.am: Include scribo.mk instead
	of tests.mk.

1297
1298
1299
1300
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/canvas/integral_browsing.hh: Cleanup comments.

1301
1302
1303
1304
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/binarization/sauvola_ms.cc: Add missing includes.

1305
1306
1307
1308
1309
1310
1311
1312
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Set default window size to 101 in Sauvola examples.

	* src/binarization/pgm_sauvola.cc,
	* src/binarization/ppm_sauvola.cc,
	* src/binarization/sauvola.cc: Set default window size to 101.

1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve debug management and outputs for Sauvola.

	* scribo/binarization/internal/compute_sauvola_threshold.hh:
	New. Move sauvola_threshold related routines here.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold_image.hh: Move debug
	variables...

	* scribo/binarization/internal/sauvola_debug.hh: ... here. New.

	* scribo/binarization/sauvola_threshold_image_debug.hh: Remove.

	* src/binarization/Makefile.am,
	* src/binarization/sauvola_debug.cc,
	* src/binarization/sauvola_ms_debug.cc: Improve debug outputs.

	* src/binarization/pgm_sauvola_threshold_image.cc: New.

1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
2010-11-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve debug management and outputs for Sauvola.

	* scribo/binarization/internal/compute_sauvola_threshold.hh:
	New. Move sauvola_threshold related routines here.

	* scribo/binarization/internal/first_pass_functor.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold_image.hh: Move debug
	variables...

	* scribo/binarization/internal/sauvola_debug.hh: ... here. New.

	* scribo/binarization/sauvola_threshold_image_debug.hh: Remove.

	* src/binarization/Makefile.am,
	* src/binarization/sauvola_debug.cc,
	* src/binarization/sauvola_ms_debug.cc: Improve debug outputs.

Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
1357
1358
1359
1360
2010-08-06  Arthur Crepin-Leblond  <crepin@lrde.epita.fr>

	Add arrows shortcuts.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1361
1362
	* demo/viewer/browser_widget.cc: prev/next binded to
	Ctrl+Left/Right.
Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
1363

1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
2010-08-06  Arthur Crepin-Leblond  <crepin@lrde.epita.fr>

	Add shortcuts in Qt interface.

	* demo/viewer/browser_widget.cc: Change arrows icon.
	* demo/viewer/help_dialog.cc: Add more informations.
	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh: Add setAll(bool).
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Add shortcuts.

1375
1376
2010-08-04  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1377
	Fix bugs in Qt interface.
1378

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1379
1380
	* demo/viewer/key_widget.cc,
	* demo/viewer/viewer.cc: Here.
1381

1382
1383
2010-07-21  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1384
	Fix a segfault in Qt interface.
1385

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1386
	* demo/viewer/viewer.cc: Clean vectors when loading a new picture.
1387

1388
1389
1390
1391
2010-07-21  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Small changes in xml_transform.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1392
1393
1394
1395
	* sandbox/arthur/xml_transform/README

	* sandbox/arthur/xml_transform/image_crop.cc: Delete
	verbose mode.
1396

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1397
	* sandbox/arthur/xml_transform/main.cc: Small fix.
1398

1399
1400
1401
1402
2010-07-21  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Files headers change + base64 data hide in xml tree.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
	* demo/viewer/README,
	* demo/viewer/browser_widget.cc,
	* demo/viewer/browser_widget.hh,
	* demo/viewer/common.hh,
	* demo/viewer/help_dialog.cc,
	* demo/viewer/help_dialog.hh,
	* demo/viewer/image_region.cc,
	* demo/viewer/image_region.hh,
	* demo/viewer/image_scene.cc,
	* demo/viewer/image_scene.hh,
	* demo/viewer/image_view.cc,
	* demo/viewer/image_view.hh,
	* demo/viewer/image_widget.cc,
	* demo/viewer/image_widget.hh,
	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh,
	* demo/viewer/main.cc,
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh,
	* demo/viewer/viewer.hxx,
	* demo/viewer/xml_widget.cc: Change header (add LRDE copyright)

	* demo/viewer/xml_widget.hh: Hide data in base 64 to improve
	loading speed.
1427

1428
1429
2010-07-20  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

1430
	Text selectable in Qt interface.
1431

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1432
	* demo/viewer/viewer.cc
1433

1434
2010-07-20  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>
1435

1436
	Some changes in XML interface.
1437

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1438
1439
1440
1441
1442
1443
	* demo/viewer/property_widget.cc,
	* demo/viewer/property_widget.hh,
	* demo/viewer/domitem.cc,
	* demo/viewer/domitem.hh,
	* demo/viewer/dommodel.cc,
	* demo/viewer/dommodel.hh: Delete.
1444

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1445
	* demo/viewer/Makefile.am: Remove dependencies.
1446

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1447
1448
	* demo/viewer/browser_widget.cc: Fix, xmlc extension instead of
	xmle.
1449

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1450
1451
1452
1453
1454
1455
1456
1457
1458
	* demo/viewer/key_widget.cc,
	* demo/viewer/step_widget.cc,
	* demo/viewer/step_widget.hh,
	* demo/viewer/image_scene.cc,
	* demo/viewer/image_scene.hh,
	* demo/viewer/help_dialog.cc,
	* demo/viewer/image_region.cc,
	* demo/viewer/image_region.hh,
	* demo/viewer/image_region.hxx: Small changes.
1459

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1460
1461
1462
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Add base 64 cropped pictures support,
	text viewer and change XML parsing.
1463

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1464
1465
1466
	* demo/viewer/xml_widget.cc,
	* demo/viewer/xml_widget.hh: Change widget, tree and attributes
	are together.
1467

1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Base 64 support in Qt interface (xmlc extension)

	* demo/viewer/step_widget.cc
	* demo/viewer/step_widget.hh
	* demo/viewer/browser_widget.cc,
	* demo/viewer/browser_widget.hh: Add .xmlc extension.

	* demo/viewer/image_scene.cc
	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: base 64 loading.

1481
1482
1483
1484
1485
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	Two new features in Qt interface.

	* demo/viewer/browser_widget.cc,
1486
1487
	* demo/viewer/browser_widget.hh: Add arrows to change image and
	keep XML step.
1488
1489

	* demo/viewer/key_widget.cc,
1490
1491
	* demo/viewer/key_widget.hh: Change ListWidget to TreeWidget,
	Items can be disabled/enabled in groups.
1492
1493

	* demo/viewer/step_widget.cc,
1494
1495
	* demo/viewer/step_widget.hh: Small changes to keep the step when
	next/prev.  picture is chosen.
1496
1497
1498
1499

	* demo/viewer/viewer.cc,
	* demo/viewer/xml_widget.cc: Layout adjustement.

Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
1500
1501
1502
1503
2010-07-16  Arthur Crepin-Leblond   <crepin@ptaouchnok.lrde.epita.fr>

	ChangeLog mistake.

1504
1505
	* ChangeLog: Move 2010-07-08 entry in...
	* sandbox/ChangeLog:...this.
Arthur Crepin-Leblond's avatar
Arthur Crepin-Leblond committed
1506

1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
2010-06-30  Arthur Crepin-Leblond   <crepin@stockholm.lrde.epita.fr>

	Extended XML mode support.

	* scribo/demo/viewer/Makefile.am

	* demo/viewer/image_region.cc,
	* viewer/image_region.hh,
	* viewer/image_region.hxx: Change regions depths to have a
	hierarchy.

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

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

	* demo/viewer/viewer.cc,
	* demo/viewer/viewer.hh: Chnage XML parsing to support extended
	format.

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

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

	New features in Qt interface.

	* demo/viewer/browser_widget.hh: Improve picture browser.

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


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

	Change XML output (replacement of html markups).

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

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

	Add extensions to ICDAR XML format.

	* io/xml/save_text_lines.hh: Rename as...
	* io/xml/save.hh: ...this.

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

2010-07-05  Arthur Crepin-Leblond   <crepin@stockholm.lrde.epita.fr>

	Small fix in Qt interface.

1560
1561
	* demo/viewer/viewer.cc,
	* demo/viewer/image_region.hxx: Disable item click if
1562
1563
	unchecked in item list.

1564
1565
	* demo/viewer/key_widget.cc,
	* demo/viewer/key_widget.hh: Add KeyWidget::checkAll.
1566
1567


1568
1569
1570
1571
2010-08-27  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/Makefile.am (CLEANFILES): Fix invalid variable name.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1572
1573
1574
1575
1576
1577
1578
1579
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add scribo-cli script.

	* src/Makefile.am: Add new rules to generate scribo-cli.

	* src/scribo-cli.in: New.

1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Setup what to install with Scribo.

	* demo/viewer/Makefile.am: Do not install includes.

	* scribo.mk (utilexecdir): New variable.

	* src/Makefile.am,
	* src/binarization/Makefile.am: Install usefull binaries in
	utilexecdir.

	* src/contest/hdibco-2010/Makefile.am,
	* src/debug/Makefile.am,
	* src/filter/Makefile.am,
	* src/misc/Makefile.am,
	* src/postprocessing/Makefile.am,
	* src/preprocessing/Makefile.am,
	* src/primitive/extract/Makefile.am,
	* src/primitive/find/Makefile.am,
	* src/primitive/group/Makefile.am,
	* src/table/Makefile.am,
	* src/text/Makefile.am: Do not install theses binaries.

1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of autotroll in demo/review.

	* demo/review/Makefile.am: Make use of autotroll.

	* demo/review/src/mainwindow.cc: Remove useless includes.

	* demo/review/src/mainwindow.hh: Update include.

	* demo/review/review.pro: Remove since useless.

1616
1617
1618
1619
1620
1621
1622
1623
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Install Scribo headers in include/scribo.

	* Makefile.am: Update call to generate_dist_headers.sh.

	* headers.mk: Regen.

1624
1625
1626
1627
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/Makefile.am (EXTRA_DIST): Fix path to files.

1628
1629
1630
1631
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/Makefile.am (EXTRA_DIST): Add new files.

1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Re-enable 'table' directory in SUBDIRS.

	* src/Makefile.am,
	* tests/Makefile.am (SUBDIRS): Add table.

	* src/table/Makefile.am,
	* tests/table/Makefile.am: Disable tests.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
2010-10-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo

	* scribo/binarization/global_threshold.hh: Add a fixme.

	* scribo/binarization/global_threshold_auto.hh: Make the result
	consistent with other binarization methods.

	* scribo/preprocessing/deskew.hh: Use mln_min(V) as background
	value.

	* src/preprocessing/preprocess.cc: Do not negate anymore. Don't
	pass const nlabel value anymore.

1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
2010-10-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Add tests for objects filtering routines.

	* tests/filter/Makefile.am: Add targets.

	* tests/filter/components_large.cc,
	* tests/filter/components_small.cc: New.

	* tests/filter/small_and_large_bboxes.cc: Remove. Depracted.

1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
2010-10-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix objects filtering routines.

	* scribo/filter/objects_large.hh: Add an overload.

	* scribo/filter/objects_small.hh: Fix undefined variable.

	* scribo/fun/v2b/objects_large_filter.hh,
	* scribo/fun/v2b/objects_small_filter.hh: Correctly count the non
	filtered object.

1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
2010-08-31  Guillaume Lazzara  <z@lrde.epita.fr>

	Change return value for background in filtering functions.

	* scribo/filter/objects_h_thick.hh,
	* scribo/filter/objects_h_thin.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: Here.

	* scribo/fun/v2b/objects_large_filter.hh,
	* scribo/fun/v2b/objects_small_filter.hh: Here. Count the non
	filtered objects.

1697
1698
1699
1700
2010-08-31  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/text_in_doc_preprocess.hh: Add a new overload.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Rename examples.

	* src/binarization/Makefile.am: Rename targets.

	* src/binarization/fg_sauvola_ms.cc,
	* src/binarization/ppm_fg_sauvola_ms.cc: Rename as...

	* src/binarization/ppm_sauvola_ms_fg.cc,
	* src/binarization/sauvola_ms_fg.cc: ...this.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1713
1714
1715
1716
2010-08-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* headers.mk: Regen.

1717
1718
1719
1720
1721
1722
1723
1724
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a preprocessing toolchain.

	* scribo/toolchain/text_in_doc_preprocess.hh: New.

	* src/text_in_doc_preprocess.cc: Make use of this new toolchain.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1725
1726
1727
1728
1729
1730
1731
1732
1733
2010-08-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix namespace ambiguities.

	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold_image.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/subsampling/integral_single_image.hh: Add mln:: prefix.

1734
1735
1736
1737
2010-10-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/filter/object_links_bbox_w_ratio.hh: Rename arguments.

1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Support for Tesseract 2.x and 3.x in Scribo.

	* scribo/text/recognition.hh: Use the correct code depending on
	Tesseract version.

	* scribo/toolchain/nepomuk/text_extraction.hh: Add few comments
	about how to handle Tesseract versions.

	* src/Makefile.am,
	* src/text/Makefile.am,
	* src/toolchain/nepomuk/Makefile.am,
	* tests/toolchain/nepomuk/Makefile.am: Add path to config.h.

	* src/pbm_text_in_doc.cc,
	* src/text/pbm_lines_recognition.cc,
	* src/text/pbm_recognition.cc,
	* src/text_recognition_in_picture.cc,
	* src/toolchain/nepomuk/text_extraction.cc,
	* tests/toolchain/nepomuk/text_extraction.cc: Include config.h

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1760
1761
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1762
1763
1764
1765
1766
1767
1768
1769
	Cleanup files.

	* scribo/debug/usage.hh,
	* scribo/text/recognition.hh: Remove useless comments.

2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new example.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1770
1771
1772
1773
1774
1775
1776

	* src/Makefile.am: Add toolchain subdir.

	* src/toolchain/Makefile.am,
	* src/toolchain/nepomuk/Makefile.am,
	* src/toolchain/nepomuk/text_extraction.cc: New.

1777
1778
1779
1780
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/line_info.hh: Fix line statistics.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Update tests in Scribo.

	* tests/binarization/global_threshold.cc,
	* tests/binarization/local_threshold.cc,
	* tests/primitive/link/merge_double_link.cc: Fix tests.

	* tests/core/Makefile.am: Add a new test.

	* tests/core/line_info.cc: New.

	* tests/filter/small_and_large_bboxes.cc: Remove useless arguments.

	* tests/img/pixels.pbm: Update.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo

	* scribo/core/line_info.hh: Fix invalid extended bboxes.

	* src/text_in_doc_preprocess.cc: Do not invert data anymore.

	* tests/filter/objects_with_holes.cc: Remove useless arguments.

1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
2010-10-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new test for primitive::link::merge_double_link.

	* tests/img/pixels.pbm: New test image.

	* tests/Makefile.am (SUBDIRS): add primitive directory.

	* tests/primitive/Makefile.am,
	* tests/primitive/link/Makefile.am,
	* tests/primitive/link/merge_double_link.cc: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1819
1820
1821
1822
1823
1824
1825
1826
1827
2010-10-11  Guillaume Lazzara  <z@lrde.epita.fr>

	Negate Sauvola's result.

	* scribo/binarization/local_threshold.hh,
	* scribo/binarization/sauvola_ms.hh: Invert threshold test.

	* src/text_in_picture.cc: Do not negate Sauvola's output anymore.

1828
1829
1830
1831
1832
1833
1834
1835
2010-10-22  Roland Levillain  <roland@lrde.epita.fr>

	Require Tesseract for scribo/toolchain/text_in_doc.hh's unit test.

	* tests/unit_test/cond_tests_tesseract_tiff:
	Add scribo/toolchain/text_in_doc.hh.
	* tests/unit_test/unit-tests.mk: Regen.

1836
1837
1838
1839
1840
1841
1842
2010-10-20  Roland Levillain  <roland@lrde.epita.fr>

	Fix `link' name lookup in Scribo.

	* src/text_in_picture.cc: Help the C++ compiler not to mix up
	scribo::primitive::link with unistd.h's link(2).

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in Scribo

	* scribo/primitive/link/compute.hh: Update doc.

	* scribo/primitive/link/internal/link_single_dmax_base.hh
	(start_point_): Remove useless overload.

	* scribo/primitive/link/with_single_left_link_dmax_ratio.hh:
	Remove useless template parameter.

	* scribo/text/merging.hh: Disable debug.

	* scribo/toolchain/nepomuk/text_extraction.hh: Enable denoising
	and reduce Sauvola's window size.

1860
1861
1862
1863
1864
1865
1866
1867
1868
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix issues with object_links and ignored components.

	* scribo/filter/object_links_bbox_overlap.hh,
	* scribo/filter/object_links_bbox_ratio.hh,
	* scribo/filter/object_links_non_aligned_simple.hh,
	* scribo/primitive/link/merge_double_link.hh: Ignore invalid links.

1869
1870
1871
1872
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/component_set.hh: Fix component_set id type.

1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
2010-10-21  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of value::next routine in Scribo.

	* scribo/core/component_set.hh,
	* scribo/core/line_set.hh,
	* scribo/core/object_links.hh,
	* scribo/debug/highlight_text_area.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/filter/objects_with_holes.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/table/internal/align_lines.hh: Use value::next to replace
	evil casts.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
1887
1888
1889
1890
1891
1892
1893
1894
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.

1895
1896
1897
1898
1899
2010-08-24  Guillaume Lazzara  <z@lrde.epita.fr>

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

1900
1901
1902
1903
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

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

1904
1905
1906
1907
2010-08-13  Guillaume Lazzara  <z@lrde.epita.fr>

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

1908
1909
1910
1911
1912
2010-08-12  Guillaume Lazzara  <z@lrde.epita.fr>

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

1913
1914
1915
1916
1917
1918
1919
1920
1921
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.

1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
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.

1947
1948
1949
1950
1951
1952
1953
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
1954
1955
1956
1957
1958
1959
1960
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Update READMEs.

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

1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
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.

1988
1989
1990
1991
2010-08-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Move Scribo includes in a specific directory.

1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
	* 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...

2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
	* 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,
2386
	* scribo/upsampling/eagle.hh: ... here.
2387

2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
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.

2408
2409
2410
2411
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
2412
2413
2414
2415
2416
2417
2418
2419
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.

2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
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.

2442
2443
2010-08-09  Guillaume Lazzara  <z@lrde.epita.fr>

Guillaume Lazzara's avatar
Guillaume Lazzara committed
2444
2445
2446
2447