ChangeLog 1.57 MB
Newer Older
1
2
3
4
5
6
7
8
9
10
2009-09-28  Roland Levillain  <roland@lrde.epita.fr>

	Miscellaneous corrections to complex_window_base.

	* mln/core/internal/complex_window_base.hh: Add missing inline
	keywords.
	(complex_window_base<D, G, F, B, E>::geom): New typedef.
	(complex_window_base<D, G, F, B, E>::is_valid): Improve
	documentation.

11
12
13
14
15
16
17
18
19
20
21
22
23
24
2009-09-25  Roland Levillain  <roland@lrde.epita.fr>

	Add non-centered complex windows.

	* mln/core/image/complex_windows.hh (mln_gen_complex_window):
	New (generator) macro.
	(complex_lower_window)
	(complex_higher_window)
	(complex_lower_higher_window)
	(complex_lower_dim_connected_n_face_window)
	(complex_higher_dim_connected_n_face_window)
	(complex_m_face_window):
	New classes.

25
26
27
28
29
30
31
32
33
2009-09-25  Roland Levillain  <roland@lrde.epita.fr>

	Prepare the factoring of complex windows generators.

	* mln/core/image/complex_windows.hh
	(mln_gen_complex_window_with_base): New macro.
	Use it to factor...
	(mln_gen_complex_window_p): ...this macro.

34
35
36
37
38
39
2009-09-25  Roland Levillain  <roland@lrde.epita.fr>

	Rename mln::complex_m_face_window as mln::complex_m_face_window_p.

	* mln/core/image/complex_windows.hh: Here.

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
2009-09-25  Roland Levillain  <roland@lrde.epita.fr>

	Refactor complex_window_p_base using complex_window_base.

	* mln/core/internal/complex_window_p_base.hh
	(complex_window_p_base): Inherit from complex_window_p_base.
	(trait::window_< mln::internal::complex_window_p_base<D, G, F, B, E>)
	Adjust traits.
	Remove all typedefs and methods.
	(complex_window_p_base::complex_window_p_base): New ctor.
	* mln/core/image/complex_windows.hh (mln_gen_complex_window):
	Rename (internal) macro as..
	(mln_gen_complex_window_p): ...this.
	Adjust.

55
56
57
58
59
60
2009-09-25  Roland Levillain  <roland@lrde.epita.fr>

	Introduce a base class for general complex windows.

	* mln/core/internal/complex_window_base.hh: New.

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
2009-09-25  Roland Levillain  <roland@lrde.epita.fr>

	Replace ad hoc code by Milena's in apps/graph-morpho.

	* apps/graph-morpho/morpho.hh
	(dilation(const mln::Image<I>&, const mln::Neighborhood<N>&))
	(erosion(const mln::Image<I>&, const mln::Neighborhood<N>&)):
	Remove functions.
	(dilation_e2v(const mln::Image<I>&))
	(erosion_v2e(const mln::Image<I>&))
	(erosion_e2v(const mln::Image<I>&))
	(dilation_v2e(const mln::Image<I>&)):
	Use mln::dilation and mln::erosion instead of these ad hoc
	dilation and erosion routines.
	Use mln::image_if and mln::extend instead of the ad hoc
	image_if_large.

78
79
80
81
82
83
84
85
86
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add test for dual input and fix p_transformed test.
	*  core/site_set/p_transformed.cc: Add inverse and typedefs.
	*  morpho/tree/Makefile.am,
	*  morpho/tree/dual_input_tree.cc,
	Add dual input tree tests.
	*  morpho/tree/filter/filter.cc: Minor changes.

87
88
89
90
91
92
93
94
95
96
97
98
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add fast version of dual input max tree computation and fix.
	*  morpho/tree/all.hh: Update.
	*  morpho/tree/compute_parent_dual_input.hh: Remove.
	*  morpho/tree/data.hh: Fix constructors.
	*  morpho/tree/dual_input_tree.hh: Add dispatches for
	generic / low quantized algorithms.
	*  morpho/tree/impl/dual_hqueue.hh: New.
	*  morpho/tree/impl/dual_union_find.hh: New.
	*  morpho/tree/impl: New.

99
100
101
102
103
104
105
106
107
108
109
110
111
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Fix non generic stuff in translation function and fix transform morpher.
	*  core/image/imorph/tr_image.hh,
	*  core/site_set/p_transformed.hh,
	*  core/site_set/p_transformed_piter.hh:
	Make them less strict with function return type. Allow
	functions having values that can be converted in the requested
	site. (ex: vector<1, u> -> point1d).
	*  fun/p2p/translation.hh: Add argument type definition.
	*  fun/x2x/translation.hh: Add inverse function.
	*  geom/translate.hh: Fix non generic stuff and bug.

112
113
114
115
116
117
118
119
120
121
122
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add hierarchical queues for Salembier's algorithm.
	*  core/site_set/p_queue_fast.hh: Add empty method.
	*  util/all.hh: Update.
	*  util/hqueues.hh: New.
	*  value/all.hh: Update.
	*  value/value_array.hh: New. Create an array indexed by
	a given type. (Similar to histo::array but the
	values are not limited to unsigned type).

Guillaume Lazzara's avatar
Guillaume Lazzara committed
123
124
125
126
127
128
129
130
131
132
133
134
2009-09-25 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes.

	* doc/examples/Makefile.am: Fix invalid source filename.

	* mln/fun/from_accu.hh: Fix guard.

	* mln/linear/gaussian_directional_2d.hh: Fix a warning.

	* tests/accu/pair.cc: revamp header.

135
136
137
2009-09-24  Fabien Freling  <fabien.freling@lrde.epita.fr>

	Add correct reference for HSL to RGB conversion.
Roland Levillain's avatar
Roland Levillain committed
138
	* mln/fun/v2v/hsl_to_rgb.hh: Add correct reference for HSL
139
140
	to RGB conversion.

141
142
143
144
145
146
147
2009-09-24  Roland Levillain  <roland@lrde.epita.fr>

	Fix usage message of apps/constrained-connectivity.

	* apps/constrained-connectivity/constrained-connectivity.cc (main):
	s/input.pbm/input.pgm/.

148
149
150
151
152
153
154
155
156
2009-09-24  Roland Levillain  <roland@lrde.epita.fr>

	Re-enable the test on constrained connectivity.

	* apps/constrained-connectivity/test-constrained-connectivity.in:
	New.
	* apps/constrained-connectivity/Makefile.am (TESTS): New.
	Add test-constrained-connectivity.

157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
2009-09-24  Roland Levillain  <roland@lrde.epita.fr>

	Move the experiment on constrained connectivity out of my sandbox.

	* apps/constrained-connectivity/: New directory.
	* sandbox/roland/constrained-connectivity.cc,
	* sandbox/roland/soille.pgm:
	Move files...
	* apps/constrained-connectivity/constrained-connectivity.cc,
	* apps/constrained-connectivity/soille.pgm:
	...here.
	* sandbox/roland/Makefile: Adjust.
	* apps/constrained-connectivity/Makefile.am: New.
	* apps/Makefile.am (SUBDIRS): Add constrained-connectivity.

172
173
174
175
176
177
178
179
180
2009-09-24  Roland Levillain  <roland@lrde.epita.fr>

	Use mln::world::inter_pixel instead of cplx2d.hh.

	* apps/graph-morpho/morpho.hh: Here.
	* apps/graph-morpho/make_complex2d.hh (unmake_complex2d):
	Adjust as well.
	* apps/graph-morpho/cplx2d.hh: Remove symlink.

181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
2009-09-24  Roland Levillain  <roland@lrde.epita.fr>

	Rename 2D inter-pixel neighborhoods.

	* mln/world/inter_pixel/neighb2d.hh
	(mln::world::inter_pixel::c2c)
	(mln::world::inter_pixel::c2e)
	(mln::world::inter_pixel::e2c):
	Rename as...
	(mln::world::inter_pixel::v2v)
	(mln::world::inter_pixel::v2e)
	(mln::world::inter_pixel::e2v):
	...this.
	* mln/world/inter_pixel/dim2/make_edge_image.hh
	(mln::world::inter_pixel::dim2::make_edge_image): Adjust.

197
198
199
200
201
202
203
204
2009-09-23  Roland Levillain  <roland@lrde.epita.fr>

	Complete mln/world/inter_pixel/neighb2d.hh.

	* mln/world/inter_pixel/neighb2d.hh
	(mln::world::inter_pixel::c2c, mln::world::inter_pixel::c2e):
	New functions.

205
206
207
208
209
210
211
212
213
2009-09-23  Roland Levillain  <roland@lrde.epita.fr>

	Fix documentation in mln/world/inter_pixel/neighb2d.hh.

	* mln/world/inter_pixel/neighb2d.hh
	(mln::world::inter_pixel::e2c, mln::world::inter_pixel::e2e):
	Here.
	Wrap long lines.

214
215
216
217
218
219
220
2009-09-23  Roland Levillain  <roland@lrde.epita.fr>

	Include headers missing from mln/world/inter_pixel/compute.hh.

	* mln/world/inter_pixel/compute.hh: Include
	mln/core/image/dmorph/image_if.hh and mln/trait/ch_value.hh.

221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
2009-09-24  Roland Levillain  <roland@lrde.epita.fr>

	Improve the integration of the topological watershed transform.

	* mln/morpho/watershed/topo_wst.hh: Rename as...
	* mln/morpho/watershed/topological.hh: ...this.
	Add documentation header.
	* mln/morpho/watershed/all.hh: Include
	mln/morpho/watershed/topological.hh.
	* tests/morpho/watershed/test_watershed_topo.cc: Adjust.
	Revamp.
	Add copyright and documentation headers.
	Rename as...
	* tests/morpho/watershed/topological.cc: ...this.
	* tests/morpho/watershed/Makefile.am (check_PROGRAMS): Add
	topological.
	(topological_SOURCES): New.

239
240
241
242
243
244
245
246
247
2009-09-24  Roland Levillain  <roland@lrde.epita.fr>

	Import Alexandre's implementation of the topological watershed.

	* mln/morpho/watershed/topo_wst.hh: New file, imported from
	sandbox/abraham/mln/morpho/topo_wst.hh.
	* tests/morpho/watershed/test_watershed_topo.cc: New file,
	imported from sandbox/abraham/tests/morpho/test_watershed_topo.cc.

248
249
250
251
252
253
254
255
256
257
258
259
260
2009-09-22 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add new upscaling algorithms.

	* mln/upscaling/art/scale2x.hh,
	* mln/upscaling/art/scale3x.hh: New routines.

	* tests/Makefile.am,
	* tests/upscaling/Makefile.am,
	* tests/upscaling/art/Makefile.am,
	* tests/upscaling/art/scale2x.cc,
	* tests/upscaling/art/scale3x.cc: New associated tests.

261
262
263
264
2009-09-22 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/core/alias/dpoint2d.hh: Add new dpoint2d aliases.

Fabien Freling's avatar
Fabien Freling committed
265
266
267
2009-09-22  Fabien Freling  <fabien.freling@lrde.epita.fr>

	Fix HSL values in test.
Roland Levillain's avatar
Roland Levillain committed
268
	* tests/fun/v2v/hsl_to_rgb.cc: Fix HSL values.
Fabien Freling's avatar
Fabien Freling committed
269

270
271
272
2009-09-21  Fabien Freling  <fabien.freling@lrde.epita.fr>

	Add new algorithm for conversion HSL to RGB.
Roland Levillain's avatar
Roland Levillain committed
273
274
	* mln/fun/v2v/hsl_to_rgb.hh: Add new algorithm for conversion.
	* mln/value/rgb.hh: Enable convertion to HSL.
275

276
277
278
279
280
281
282
283
284
285
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	New application: apps/graph-morpho/asf-image2d.

	* apps/graph-morpho/asf-image2d.cc: New.
	* apps/graph-morpho/Makefile.am
	(noinst_PROGRAMS): Add asf-image2d.
	(asf_image2d_SOURCES): New.
	(TESTS): Remove asf-complex1d.

286
287
288
289
290
291
292
293
294
295
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	New application: apps/graph-morpho/samples-image2d.

	* apps/graph-morpho/samples-image2d.cc: New.
	* apps/graph-morpho/Makefile.am
	(noinst_PROGRAMS): Add samples-image2d.
	(samples_image2d_SOURCES): New.
	(TESTS): Add samples-image2d.

296
297
298
299
300
301
302
303
304
305
306
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Have dilations and erosions delegate to the right implementations.

	* apps/graph-morpho/morpho.hh
	(dilation_e2v(const mln::Image<I>&))
	(erosion_v2e(const mln::Image<I>&))
	(erosion_e2v(const mln::Image<I>&))
	(dilation_v2e(const mln::Image<I>&)):
	Here.

307
308
309
310
311
312
313
314
315
316
317
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Add implementations of dilations/erosions on mln::image2d<T>.

	* apps/graph-morpho/morpho.hh
	(impl::dilation_e2v(const mln::image2d<T>&))
	(impl::erosion_v2e(const mln::image2d<T>&))
	(impl::erosion_e2v(const mln::image2d<T>&))
	(impl::dilation_v2e(const mln::image2d<T>&)):
	New functions.

318
319
320
321
322
323
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Introduce a ``tolerant'' image_if morpher.

	* apps/graph-morpho/image_if_large.hh: New.

324
325
326
327
328
329
330
331
332
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Add neighborhood-aware and graph-friendly dilation & erosion.

	* apps/graph-morpho/morpho.hh
	(dilation(const mln::Image<I>&, const mln::Neighborhood<N>&))
	(erosion(const mln::Image<I>&, const mln::Neighborhood<N>&)):
	New functions.

333
334
335
336
337
338
339
340
341
342
343
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Add implementations of dilations/erosions on bin_1complex_image2d.

	* apps/graph-morpho/morpho.hh
	(impl::dilation_e2v(const mln::bin_1complex_image2d&))
	(impl::erosion_v2e(const mln::bin_1complex_image2d&))
	(impl::erosion_e2v(const mln::bin_1complex_image2d&))
	(impl::dilation_v2e(const mln::bin_1complex_image2d&)):
	New functions.

344
345
346
347
348
349
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Have combine delegate to impl::combine.

	* apps/graph-morpho/morpho.hh (combine): Here.

350
351
352
353
354
355
356
357
358
359
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Add impl::combine for mln::image2d<T>.

	* apps/graph-morpho/cplx2d.hh: New symlink to...
	* sandbox/theo/esiee/laurent/ismm09/cplx2d.hh: ...this file.
	* apps/graph-morpho/morpho.hh
	(combine(const mln::image2d<T>&, const mln::image2d<T>&)):
	New function.

360
361
362
363
364
365
366
367
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Add impl::combine for mln::bin_1complex_image2d.

	* apps/graph-morpho/morpho.hh
	(combine(const bin_1complex_image2d&, const bin_1complex_image2d&)):
	New function.

368
369
370
371
372
373
374
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Deconstruction of image2d-based complex images.

	* apps/graph-morpho/make_complex2d.hh (unmake_complex2d):
	New function.

375
376
377
378
379
380
381
382
383
384
385
386
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Reify the construction of image2d-based complex images.

	* apps/graph-morpho/make_complex2d.hh: New file.
	* apps/graph-morpho/asf-complex1d.cc: Move the construction of
	the image2d-based complex...
	* apps/graph-morpho/make_complex2d.hh (make_complex2d):
	...here (new function).
	* apps/graph-morpho/Makefile.am
	(noinst_HEADERS): Add make_complex2d.hh.

387
388
389
390
391
392
393
394
395
2009-09-18  Roland Levillain  <roland@lrde.epita.fr>

	New application: apps/graph-morpho/asf-complex1d.

	* apps/graph-morpho/Makefile.am (noinst_PROGRAMS, TESTS):
	Add asf-complex1d.
	(asf_complex1d_SOURCES): New.
	* apps/graph-morpho/asf-complex1d.cc: New.

396
397
398
399
400
401
402
403
404
2009-09-18  Roland Levillain  <roland@lrde.epita.fr>

	Fix apps/graph-morpho/Makefile.am.

	* apps/graph-morpho/Makefile.am
	(samples_complex1d_SOURCES): Move io.hh and morpho.hh...
	(noinst_HEADERS): ...here (new variable).
	* apps/graph-morpho/samples-complex1d.cc: Remove dead code.

405
406
407
408
409
410
411
412
413
414
2009-09-18  Roland Levillain  <roland@lrde.epita.fr>

	Add images to exercise ASFs on graph images.

	* apps/graph-morpho/zebra.pbm,
	* apps/graph-morpho/zebra.pbm-noisy:
	New images.
	* apps/graph-morpho/Makefile.am (EXTRA_DIST): Add zebra.pbm and
	zebra-noisy.pbm.

415
416
417
418
419
420
421
2009-09-16  Roland Levillain  <roland@lrde.epita.fr>

	Fix the definition of ASFs in apps/graph-morpho.

	* apps/graph-morpho/morpho.hh (asf): Use (parametric) closings and
	openings instead of half-closings and half-closings.

422
423
424
425
426
427
428
429
2009-09-16  Roland Levillain  <roland@lrde.epita.fr>

	Rename graph morphology application complex1d to samples-complex1d.

	* apps/graph-morpho/complex1d.cc: Rename as...
	* apps/graph-morpho/samples-complex1d.cc: ...this.
	* apps/graph-morpho/Makefile.am (noinst_PROGRAMS): Adjust.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
430
431
432
433
434
435
436
437
438
439
440
2009-09-21 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small changes.

	* mln/geom/translate.hh: Add a missing header.

	* mln/linear/gaussian.hh: Fix compilation warnings.

	* mln/io/plot/save.hh,
	* mln/value/hsl.hh: Add fixmes according to Yann's comments.

441
442
443
444
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/linear/gaussian.hh: Make linear::gaussian more generic.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
445
446
447
448
449
450
451
452
453
454
455
2009-09-15 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add geom::translate.

	* mln/geom/all.hh: Add new include.

	* mln/geom/translate.hh: New routine.

	* tests/geom/Makefile.am,
	* tests/geom/translate.cc: New test.

456
457
2009-09-15  Yann Jacquelet  <jacquelet@lrde.epita.fr>

Roland Levillain's avatar
Roland Levillain committed
458
	Fix ISO C++ compilation problem: L101.
459

Roland Levillain's avatar
Roland Levillain committed
460
	* mln/io/plot/load.hh (load): Update source file.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
461

462
463
464
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

	Disable tiled2d image support (still experimental).
Roland Levillain's avatar
Roland Levillain committed
465
	* mln/io/magick/save.hh: Disable tiled2d image support.
466

467
468
469
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

	Update RGB to HSL test, correct luminance values with fractions.
Roland Levillain's avatar
Roland Levillain committed
470
	* tests/fun/v2v/rgb_to_hsl.cc: Update luminance values with fractions.
471

472
473
474
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

	Disable tiled2d image support (still experimental).
Roland Levillain's avatar
Roland Levillain committed
475
476
	* mln/io/magick/load.hh: Disable tiled2d image support.
	* tests/fun/v2v/rgb_to_hsl.cc: Update test for luminance value.
477

478
479
480
481
482
483
484
485
486
2009-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Misc. changes in apps/graph-morpho.

	* apps/graph-morpho/Makefile.am (complex1d_SOURCES):
	Add io.hh and morpho.hh.
	* apps/graph-morpho/morpho.hh: Typo.
	Aesthetic changes.

487
488
489
490
491
492
493
494
2009-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Simplify apps/graph-morpho/complex1d.cc.

	* apps/graph-morpho/io.hh (println): Take an extra argument to
	print a (leading) message.
	* apps/graph-morpho/complex1d.cc: Adjust and simplify.

495
496
497
498
499
500
501
502
503
2009-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Make apps/graph-morpho/complex1d.cc more modular.

	* apps/graph-morpho/complex1d.cc: Move I/O-related functions...
	* apps/graph-morpho/io.hh: ...here (new file).
	* apps/graph-morpho/complex1d.cc: Move morpho-related functions...
	* apps/graph-morpho/morpho.hh: ...here (new file).

504
505
506
507
508
509
510
2009-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Alias for binary 1-complex-based images in the dicrete plane.

	* mln/core/alias/complex_image.hh (mln::bin_1complex_image2d):
	New typedef.

511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
2009-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Implement the remaining morphological operators on graphs.

	* apps/graph-morpho/complex1d.cc
	(alpha1, beta1, alpha2, beta2, alpha3, beta3)
	(opening_vertex, closing_vertex)
	(opening_edge, closing_edge)
	(opening_graph, closing_graph)
	(half_opening_vertex, half_closing_vertex)
	(half_opening_edge, half_closing_edge)
	(half_opening_graph, half_closing_graph)
	(opening, closing, asf):
	New functions.
	Exercise some of them...
	(main): ...here.
	* apps/graph-morpho/y.pbm,
	* apps/graph-morpho/z.pbm:
	New images.
	* apps/graph-morpho/Makefile.am (EXTRA_DIST): Add y.pbm and z.pbm.

532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
2009-09-10  Roland Levillain  <roland@lrde.epita.fr>

	Simplify graph-based image I/O in apps/graph-morpho.

	* apps/graph-morpho/complex1d.cc (make_regular_complex1d_image):
	New function.
	Use it...
	(main): ...here, to simplify the construction of the input image,
	by reading it from...
	* apps/graph-morpho/x.pbm: ...this (new) image.
	* apps/data.hh.in: New.
	* apps/graph-morpho/Makefile.am (AM_CPPFLAGS):
	Add -I$(top_builddir)/milena.
	(bin_PROGRAMS): Rename as...
	(noinst_PROGRAMS): ...this.
	(EXTRA_DIST): New.
	Add x.pbm.

550
551
552
2009-09-10  Fabien Freling  <fabien.freling@lrde.epita.fr>

	Fix luminance value computation for RGB to HSL.
Roland Levillain's avatar
Roland Levillain committed
553
	* mln/fun/v2v/rgb_to_hsl.hh: Fix luminance value computation
554
	to fit in [0,1].
Roland Levillain's avatar
Roland Levillain committed
555
556
	* mln/io/magick/load.hh: Minor update.
	* mln/io/magick/save.hh: Minor update.
557

558
559
560
561
562
563
564
565
566
567
2009-09-09  Roland Levillain  <roland@lrde.epita.fr>

	More morphological operators on graphs.

	* apps/graph-morpho/complex1d.cc: Improve documentation.
	(dilation_vertex, erosion_vertex, dilation_edge, erosion_edge)
	(combine, dilation_graph, erosion_graph):
	New functions.
	(main): Exercise some of them.

568
569
570
2009-09-09  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add mask-based max tree computation based on union-find algorithm.
Roland Levillain's avatar
Roland Levillain committed
571
	* morpho/tree/component_tree.hh: Some shortcuts to compute max
572
	and min tree.
Roland Levillain's avatar
Roland Levillain committed
573
	* morpho/tree/compute_parent_dual_input.hh: New. Union-find based
574
	algorithm for computing the dual input max tree.
Roland Levillain's avatar
Roland Levillain committed
575
	* morpho/tree/data.hh:
576
577
	Comment debug instructions related to tree/graph usage.
	Improve the tree diplay method.
Roland Levillain's avatar
Roland Levillain committed
578
	* morpho/tree/dual_input_tree.hh: Some shortcuts to compute
579
580
	dual-input max and min tree.

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

	* tools/pretty_check.sh: Fix issues caused by an empty CXX variable.

585
586
587
588
589
590
591
592
2009-09-08  Roland Levillain  <roland@lrde.epita.fr>

	Morphological operators on graphs (using 1-complexes).

	* apps/graph-morpho/: New directory.
	* apps/graph-morpho/complex1d.cc: New.
	* apps/graph-morpho/Makefile.am: New.

593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
2009-09-04  Roland Levillain  <roland@lrde.epita.fr>

	Adjust names w.r.t. apps/mesh-segm-skel/.

	* apps/Makefile.am,
	* apps/mesh-segm-skel/mesh-complex-max-curv-segm.cc,
	* apps/mesh-segm-skel/mesh-complex-max-curv.cc,
	* apps/mesh-segm-skel/mesh-complex-segm.cc,
	* apps/mesh-segm-skel/mesh-complex-skel.cc,
	* apps/mesh-segm-skel/mesh-max-curv.cc,
	* apps/mesh-segm-skel/mesh-pinv-curv.cc,
	* apps/mesh-segm-skel/mesh-segm.cc,
	* apps/mesh-segm-skel/mesh-skel.cc,
	* mesh/Makefile.am:
	s/statues/mesh-segm-skel/.
	* apps/mesh-segm-skel/io.hh,
	* apps/mesh-segm-skel/save_bin_alt.hh,
	* apps/mesh-segm-skel/trimesh/misc.hh:
	Likewise.
	Adjust header guards.

614
615
616
617
618
619
620
2009-09-04  Roland Levillain  <roland@lrde.epita.fr>

	Rename apps/statues/ as apps/mesh-segm-skel/.

	* apps/statues/: Rename directory as...
	* apps/mesh-segm-skel/: ...this.

621
622
623
624
2009-09-03  Roland Levillain  <roland@lrde.epita.fr>

	* mln/debug/println.spe.hh: Reindent.

625
626
627
628
629
630
2009-09-01  Roland Levillain  <roland@lrde.epita.fr>

	Aesthetic changes in mln::win::multiple_qiter<W,F>.

	* mln/win/multiple.hh: Here.

631
632
633
634
2009-08-24 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/win/multiple.hh: Add a missing init_ member.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
2009-08-28  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes.

	* mln/core/image/graph_window_piter.hh: Remove exact() member.

	* mln/core/image/imorph/labeled_image.hh: Reindent.

	* mln/fun/i2v/array.hh: Fix invalid call to nelements().

	* mln/make/relabelfun.hh: Fix invalid results.

	* mln/trait/op/ord.hh: Revamp header.

	* tests/core/image/imorph/labeled_image.cc: Fix invalid use of
	labeled_image.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
2009-08-26  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes.

	* mln/core/dpsites_piter.hh,
	* mln/core/image/graph_window_if_piter.hh,
	* mln/win/multiple_size.hh: Add missing init_ member.

	* mln/core/mixed_neighb.hh: Fix invalid constructor declarations.

	* mln/core/image/graph_window_piter.hh: Add comments.

	* mln/core/internal/neighb_niter_base.hh: Add missing includes.

	* mln/fun/i2v/array.hh: Add operator<<.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
668
669
670
671
672
673
674
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Regen mk files.

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

675
676
677
678
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* tests/tools/pretty_check.sh: Change data base url.

679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Introduce mixed windows and neighborhood for graph images.

	* mln/core/box_runstart_piter.hh,
	* mln/core/dpsites_piter.hh,
	* mln/core/image/complex_window_piter.hh: Add new init_() member.

	* mln/core/image/graph_elt_mixed_neighborhood.hh,
	* mln/core/image/graph_elt_mixed_window.hh,
	* mln/core/mixed_neighb.hh: New.

	* mln/core/image/graph_elt_neighborhood.hh,
	* mln/core/image/graph_elt_window.hh: Get rid of a template
	parameter.

	* mln/core/image/graph_window_piter.hh: Add a selector for
	do_start_() implementation.

	* mln/core/image/vertex_image.hh: Add a new include.

	* mln/core/internal/neighb_base.hh: New neighborhood base class.

	* mln/core/internal/neighb_niter_base.hh: New neiborhood iterator
	base class.

	* mln/core/internal/neighb_niter_impl.hh: Add a new specialization
	for graph_elt_mixed_window.

	* mln/core/neighb.hh: Make inherit from neighb_base.

	* mln/core/window.hh: Update header.

	* tests/core/image/vertex_and_edge_image.cc: Use a
	graph_elt_mixed_window.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes in Milena.

	* mln/canvas/labeling/blobs.hh,
	* mln/canvas/labeling/internal/tests.hh: Add missing includes.

	* mln/morpho/closing/algebraic.hh,
	* mln/test/predicate.hh,
	* mln/morpho/algebraic_filter.hh,
	* mln/labeling/relabel.hh,
	* mln/data/compare.hh,
	* mln/canvas/morpho/attribute_filter.hh: cosmetic changes.

	* mln/core/concept/image.hh: Remove data/compare.hh include.

	* mln/core/internal/site_relative_iterator_base.hh: Remove
	deprecated todo.

	* mln/data/compute.hh: Avoid a warning.

	* mln/labeling/blobs.hh: Remove useless headers.

	* mln/make/edge_image.hh: Fix a syntax error.

740
741
742
743
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/debug/superpose.hh: Add support for more image types.

744
745
746
747
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/core/image/imorph/labeled_image.hh: Improve relabeling.

748
749
750
751
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/labeling/pack.hh: Add new overloads.

752
753
754
755
756
757
758
759
760
761
762
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Fix buggy from_to overloads and add a missing one.

	* mln/convert/from_to.hxx: Add a new overload.

	* mln/fun/i2v/array.hh: Fix buggy from_to overloads.

	* mln/util/array.hh: Fix buggy from_to overloads and add a new
	one.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
763
764
765
766
767
768
769
770
771
772
773
774
775
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Add blobs_and_compute.

	* mln/canvas/labeling/blobs.hh: New. Make labeling blobs a canvas.

	* mln/labeling/blobs.hh: Use the brand new canvas.

	* mln/labeling/blobs_and_compute.hh: New routine.

	* milena/tests/labeling/Makefile.am,
	* milena/tests/labeling/blobs_and_compute.cc: New test.

776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Split canvas/labeling.hh into separate files.

	* mln/canvas/labeling/all.hh,
	* mln/canvas/labeling/essential.hh: New.

	* mln/canvas/labeling.hh: Move and split into...

	* mln/canvas/labeling/generic.hh,
	* mln/canvas/labeling/internal/find_root_fastest.hh,
	* mln/canvas/labeling/internal/tests.hh,
	* mln/canvas/labeling/sorted.hh,
	* mln/canvas/labeling/video.hh: ... these files.

	* tests/labeling/flat_zones.cc,
	* tests/labeling/foreground.cc,
	* mln/canvas/all.hh,
	* mln/canvas/essential.hh,
	* mln/labeling/flat_zones.hh,
	* mln/labeling/regional_maxima.hh,
	* mln/labeling/regional_minima.hh,
	* mln/labeling/value.hh: Update includes and function calls.

Yann Jacquelet's avatar
Yann Jacquelet committed
800
801
802
2009-08-21  Yann Jacquelet  <jacquelet@lrde.epita.fr>

	Remove extra ";" to compile.
Guillaume Lazzara's avatar
Guillaume Lazzara committed
803

Yann Jacquelet's avatar
Yann Jacquelet committed
804
805
	* mln/trait/functions.hh: Remove extra ";" l207 after "}" of compute.

806
807
808
809
2009-08-19  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/make/edge_image.hh: Add a new overload.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
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
2009-08-19  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Improve graph images.

	* mln/core/concept/graph.hh: Move is_valid() and invalidate()...
	* mln/util/internal/graph_base.hh: ... here.

	* mln/core/image/vertex_image.hh,
	* mln/core/image/edge_image.hh: Add new typedefs for default
	related windows and neighborhoods.

	* mln/core/internal/site_relative_iterator_base.hh: Add a new
	template parameter in order to define the type of the central
	element.

	* mln/core/neighb.hh,
	* mln/core/internal/neighb_niter_impl.hh,
	* mln/core/image/graph_elt_neighborhood.hh,
	* mln/core/image/graph_elt_window.hh,
	* mln/core/internal/window_base.hh: Update accordingly and add a
	new typedef center_t.

	* mln/core/image/graph_window_piter.hh: Handle the case where the
	central element have a different type from the others.

	* mln/core/internal/graph_psite_base.hh: Reindent and avoid a
	warning.

	* mln/util/internal/graph_nbh_iter.hh: Add new typedefs.

	* tests/core/image/Makefile.am,
	* tests/core/image/vertex_and_edge_image.cc: Add a new test.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
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
2009-08-19  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Update documentation.

	* doc/examples/accu-wrong-instanciation.cc.raw: Fix an incomplete
	namespace specification.

	* doc/figures/fill-subimage-cfun-1.ppm,
	* doc/outputs/fill-subimage-cfun.txt,
	* doc/examples/fill-subimage-cfun.cc,
	* doc/examples/split/fill-subimage-cfun-1.cc.raw,
	* doc/examples/split/fill-subimage-cfun-2.cc.raw,
	* doc/examples/split/fill-subimage-cfun-3.cc.raw: Rename as...

	* doc/figures/fill-imageif-cfun-1.ppm,
	* doc/outputs/fill-imageif-cfun.txt,
	* doc/examples/fill-imageif-cfun.cc,
	* doc/examples/split/fill-imageif-cfun-1.cc.raw,
	* doc/examples/split/fill-imageif-cfun-2.cc.raw,
	* doc/examples/split/fill-imageif-cfun-3.cc.raw: ... this.

	* doc/examples/tuto3/first_routine.cc,
	* doc/examples/tuto4_genericity_and_algorithms.cc,
	* doc/examples/split/tuto3_first_routine-1.cc.raw,
	* doc/examples/split/tuto3_first_routine-5.cc.raw,
	* doc/examples/split/tuto3_first_routine-7.cc.raw,
	* doc/examples/split/tuto4_genericity_and_algorithms-2.cc.raw:
	Update sample code

	* doc/examples/examples.mk,
	* doc/figures/figures.mk,
	* doc/outputs/outputs.mk: Regen.

	* doc/ref_guide/ref_guide.tex,
	* doc/tutorial/tutorial.tex: Fix typos and update according to
	some Yann's comments.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
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
2009-08-19  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Small fixes.

	* mln/core/concept/image.hh: Always include data/compare.hh.

	* tests/Makefile.am,
	* tests/core/other/graph_elt_neighborhood.cc,
	* mln/core/site_set/p_vertices.hh,
	* mln/core/site_set/p_vertices_psite.hh,
	* mln/core/internal/image_base.hh,
	* mln/core/internal/site_iterator_base.hh: Revamp header.

	* mln/core/site_set/p_array.hh: Add 'resize' member.

	* mln/draw/line.hh: Make a warning more explicit.

	* mln/fun/accu_result.hh: Fix guards.

	* mln/labeling/superpose.hh: Add missing includes.

	* mln/morpho/opening/all.hh: Reindent.

	* mln/util/array.hh: Fix an invalid return type in obj_().

	* mln/util/vertex.hh: Add a missing precondition.

	* mln/value/lut_vec.hh: Fix wrong documentation.

909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
2009-08-17  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Some changes to help Edwin find a bug.

	* mln/core/site_set/p_queue_fast.hh (has): De-activate invariant
	to help Edwin debugging.
	* mln/core/internal/graph_psite_base.hh
	(local_change_graph): New.
	(change_target): Call local_change_graph so that the target
	changes when site_ and elt_ are the same, i.e., psite is site,
	that is, a vertex or an edge.
	* mln/morpho/tree/data.hh: Add debugging code.
	* mln/util/internal/graph_base.hh (data_hook_): New.
	* mln/util/edge.hh (change_target): New; is it really useful?

924
925
926
2009-08-17  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Fix rvalue for tree methods and other minor fixes..
Roland Levillain's avatar
Roland Levillain committed
927
928
	* morpho/tree/compute_attribute_image.hh: Supress warning.
	* morpho/tree/data.hh: Fix rvalue and overload operator << for tree.
929

930
931
932
933
2009-08-17 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/fun/i2v/array.hh: Use fun::internal::selector_from_result.

934
935
936
937
2009-08-17 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/labeling/relabel.hh: Add missing preconditions.

938
939
940
941
2009-08-17 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/labeling/superpose.hh: New. Superpose two labeled images.

942
943
944
945
2009-08-17 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/util/array.hh: Fix invalid read-only return type.

946
947
948
949
950
2009-08-17 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* mln/data/compute.hh: Add an overload with non const
	accumulators.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
951
952
953
954
2009-08-17 Guillaume Lazzara  <lazzara@lrde.epita.fr>

	* headers.mk: Regen.

955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
2009-08-15  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Preparing a revamp of value types.

	* mln/core/concept/proxy.hh (mln_def_binop_proxy): Add
	operators to disambiguate the case of Proxy Op Literal.
	(set_binary_): New overload for Proxy Op Literal.
	* mln/core/concept/image.hh (~image): New check.
	* mln/literal/black.hh,
	* mln/literal/white.hh (operator float, operator double): New.
	They are guarded by...
	(MLN_NEW_VALUE_TYPES): ...this new variable.
	* mln/value/rgb.hh (quant): Fix definition.
	When n was low, say 3, then the quant was also set to low,
	though there was no way to browse the set of values!
	(rgb): New ctor overload for vec<3,float>; useful for
	accu::mean.

973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2009-08-15  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Fix various accumulators things.

	Have transform_line fastest.

	* milena/mln/accu/transform_line.hh: Add documentation.
	(todo): Remove, done:
	The specialization for fastest images is now up.
	(todo): New.  A version that ignores extensions should
	exist; see commented code in this present file.
	(impl::generic::transform_line): Add extension adjust for
	safety reason.
	Layout.
	(impl::generic::transform_line_fastest): Activate.
	Fix bug.
	(transform_line_dispatch): Revamp to take into account
	accumulator properties.
	(transform_line): Call properly the dispatch mechanism.
	* milena/tests/accu/transform_line.cc: Test both generic and
	fastest versions.

	Fix missing properties for some accumulators.

	* milena/mln/accu/stat/min.hh,
	* milena/mln/accu/stat/max.hh (set_value): New method.
	* milena/mln/accu/stat/max_h.hh (invariant_): New method.
	(max_h): Add calls to invariant_.
For faster browsing, not all history is shown. View entire blame