ChangeLog 288 KB
Newer Older
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
2014-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Remove useless parts from the Scribo documentation machinery.

	* doc/doxyfuns.sty,
	* doc/examples-outputs.mk,
	* doc/examples.mk,
	* doc/examples/dummy.cc,
	* doc/figures.mk,
	* doc/gen-examples-outputs-mk,
	* doc/gen-figures-mk,
	* doc/gen-make-variable,
	* doc/gen-split-examples-mk,
	* doc/gen-split-outputs-mk,
	* doc/graphicx.hva,
	* doc/outputs.mk,
	* doc/outputs/dummy.txt,
	* doc/programs-examples.mk,
	* doc/scribo.sty,
	* doc/split-examples.mk,
	* doc/split-outputs.mk,
	* doc/tools/todoxygen.sh,
	* doc/tutorial.tex:
	Remove.
	* doc/Makefile.am: Adjust and remove useless bits.

27
28
29
30
31
32
33
34
2014-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Remove mentions to trash/ directories in Scribo.

	* doc/gen-figures-mk,
	* doc/gen-split-outputs-mk:
	Here.

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
2014-06-19  Roland Levillain  <roland@lrde.epita.fr>

	Do not use mln_VAR in Scribo.

	* scribo/debug/text_areas_image.hh,
	* src/misc/dmap.cc,
	* src/misc/morpho.cc,
	* src/misc/rectangularity.cc,
	* src/primitive/group/group_from_rag.cc:
	Here.
	* scribo/filter/objects_with_holes.hh,
	* scribo/table/internal/repair_lines.hh,
	* src/text_recognition_in_picture.cc:
	Do not include mln/core/var.hh.

50
51
52
53
54
55
56
57
2014-06-18  Roland Levillain  <roland@lrde.epita.fr>

	Make src/primitive/group/group_from_rag.cc compile again.

	* src/primitive/group/group_from_rag.cc: Here.
	* src/primitive/group/Makefile.am (noinst_PROGRAMS):
	Add group_from_rag.

58
59
60
61
62
63
2014-06-17  Roland Levillain  <roland@lrde.epita.fr>

	Update the list of Scribo-related publications.

	* README (Bibliography): Here.

64
65
66
67
68
69
70
71
72
73
2014-03-31  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Improve scribo-cli's `--version' option.

	* src/scribo-cli.in: Move the shebang to the first line.
	(version): Do not hard-code the version number
	in scribo-cli.
	Rephrase the copyright owner for uniformity reasons.
	* src/Makefile.am (do_subst): Also substitute PACKAGE_VERSION.

74
75
76
77
78
79
80
81
82
83
84
2013-09-13  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Define flags in proper Makefile helpers.

	* common.mk (AM_CPPFLAGS): Remove -I$(top_builddir)/scribo and
	I$(top_builddir)/milena.
	Include this file...
	* doc/Makefile.am: ...here.
	(AM_CPPFLAGS): Remove.
	* tests/tests.mk (AM_CPPFLAGS): Add -I$(top_builddir)/scribo.

85
86
87
88
89
90
91
92
93
94
95
96
97
2013-09-12  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Remove `return 0;' statements at end of main().

	* src/text_in_picture.cc,
	* src/text_recognition_in_picture.cc,
	* tests/convert/base64.cc,
	* tests/estim/font_boldness.cc,
	* tests/estim/font_color.cc,
	* tests/toolchain/nepomuk/text_extraction.cc,
	* tests/util/component_precise_outline.cc:
	Here.

98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
2013-09-05  Roland Levillain  <roland@lrde.epita.fr>

	Exercise the multi-scale Sauvola binarization with a TIFF image.

	* tests/img/lena.tiff: New.
	Generated from Milena's lena.pgm using ImageMagick's convert.
	* tests/Makefile.am (EXTRA_DIST): Add img/lena.tiff.
	* tests/binarization/sauvola_ms_tiff.cc: New test.
	* tests/binarization/sauvola_ms_tiff.ref.pbm: New reference output
	image.
	* tests/binarization/Makefile.am (check_PROGRAMS) [HAVE_TIFF]:
	Add sauvola_ms_tiff.
	(sauvola_ms_tiff_CPPFLAGS, sauvola_ms_tiff_LDFLAGS) [HAVE_TIFF]:
	New.
	(EXTRA_DIST): Add sauvola_ms_tiff.ref.pbm.

114
115
116
117
118
119
120
121
122
2013-09-11  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Fix the use of QT_LIBS.

	* src/toolchain/nepomuk/Makefile.am
	(text_extraction_LDFLAGS): Move $(QT_LIBS)...
	(text_extraction_LDADD): ...here.
	Add $(LDADD).

123
124
125
126
127
128
2013-09-11  Roland Levillain  <roland@lrde.epita.fr>

	Regen Scribo's unit-tests.mk.

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

129
130
131
132
133
134
135
136
2013-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Remove lines `VARIABLE = @VARIABLE@' from Makefile.am's.

	* scribo.mk,
	* tests/tests.mk:
	Here, as Automake 1.11+ already takes care of this.

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
2013-09-09  Roland Levillain  <roland@lrde.epita.fr>

	Scribo: Do not look for headers in the build tree uselessly.

	* doc/Makefile.am (AM_CPPFLAGS): Remove Scribo's build dir from
	the file inclusion path.
	* src/Makefile.am
	(pbm_text_in_doc_CPPFLAGS, text_recognition_in_picture_CPPFLAGS)
	* src/contest/DAE-2011/Makefile.am
	(content_in_hdoc_dae_CPPFLAGS, content_in_hdoc_dae_CPPFLAGS)
	* src/contest/hbr-2013/Makefile.am (content_in_hdoc_hbr_CPPFLAGS)
	* src/contest/hdlac-2011/Makefile.am (content_in_hdoc_hdlac_CPPFLAGS)
	* src/contest/hnla-2013/Makefile.am (content_in_hdoc_hnla_CPPFLAGS)
	* src/text/Makefile.am
	(pbm_lines_recognition_CPPFLAGS, pbm_recognition_CPPFLAGS)
	* src/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS)
	* tests/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS):
	Remove -I$(top_builddir).
	* 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
	[HAVE_CONFIG_H]: Do not include config.h.

163
164
165
166
167
168
169
170
2013-08-30  Roland Levillain  <roland@lrde.epita.fr>

	Simplify even more Scribo Makefiles thanks to AM_DEFAULT_SOURCE_EXT.

	* src/Makefile.am,
	* src/binarization/Makefile.am:
	Here.

171
172
173
174
175
176
2013-08-29  Roland Levillain  <roland@lrde.epita.fr>

	Fix inclusion paths in Scribo.

	* demo/viewer/Makefile.am: Here.

177
178
179
180
181
182
183
184
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Use mln::math::pi instead of a macro-based definition in Scribo.

	* scribo/preprocessing/deskew.hh
	(scribo::preprocessing::internal::perform_deskew): Here.
	(PI): Remove macro.

185
186
187
188
189
190
191
192
193
194
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Do not declare main()'s arguments if they are not used.

	* tests/preprocessing/crop.cc,
	* tests/preprocessing/crop_without_localization.cc,
	* tests/preprocessing/deskew.cc,
	* tests/preprocessing/rotate_90.cc:
	Here.

Roland Levillain's avatar
Roland Levillain committed
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Remove dead code in Scribo.

	* scribo/afp/components.hh,
	* scribo/estim/components_features.hh,
	* scribo/filter/objects_with_holes.hh,
	* scribo/filter/separators_in_borders.hh,
	* scribo/io/xml/load.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
	* scribo/primitive/extract/non_text.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/text/clean_inplace.hh,
	* scribo/text/extract_paragraphs_hdoc.hh,
	* scribo/text/merging.hh:
	Here.

214
215
216
217
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Display Scribo errors on std::cerr, not std::cout.

Roland Levillain's avatar
Roland Levillain committed
218
219
	* scribo/text/merging.hh,
	* scribo/text/recognition.hh:
220
221
	Here.

222
223
224
225
226
227
228
229
230
231
232
2013-08-27  Roland Levillain  <roland@lrde.epita.fr>

	Remove Scribo debug code making side effects on streams.

	* scribo/core/line_set.hh,
	* scribo/core/object_groups.hh,
	* scribo/core/paragraph_set.hh,
	* scribo/preprocessing/deskew_crop.hh,
	* scribo/primitive/extract/non_text_kmean.hh:
	Here.

233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
2013-08-26  Roland Levillain  <roland@lrde.epita.fr>

	Improve the generation of Doxyfiles in Scribo.

	* doc/Makefile.am (edit)
	($(srcdir)/user-refman.stamp)
	($(srcdir)/devel-refman.stamp):
	Use `[@]' instead of `\@' for portability reasons.
	(ID): New (empty).
	(edit_devel): Prevent configure from expanding @builddir@.
	Christen the product as ``Developer documentation''.
	($(DOXYFILE_USER), $(DOXYFILE_DEVEL)): Do not depend on $Id$ from
	ChangeLog.
	* doc/Doxyfile.in (PROJECT_NUMBER): Reintegrate @ID@ to the
	project number, even if it is not yet set.

249
250
251
252
253
254
255
256
257
258
2013-08-22  Roland Levillain  <roland@lrde.epita.fr>

	Slightly improve Scribo's tests/primitive/extract/alignments.cc.

	* tests/primitive/extract/alignments.cc (main): Pass an actual
	literal float as second argument to
	scribo::primitive::extract::alignments.
	Add a Doxygen header.
	Cosmetic changes.

259
260
261
262
2013-08-22  Roland Levillain  <roland@lrde.epita.fr>

	* scribo/primitive/extract/alignments.hh: Fix Doxygen comments.

263
264
265
266
267
268
269
2013-07-31  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distribution of Scribo.

	* src/Makefile.am (EXTRA_DIST): Remove afp/components.hh,
	afp/link.hh and afp/regroup.hh.

270
271
272
273
274
275
276
277
278
279
280
2013-07-30  Roland Levillain  <roland@lrde.epita.fr>

	Fix resizing code in toolchain::internal::text_in_picture_functor.

	* scribo/toolchain/internal/text_in_picture_functor.hh
	(text_in_picture_functor<I>::get_factor): New precondition: ensure
	argument `max_dim_size', used as denominator, is non null.
	(text_in_picture_functor<I>::operator()): Do not resize the image
	if `max_dim_size' is null.
	Some cosmetic changes.

281
282
283
284
285
286
287
288
289
290
2013-07-30  Roland Levillain  <roland@lrde.epita.fr>

	Add missing `mln' namespace qualifiers.

	* scribo/filter/object_groups_with_holes.hh
	(scribo::filter::impl::generic::object_groups_with_holes)
	* scribo/primitive/regroup/from_single_left_link.hh
	(regroup::from_single_left_link(const object_groups<L>&, unsigned)):
	Here.

291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
2013-07-30  Roland Levillain  <roland@lrde.epita.fr>

	Move to-be-installed header files from src/ to scribo/.

	* src/afp/components.hh,
	* src/afp/link.hh,
	* src/afp/regroup.hh:
	Move files...
	* scribo/afp/components.hh,
	* scribo/afp/link.hh,
	* scribo/afp/regroup.hh:
	...here, as they are included by other files located under
	scribo/, and therefore should be installed as well.
	* scribo/toolchain/internal/text_in_picture_functor.hh,
	* src/text_recognition_in_picture.cc:
	Adjust.
	* headers.mk,
	* tests/unit_test/unit-tests.mk:
	Regen.

311
312
313
314
315
316
317
2013-07-29  Roland Levillain  <roland@lrde.epita.fr>

	Lift scribo::document's dependency on Magick++.

	* scribo/core/document.hh [SCRIBO_NMAGICK]: Disable everything
	related to mln::io::magick.

318
319
320
321
2013-06-25  Roland Levillain  <roland@lrde.epita.fr>

	* scribo/text/recognition.hh: Aesthetic changes.

322
323
324
325
326
327
2013-06-25  Roland Levillain  <roland@lrde.epita.fr>

	Restrict workaround-related locale changes to LC_NUMERIC.

	* scribo/text/recognition.hh: Here.

328
329
330
331
332
333
2013-06-25  Roland Levillain  <roland@lrde.epita.fr>

	More locale-related Tesseract workarounds.

	* scribo/text/recognition.hh: Here.

334
335
336
337
338
339
340
341
2013-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Provide default arguments in function declarations only.

	* scribo/core/line_info.hh (scribo::line_info<L>::update_text)
	* scribo/text/recognition.hh (scribo::text::recognition):
	Here.

Roland Levillain's avatar
Roland Levillain committed
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
2013-06-20  Roland Levillain  <roland@lrde.epita.fr>

	Disable unused arguments.

	* scribo/binarization/internal/local_threshold_core.hh
	(scribo::binarization::internal::impl::generic::local_threshold_core)
	* scribo/core/internal/doc_serializer.hh
	(scribo::doc_serializer<E>::visit)
	* scribo/filter/internal/component_aligned.hh
	(scribo::filter::internal::component_aligned)
	* scribo/filter/internal/compute.hh
	(scribo::filter::internal::compute)
	* scribo/primitive/link/internal/link_functor_base.hh
	(internal::link_functor_base<L,E>::start_processing_object_)
	* scribo/util/init_integral_image.hh
	(scribo::util::impl::generic::init_integral_image):
	Here.

360
361
362
363
364
365
366
367
368
2013-06-14  Roland Levillain  <roland@lrde.epita.fr>

	Shell-related portability fixes in Scribo's Makefiles.

	* doc/Makefile.am: Rewrite patterns ``perl X `find Y''' as
	``find Y -exec perl X {} \;'' to avoid long `perl' command lines and
	please the shell.
	Wrap some long lines.

369
370
371
372
373
374
375
376
377
378
2013-06-17  Roland Levillain  <roland@lrde.epita.fr>

	Use `perl -pi' instead of `sed -i' in Scribo.

	* doc/Makefile.am,
	* doc/tools/todoxygen.sh:
	Here, as `sed -i' (with no backup file) behaves differently on
	GNU/Linux and Mac OS X.  For more information, see:
	http://stackoverflow.com/questions/5694228/.

379
380
381
382
2013-04-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms_split.hh: Make use of all arguments.

383
384
385
386
387
2013-04-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/src/text_in_picture.cc: Add more debug options fix return
	value in main().

388
389
390
391
392
2013-04-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/toolchain/internal/text_in_picture_functor.hh: Rename
	debug outputs.

393
394
395
396
2013-04-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* src/primitive/extract/lines_pattern.cc: Fix description.

397
398
399
400
401
402
403
404
2013-02-27  Anthony Seure  <anthony.seure@lrde.epita.fr>

	Fix different forward declarations (class/struct) in scribo/core.

	* scribo/core/component_set.hh,
	* scribo/core/line_set.hh:
	Here.

405
406
407
408
409
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/object_links.hh: Always initialize links in
	non-default constructors.

410
411
412
413
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/component_set.hh: Adjust memory pre-allocation size.

414
415
416
417
418
419
420
421
422
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Enhance documentation in scribo.

	* scribo/core/component_set.hh,
	* scribo/core/object_links.hh: Add missing member documentation.

	* scribo/debug/logger.hh: Fix an invalid object reference.

423
424
425
426
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/component_set.hh: Hide internal API.

427
428
429
430
431
432
433
434
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	Move documentation of component_set in its corresponding header.

	* doc/scribo/core/component_set.dox: Remove and move documentation...

	* scribo/core/component_set.hh: ... here.

435
436
437
438
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Doxyfile.in: Expand more macros.

439
440
441
442
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Doxyfile.in: Exclude internal symbols from documentation.

443
444
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

Roland Levillain's avatar
Roland Levillain committed
445
	* doc/Doxyfile.in: Fix include paths in documentation.
446

447
448
449
450
451
2013-04-17  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/util/component_precise_outline.hh: Check if sites are
	part of the image.

452
453
454
455
2013-04-12  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Makefile.am: Remove duplicate '/' in path.

456
457
458
459
2013-04-12  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Makefile.am: Fix path to documentation.

460
461
462
463
464
465
466
2013-04-12  Guillaume Lazzara  <z@lrde.epita.fr>

	Use relative paths in documentation.

	* doc/Doxyfile.in,
	* doc/Makefile.am: Here.

467
468
469
470
2013-04-10  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/Makefile.am: Fix permissions on documentation files.

471
472
473
474
475
476
477
2013-04-10  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix path to other documentations.

	* doc/Doxyfile.in,
	* doc/Makefile.am: Here.

478
479
480
481
482
2013-04-09  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/primitive/extract/Makefile.am: Add more files in
	EXTRA_DIST.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
483
484
485
486
487
2013-04-09  Guillaume Lazzara  <z@lrde.epita.fr>

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

488
489
490
491
2013-04-08  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/filter/objects_in_borders.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
492
493
494
495
496
497
498
499
500
2013-04-04  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix binarization tests.

	* tests/Makefile.am: Add more files in EXTRA_DIST.
	* tests/binarization/niblack.cc,
	* tests/binarization/wolf.cc: Load reference file instead of
	saving it.

501
502
503
504
505
506
507
2013-04-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix component_set comparison.

	* scribo/core/component_info.hh,
	* scribo/core/component_set.hh: Here.

508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
2013-04-02  Guillaume Lazzara  <lazzara@caroussel.lrde.epita.fr>

	Improve time logging in Scribo.

	* scribo/debug/logger.hh: Use a stack to handle several
	simultaneous logs.

	* scribo/binarization/sauvola_ms.hh: Fix an invalid time stop.

	* scribo/binarization/internal/local_threshold_core.hh,
	* src/binarization/sauvola.cc,
	* src/binarization/sauvola_ms.cc,
	* src/binarization/sauvola_ms_debug.cc: Rename time logging
	functions.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
523
524
525
526
527
528
529
530
531
532
533
534
535
2013-03-26  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in scribo.

	* scribo/core/line_set.hh: Add update_types().

	* scribo/core/paragraph_info.hh: Set paragraph as valid when a
	line is added.

	* scribo/core/paragraph_set.hh: Add a forward declaration.

	* scribo/text/link_lines.hh: Add more documentation.

536
537
538
539
2013-03-26  Guillaume Lazzara  <z@lrde.epita.fr>

	* tests/binarization/Makefile.am: Fix EXTRA_DIST file names.

Roland Levillain's avatar
Roland Levillain committed
540
541
542
543
544
545
546
2013-03-04  Roland Levillain  <roland@lrde.epita.fr>

	Fix inclusion paths.

	* common.mk (AM_CPPFLAGS): Add paths to scribo/ dirs instead of
	top-level dirs.

547
548
549
550
551
552
553
554
555
556
557
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Add ICDAR contests related source code.

	* src/contest/Makefile.am: Add subdirs.

	* src/contest/hbr-2013/Makefile.am,
	* src/contest/hbr-2013/content_in_hdoc_hbr.cc,
	* src/contest/hnla-2013/Makefile.am,
	* src/contest/hnla-2013/content_in_hdoc_hnla.cc: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
558
559
560
561
562
563
564
565
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix some preconditions.

	* scribo/core/document.hh: Relax some preconditions.

	* scribo/primitive/extract/alignments.hh: New precondition.

566
567
568
569
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

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

570
571
572
573
2013-03-25  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/core/document.hh: Add more assertions.

574
575
576
577
578
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/primitive/link/with_single_left_link_dmax_ratio_aligned.hh:
	Fix an invalid forward declaration.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
579
580
581
582
583
584
585
586
587
588
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/binarization/internal/global_max_stddev_functor.hh:
	Remove reference to mln namespace.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
589
590
591
592
593
594
595
596
597
598
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/binarization/all.hh: Add missing includes.

	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh: Add
	input image as attribute.

599
600
601
602
603
604
605
606
607
2013-03-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Share a functor used in Wolf's binarization.

	* scribo/binarization/internal/global_max_stddev_functor.hh: New.

	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh: Remove functor declaration.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
608
609
610
611
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	* headers.mk: Regen.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
612
613
614
615
616
617
618
619
620
621
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* demo/viewer/image_region.hh: Add Q_INTERFACES.

	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/singh_functor.hh: Fix declaration
	of init() member.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
622
623
624
625
626
627
628
629
630
631
632
633
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* scribo/primitive/extract/lines_h_single.hh: Fix an invalid
	function name.

	* scribo/text/extract_paragraphs_hdoc.hh: Remove useless inline
	keyword.

	* scribo/toolchain/text_in_doc_preprocess.hh: Fix argument name.

634
635
636
637
638
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/binarization/sauvola_ms.hh: Add a new overload and
	preconditions.

639
640
641
642
643
644
645
646
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve documentation layout.

	* doc/Doxyfile.in: Improve member functions presentation.

	* doc/DoxygenLayout.xml: Fix invalid xml elements.

647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve documentation of Scribo.

	* doc/scribo/binarization/binarization.dox,
	* doc/scribo/binarization/kim.dox,
	* doc/scribo/binarization/otsu.dox,
	* doc/scribo/binarization/wolf.dox,
	* doc/scribo/core/component_set.dox,
	* doc/scribo/filter/component_groups.dox,
	* doc/scribo/filter/component_links.dox,
	* doc/scribo/filter/components.dox,
	* doc/scribo/filter/elements.dox,
	* doc/scribo/filter/line_links.dox,
	* doc/scribo/filter/paragraphs.dox,
	* doc/scribo/primitive/extract/separators.dox,
	* scribo/core/component_info.hh,
	* scribo/core/tag/component.hh: Add more documentation.

	* doc/scribo/layout/layout.dox,
	* doc/scribo/namespaces.dox,
	* doc/scribo/primitive/extract/components.dox,
	* doc/scribo/primitive/extract/extract.dox: New.

	* scribo/binarization/internal/local_threshold_core.hh,
	* scribo/binarization/internal/singh_formula.hh,
	* scribo/binarization/kim.hh,
	* scribo/binarization/niblack_fast.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/otsu.hh,
	* scribo/binarization/otsu_threshold.hh,
	* scribo/binarization/sauvola_ms_split.hh,
	* scribo/binarization/singh.hh,
	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh,
	* scribo/core/component_set.hh,
	* scribo/core/concept/serializable.hh,
	* scribo/core/object_links.hh,
	* scribo/debug/logger.hh,
	* scribo/filter/paragraphs_in_borders.hh,
	* scribo/filter/separators_in_borders.hh,
	* scribo/filter/separators_vert_in_borders.hh,
	* scribo/layout/xy_cut.hh,
	* scribo/primitive/extract/components.hh,
	* scribo/primitive/extract/lines_v_single.hh,
	* scribo/subsampling/bilinear.hh,
	* scribo/text/merging_hdoc.hh: Fix existing documentation.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Replace \fixme with FIXME.

	* scribo/binarization/global_threshold_auto.hh,
	* scribo/binarization/internal/niblack_formula.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_threshold.hh,
	* scribo/core/component_set.hh,
	* scribo/core/line_info.hh,
	* scribo/filter/images_in_paragraph.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/preprocessing/deskew.hh,
	* scribo/primitive/extract/internal/union.hh,
	* scribo/primitive/extract/non_text.hh,
	* scribo/primitive/extract/non_text_hdoc.hh,
	* scribo/primitive/extract/non_text_kmean.hh,
	* scribo/primitive/link/internal/find_several_links.hh,
	* scribo/primitive/link/internal/link_functor_base.hh,
	* scribo/primitive/link/merge_double_link_closest_aligned.hh: Here.

717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
2013-03-20  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix an invalid initialization in several binarization algorithms.

	* scribo/binarization/internal/local_threshold_core.hh: Fix doc.

	* scribo/binarization/internal/niblack_functor.hh,
	* scribo/binarization/internal/niblack_functor_fast.hh,
	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/sauvola_functor.hh,
	* scribo/binarization/internal/sauvola_ms_functor.hh,
	* scribo/binarization/internal/sauvola_threshold_functor.hh,
	* scribo/binarization/internal/singh_functor.hh,
	* scribo/binarization/internal/wolf_functor.hh,
	* scribo/binarization/internal/wolf_functor_fast.hh,
	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh: Add init() member and more
	assertions.

	* scribo/canvas/integral_browsing.hh: Call init() function.

738
739
740
741
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	* scribo/debug/links_image.hh: Make use of object_link interface.

742
743
744
745
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	* demo/xml2doc/main.cc: Kill warnings.

746
747
748
749
750
751
752
753
754
755
756
757
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of mln_trace_warning in Scribo.

	* scribo/canvas/integral_browsing.hh,
	* scribo/filter/internal/alignment_angle.hh,
	* scribo/io/img/save.hh,
	* scribo/io/xml/save.hh,
	* scribo/make/debug_filename.hh,
	* scribo/primitive/extract/alignments.hh,
	* scribo/primitive/link/internal/compute_anchor.hh: Here.

758
759
760
761
762
763
764
765
766
767
768
769
770
2013-03-19  Guillaume Lazzara  <z@lrde.epita.fr>

	Remove last references to mln::trace::*.

	* demo/xml2doc/main.cc,
	* scribo/make/debug_filename.hh,
	* scribo/primitive/identify.hh,
	* src/afp/regroup.hh,
	* src/misc/negate.cc,
	* src/misc/superpose.cc,
	* src/preprocessing/split_bg_fg.cc,
	* src/preprocessing/unskew.cc: Here.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
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
2013-03-15  Guillaume Lazzara  <z@lrde.epita.fr>

	Make use of mln_trace.

	* scribo/binarization/global_threshold.hh,
	* scribo/binarization/global_threshold_auto.hh,
	* scribo/binarization/internal/local_threshold_core.hh,
	* scribo/binarization/kim.hh,
	* scribo/binarization/local_threshold.hh,
	* scribo/binarization/niblack.hh,
	* scribo/binarization/niblack_fast.hh,
	* scribo/binarization/niblack_threshold.hh,
	* scribo/binarization/otsu.hh,
	* scribo/binarization/otsu_threshold.hh,
	* scribo/binarization/sauvola.hh,
	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_ms_split.hh,
	* scribo/binarization/sauvola_threshold.hh,
	* scribo/binarization/singh.hh,
	* scribo/binarization/wolf.hh,
	* scribo/binarization/wolf_fast.hh,
	* scribo/convert/from_base64.hh,
	* scribo/convert/to_base64.hh,
	* scribo/core/central_sites.hh,
	* scribo/core/erase_objects.hh,
	* scribo/core/init_integral_image.hh,
	* scribo/debug/alignment_decision_image.hh,
	* scribo/debug/bboxes_enlarged_image.hh,
	* scribo/debug/bboxes_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/linked_bboxes_image.hh,
	* scribo/debug/links_decision_image.hh,
	* scribo/debug/links_image.hh,
	* scribo/debug/looks_like_a_text_line_image.hh,
	* scribo/debug/mean_and_base_lines_image.hh,
	* scribo/debug/save_comp_diff.hh,
	* scribo/debug/save_label_image.hh,
	* scribo/debug/save_table_image.hh,
	* scribo/debug/text_areas_image.hh,
	* scribo/draw/bounding_box_links.hh,
	* scribo/draw/bounding_boxes.hh,
	* scribo/draw/groups_bboxes.hh,
	* scribo/draw/line_components.hh,
	* scribo/estim/components_features.hh,
	* scribo/estim/font_boldness.hh,
	* scribo/estim/font_color.hh,
	* scribo/estim/internal/compute_skeleton.hh,
	* scribo/estim/object_groups_mean_width.hh,
	* scribo/filter/common/objects_photo.hh,
	* scribo/filter/images_in_paragraph.hh,
	* scribo/filter/internal/alignment_angle.hh,
	* scribo/filter/internal/component_aligned.hh,
	* scribo/filter/internal/compute.hh,
	* scribo/filter/object_groups_mean_width.hh,
	* scribo/filter/object_groups_size_ratio.hh,
	* scribo/filter/object_groups_small.hh,
	* scribo/filter/object_groups_with_holes.hh,
	* scribo/filter/object_links_aligned.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_on_border.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/filter/paragraphs_bbox_overlap.hh,
	* scribo/filter/paragraphs_in_borders.hh,
	* scribo/filter/paragraphs_in_image.hh,
	* scribo/filter/separators_in_borders.hh,
	* scribo/filter/separators_in_element.hh,
	* scribo/filter/separators_in_paragraph.hh,
	* scribo/filter/separators_vert_in_borders.hh,
	* scribo/io/img/save.hh,
	* scribo/io/text_boxes/save.hh,
	* scribo/io/xml/internal/save_image_to_xml.hh,
	* scribo/io/xml/save.hh,
	* scribo/layout/xy_cut.hh,
	* scribo/make/influence_zone_graph.hh,
	* scribo/make/text_blocks_image.hh,
	* scribo/make/text_components_image.hh,
	* scribo/postprocessing/fill_object_holes.hh,
	* scribo/postprocessing/images_to_drop_capital.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/extract/alignments.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_h_thick_and_thin.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/non_text.hh,
	* scribo/primitive/extract/non_text_hdoc.hh,
	* scribo/primitive/extract/non_text_kmean.hh,
	* scribo/primitive/extract/separators.hh,
	* scribo/primitive/extract/separators_nonvisible.hh,
	* scribo/primitive/extract/vertical_separators.hh,
	* scribo/primitive/group/apply.hh,
	* scribo/primitive/group/from_double_link.hh,
	* scribo/primitive/group/from_double_link_any.hh,
	* scribo/primitive/group/from_graph.hh,
	* scribo/primitive/group/from_single_link.hh,
	* scribo/primitive/identify.hh,
	* scribo/primitive/internal/find_graph_link.hh,
	* scribo/primitive/internal/rd.hh,
	* scribo/primitive/internal/update_graph_link.hh,
	* scribo/primitive/link/compute.hh,
	* scribo/primitive/link/compute_several.hh,
	* scribo/primitive/link/merge_double_link.hh,
	* scribo/primitive/link/merge_double_link_closest_aligned.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_left_link_dmax_ratio_aligned.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_dmax_ratio_aligned.hh,
	* scribo/primitive/link/with_single_right_link_top.hh,
	* scribo/primitive/link/with_single_up_link.hh,
	* scribo/primitive/merge/components.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/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/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/clean.hh,
	* scribo/text/clean_inplace.hh,
	* scribo/text/extract_lines.hh,
	* scribo/text/extract_lines_with_features.hh,
	* scribo/text/extract_lines_wo_merge.hh,
	* scribo/text/look_like_text_lines.hh,
	* scribo/text/paragraphs_closing.hh,
	* scribo/text/recognition.hh,
	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
	* scribo/toolchain/nepomuk/text_extraction.hh,
	* scribo/toolchain/text_in_doc_preprocess.hh,
	* scribo/toolchain/text_in_picture.hh,
	* scribo/upsampling/bs2x.hh,
	* scribo/upsampling/eagle.hh,
	* scribo/util/box_intersection.hh,
	* scribo/util/box_is_included.hh,
	* scribo/util/component_precise_outline.hh,
	* scribo/util/compute_sub_domains.hh,
	* scribo/util/hex_to_color.hh,
	* scribo/util/init_integral_image.hh,
	* src/binarization/global_threshold.cc,
	* src/binarization/kim.cc,
	* src/binarization/niblack.cc,
	* src/binarization/otsu.cc,
	* src/binarization/pgm_global_threshold_auto.cc,
	* src/binarization/pgm_niblack_threshold_image.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/binarization/sauvola_ms_split.cc,
	* src/binarization/singh.cc,
	* src/binarization/wolf.cc,
	* src/content_in_doc.cc,
	* src/content_in_hdoc.cc,
	* src/contest/DAE-2011/content_in_doc_dae.cc,
	* src/contest/DAE-2011/content_in_hdoc_dae.cc,
	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
	* src/debug/highlight_text_area.cc,
	* src/debug/show_info_median_inter_characters.cc,
	* src/debug/show_info_x_height.cc,
	* src/debug/show_lines_boldness.cc,
	* src/debug/show_objects_large.cc,
	* src/debug/show_objects_large_small.cc,
	* src/debug/show_objects_small.cc,
	* src/debug/show_objects_thick.cc,
For faster browsing, not all history is shown. View entire blame