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

	Avoid a warning about unused variables in mln::border::fill.

	* mln/border/fill.hh
	(fill_dispatch(category::primary, speed::any, I&, const mln_value(I)&)):
	Here.

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

	Generic core dilations and erosions on graphs.

	* 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&))
	(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>&)):
	Remove.
	(dilation_e2v(const mln::Image<I>&))
	(erosion_v2e(const mln::Image<I>&))
	(erosion_e2v(const mln::Image<I>&))
	(dilation_v2e(const mln::Image<I>&)):
	Reimplement using Milena's dilation and erosion as well as graph
	traits.

30
31
32
33
34
35
36
37
38
39
2009-09-30  Roland Levillain  <roland@lrde.epita.fr>

	Add graph traits to apps/graph-morpho.

	* apps/graph-morpho/morpho.hh (trait::graph<I>):
	New (empty) traits class.
	(trait::graph< mln::image2d<T> >)
	(trait::graph< mln::complex_image<1, G, V> >):
	New traits class specializations.

40
41
42
43
44
45
46
47
48
49
2009-09-30  Roland Levillain  <roland@lrde.epita.fr>

	Introduce mln::world::inter_pixel::dbl_window2d.

	* mln/world/inter_pixel/neighb2d.hh
	(mln::world::inter_pixel::dbl_window2d): New typedef.
	Use to shorten the definition of...
	(mln::world::inter_pixel::dbl_neighb2d):
	...this typedef.

50
51
52
53
54
55
56
57
58
59
60
2009-09-29  Roland Levillain  <roland@lrde.epita.fr>

	Use Milena's dilation/erosion in graph morpho 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&)):
	Here.

61
62
63
64
65
66
2009-09-30  Roland Levillain  <roland@lrde.epita.fr>

	Fix a precondition in apps/graph-morpho/io.hh.

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

67
68
69
70
71
72
73
74
75
76
77
78
79
80
2009-09-29  Roland Levillain  <roland@lrde.epita.fr>

	Small improvements in mln::util::tracked_ptr.

	* mln/util/tracked_ptr.hh
	(mln::util::tracked_ptr<T>::tracked_ptr(T*))
	(mln::util::tracked_ptr<T>::operator=(T*))
	(mln::util::tracked_ptr<T>::run_() const):
	Remove useless typedefs.
	(mln::util::tracked_ptr<T>::operator=(const tracked_ptr<T>&))
	(mln::util::tracked_ptr<T>::operator=(T*))
	(mln::util::operator<<(std::ostream& ostr, const tracked_ptr<T>&)):
	Check invariants in more places.

81
82
83
84
85
86
87
88
2009-09-29  Roland Levillain  <roland@lrde.epita.fr>

	Add a dummy operator< to mln::util::multi_site<P>.

	* mln/util/multi_site.hh
	(operator< (const multi_site<P>& lhs, const multi_site<P>& rhs)):
	New.

89
90
91
92
93
94
95
96
97
98
2009-09-29  Roland Levillain  <roland@lrde.epita.fr>

	Have mln::topo::is_n_face<B> expose a more tolerant interface.

	* mln/topo/is_n_face.hh
	(is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const):
	Turn into...
	(is_n_face<N>::operator()(const P& p) const):
	...this.

99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
2009-09-29  Roland Levillain  <roland@lrde.epita.fr>

	Make complex window and complex neighborhood piters symmetric.

	* mln/core/image/complex_neighborhood_piter.hh
	(complex_window_fwd_piter<I, G, W>::init_)
	(complex_window_bkd_piter<I, G, W>::init_):
	s/center_at/this->center_at/
	Misc. documentation changes.
	* mln/core/image/complex_window_piter.hh
	(complex_neighborhood_fwd_piter(const Neighborhood<N>&, const Pref&))
	(complex_neighborhood_bkd_piter(const Neighborhood<N>&, const Pref&)):
	Move the initializations...
	(complex_neighborhood_fwd_piter<I, G, N>::init_)
	(complex_neighborhood_bkd_piter<I, G, N>::init_):
	...here (new method).
	Misc. documentation changes.

117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
2009-09-29  Roland Levillain  <roland@lrde.epita.fr>

	Have complex neighborhoods depend on complex windows.

	* mln/core/internal/complex_neighborhood_base.hh
	(mln::internal::complex_neighborhood_base<D, G, F, B, E>):
	Turn class into...
	(mln::internal::complex_neighborhood_base<W, E>):
	...this.
	(mln::internal::complex_neighborhood_base<W, E>::complex_fwd_iter)
	(mln::internal::complex_neighborhood_base<W, E>::complex_bkd_iter)
	(mln::internal::complex_neighborhood_base<W, E>::psite)
	(mln::internal::complex_neighborhood_base<W, E>::site)
	(mln::internal::complex_neighborhood_base<W, E>::window):
	Depend on W.
	(mln::internal::complex_neighborhood_base<W, E>::G):
	New typedef.
	(mln::internal::complex_neighborhood_base<W, E>::win)
	(mln::internal::complex_neighborhood_base<W, E>::is_valid):
	Provide actual implementations.
	(mln::internal::complex_neighborhood_base<W, E>::win_):
	New attribute.
	* mln/core/image/complex_neighborhoods.hh
	(mln_gen_complex_neighborhood(Nbh,Fwd_Complex_Iter,Bkd_Complex_Iter)):
	Turn macro into...
	(mln_gen_complex_neighborhood(Nbh,Win)):
	...this.
	Adjust callers.
	* mln/core/internal/complex_window_base.hh: Typo in comment.

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

	Fix target change in complex piters.

	* mln/core/internal/p_complex_piter_base.hh
	(p_complex_piter_base<I, S, P, E>::p_complex_piter_base_(const S&)):
	Move the underlying iterator's (target) complex assignment...
	(p_complex_piter_base<I, S, P, E>::change_target_):
	...here (new method).

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

	Allow iterators to perform extra work while changing their target.

	* mln/core/concept/pseudo_site.hh
	(change_target(Pseudo_Site<P>&, const typename P::target_t&)):
	Remove useless declaration.
	Wrap long lines.
	* mln/core/internal/site_set_iterator_base.hh
	(mln::internal::site_set_iterator_base<S, E>::change_target_):
	New method.
	Call its exact version...
	(mln::internal::site_set_iterator_base<S, E>::change_target):
	...here.

172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
2009-09-29  Roland Levillain  <roland@lrde.epita.fr>

	Work around std::vector<bool> specialization in mln::complex_image.

	* mln/core/image/complex_image.hh
	(mln::internal::bool_proxy): New class.
	(mln::internal::unbool<V>:): New trait class.
	(mlc_unbool): New (local) shortcut macro.
	(mln::internal::data< complex_image<D, G, V> >::values_):
	Change type from metal::vec< D + 1, std::vector<V> >
	to metal::vec< D + 1, std::vector< mlc_unbool(V) > >.
	(mln::complex_image<D, G, V>::lvalue)
	(mln::complex_image<D, G, V>::rvalue):
	Adjust typedefs.
	(mln::complex_image<D, G, V>::values() const):
	Adjust method.
	(data< complex_image<D, G, V> >::data):
	Adjust ctor.
	Simplify precondition.
	(complex_image<D, G, V>::complex_image(const p_complex<D, G>&)):
	Simplify.
	(init_(image_t, complex_image<D,G,V>&, const complex_image<D,G,W>&)):
	Depend on model's domain instead of its values to compute the
	number of n-faces.

197
198
199
200
201
202
203
204
205
206
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.

207
208
209
210
211
212
213
214
215
216
217
218
219
220
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.

221
222
223
224
225
226
227
228
229
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.

230
231
232
233
234
235
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.

236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
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.

251
252
253
254
255
256
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.

257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
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.

274
275
276
277
278
279
280
281
282
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.

283
284
285
286
287
288
289
290
291
292
293
294
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.

295
296
297
298
299
300
301
302
303
304
305
306
307
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.

308
309
310
311
312
313
314
315
316
317
318
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
319
320
321
322
323
324
325
326
327
328
329
330
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.

331
332
333
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
334
	* mln/fun/v2v/hsl_to_rgb.hh: Add correct reference for HSL
335
336
	to RGB conversion.

337
338
339
340
341
342
343
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/.

344
345
346
347
348
349
350
351
352
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.

353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
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.

368
369
370
371
372
373
374
375
376
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.

377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
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.

393
394
395
396
397
398
399
400
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.

401
402
403
404
405
406
407
408
409
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.

410
411
412
413
414
415
416
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.

417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
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.

435
436
437
438
439
440
441
442
443
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.

444
445
446
447
448
449
450
451
452
453
454
455
456
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.

457
458
459
460
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
461
462
463
2009-09-22  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

466
467
468
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
469
470
	* mln/fun/v2v/hsl_to_rgb.hh: Add new algorithm for conversion.
	* mln/value/rgb.hh: Enable convertion to HSL.
471

472
473
474
475
476
477
478
479
480
481
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.

482
483
484
485
486
487
488
489
490
491
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.

492
493
494
495
496
497
498
499
500
501
502
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.

503
504
505
506
507
508
509
510
511
512
513
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.

514
515
516
517
518
519
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Introduce a ``tolerant'' image_if morpher.

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

520
521
522
523
524
525
526
527
528
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.

529
530
531
532
533
534
535
536
537
538
539
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.

540
541
542
543
544
545
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Have combine delegate to impl::combine.

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

546
547
548
549
550
551
552
553
554
555
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.

556
557
558
559
560
561
562
563
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.

564
565
566
567
568
569
570
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.

571
572
573
574
575
576
577
578
579
580
581
582
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.

583
584
585
586
587
588
589
590
591
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.

592
593
594
595
596
597
598
599
600
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.

601
602
603
604
605
606
607
608
609
610
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.

611
612
613
614
615
616
617
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.

618
619
620
621
622
623
624
625
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
626
627
628
629
630
631
632
633
634
635
636
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.

637
638
639
640
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
641
642
643
644
645
646
647
648
649
650
651
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.

652
653
2009-09-15  Yann Jacquelet  <jacquelet@lrde.epita.fr>

Roland Levillain's avatar
Roland Levillain committed
654
	Fix ISO C++ compilation problem: L101.
655

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

658
659
660
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

663
664
665
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
666
	* tests/fun/v2v/rgb_to_hsl.cc: Update luminance values with fractions.
667

668
669
670
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

674
675
676
677
678
679
680
681
682
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.

683
684
685
686
687
688
689
690
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.

691
692
693
694
695
696
697
698
699
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).

700
701
702
703
704
705
706
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.

707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
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.

728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
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.

746
747
748
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
749
	* mln/fun/v2v/rgb_to_hsl.hh: Fix luminance value computation
750
	to fit in [0,1].
Roland Levillain's avatar
Roland Levillain committed
751
752
	* mln/io/magick/load.hh: Minor update.
	* mln/io/magick/save.hh: Minor update.
753

754
755
756
757
758
759
760
761
762
763
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.

764
765
766
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
767
	* morpho/tree/component_tree.hh: Some shortcuts to compute max
768
	and min tree.
Roland Levillain's avatar
Roland Levillain committed
769
	* morpho/tree/compute_parent_dual_input.hh: New. Union-find based
770
	algorithm for computing the dual input max tree.
Roland Levillain's avatar
Roland Levillain committed
771
	* morpho/tree/data.hh:
772
773
	Comment debug instructions related to tree/graph usage.
	Improve the tree diplay method.
Roland Levillain's avatar
Roland Levillain committed
774
	* morpho/tree/dual_input_tree.hh: Some shortcuts to compute
775
776
	dual-input max and min tree.

777
778
779
780
2009-09-08 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

781
782
783
784
785
786
787
788
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.

789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
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.

810
811
812
813
814
815
816
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.

817
818
819
820
2009-09-03  Roland Levillain  <roland@lrde.epita.fr>

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

821
822
823
824
825
826
2009-09-01  Roland Levillain  <roland@lrde.epita.fr>

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

	* mln/win/multiple.hh: Here.

827
828
829
830
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
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
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
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
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
864
865
866
867
868
869
870
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Regen mk files.

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

871
872
873
874
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

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
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
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
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.

936
937
938
939
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

940
941
942
943
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

944
945
946
947
2009-08-21  Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

948
949
950
951
952
953
954
955
956
957
958
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
959
960
961
962
963
964
965
966
967
968
969
970
971
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.

972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
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
996
997
998
2009-08-21  Yann Jacquelet  <jacquelet@lrde.epita.fr>

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

Yann Jacquelet's avatar
Yann Jacquelet committed
1000
	* mln/trait/functions.hh: Remove extra ";" l207 after "}" of compute.
For faster browsing, not all history is shown. View entire blame