ChangeLog 1.58 MB
Newer Older
1
2
3
4
5
6
7
8
2009-10-02  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes in documentation.

	* doc/Doxyfile.in: Fix example file name patterns.

	* doc/ref_guide/ref_guide.tex: Comment an empty chapter.

9
10
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

11
	* doc/Doxyfile.in: Add missing include paths for doc generation.
12

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce a technical documentation.

	* doc/Makefile.am: Add technical as subdir.

	* doc/doxyfuns.sty: Do not force the use of png images.

	* doc/examples/devel/dispatch.cc.raw,
	* doc/examples/devel/facade.cc.raw,
	* doc/examples/devel/impl.cc.raw: New. Examples used in the
	developer documentation.

	* doc/technical/Makefile.am,
	* doc/technical/figures/file_layout.pdf,
	* doc/technical/figures/file_layout.png,
	* doc/technical/technical.tex: New.

31
32
2009-10-01  Guillaume Lazzara  <z@lrde.epita.fr>

Roland Levillain's avatar
Roland Levillain committed
33
34
	* doc/ref_guide/ref_guide.tex: Add a new section about common
	compilation errors.
35

36
37
38
39
40
41
42
43
44
45
46
2009-10-01  Roland Levillain  <roland@lrde.epita.fr>

	Clean up a creation routine in graph-morpho.

	* apps/graph-morpho/io.hh: Rename as...
	* apps/graph-morpho/make.hh: ...this.
	(build_regular_complex1d_image): Turn into...
	(make::complex1d_image<V>): ...this.
	* apps/graph-morpho/convert.hh: Adjust client.
	* apps/graph-morpho/Makefile.am (noinst_HEADERS): s/io.hh/make.hh/.

47
48
49
50
51
52
53
54
55
56
57
58
59
2009-10-01  Roland Levillain  <roland@lrde.epita.fr>

	Clean up another conversion routine in graph-morpho.

	* apps/graph-morpho/io.hh (make_regular_complex1d_image):
	Move function...
	* apps/graph-morpho/convert.hh: ...here, and turn into...
	(convert::to_complex_image): ...this.
	* apps/graph-morpho/asf-complex1d.cc,
	* apps/graph-morpho/samples-image2d.cc,
	* apps/graph-morpho/samples-complex1d.cc:
	Adjust clients.

60
61
62
63
64
65
66
67
68
69
70
71
72
73
2009-10-01  Roland Levillain  <roland@lrde.epita.fr>

	Clean up some conversion and pretty-printing routines in graph-morpho.

	* apps/graph-morpho/convert.hh,
	* apps/graph-morpho/debug.hh:
	New files.
	* apps/graph-morpho/io.hh (println): Remove function.
	* apps/graph-morpho/samples-image2d.cc,
	* apps/graph-morpho/samples-complex1d.cc:
	Adjust clients.
	* apps/graph-morpho/Makefile.am (noinst_HEADERS):
	Add convert.hh and debug.hh.

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

	Generic vertices-edges combinator in apps/graph-morpho/.

	* apps/graph-morpho/morpho.hh
	(combine(const bin_1complex_image2d&, const bin_1complex_image2d&))
	(combine(const mln::image2d<T>&, const mln::image2d<T>&)):
	Remove.
	(combine(const mln::Image<I>&, const mln::Image<I>&)):
	Reimplement using graph traits.

85
86
87
88
89
90
91
92
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.

93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
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.

114
115
116
117
118
119
120
121
122
123
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.

124
125
126
127
128
129
130
131
132
133
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.

134
135
136
137
138
139
140
141
142
143
144
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.

145
146
147
148
149
150
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.

151
152
153
154
155
156
157
158
159
160
161
162
163
164
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.

165
166
167
168
169
170
171
172
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.

173
174
175
176
177
178
179
180
181
182
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.

183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
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.

201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
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.

231
232
233
234
235
236
237
238
239
240
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).

241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
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.

256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
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.

281
282
283
284
285
286
287
288
289
290
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.

291
292
293
294
295
296
297
298
299
300
301
302
303
304
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.

305
306
307
308
309
310
311
312
313
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.

314
315
316
317
318
319
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.

320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
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.

335
336
337
338
339
340
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.

341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
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.

358
359
360
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add test for dual input and fix p_transformed test.
Roland Levillain's avatar
Roland Levillain committed
361
362
363
	* core/site_set/p_transformed.cc: Add inverse and typedefs.
	* morpho/tree/Makefile.am,
	* morpho/tree/dual_input_tree.cc,
364
	Add dual input tree tests.
Roland Levillain's avatar
Roland Levillain committed
365
	* morpho/tree/filter/filter.cc: Minor changes.
366

367
368
369
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add fast version of dual input max tree computation and fix.
Roland Levillain's avatar
Roland Levillain committed
370
371
372
373
	* 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
374
	generic / low quantized algorithms.
Roland Levillain's avatar
Roland Levillain committed
375
376
377
	* morpho/tree/impl/dual_hqueue.hh: New.
	* morpho/tree/impl/dual_union_find.hh: New.
	* morpho/tree/impl: New.
378

379
380
381
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Fix non generic stuff in translation function and fix transform morpher.
Roland Levillain's avatar
Roland Levillain committed
382
383
384
	* core/image/imorph/tr_image.hh,
	* core/site_set/p_transformed.hh,
	* core/site_set/p_transformed_piter.hh:
385
386
387
	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).
Roland Levillain's avatar
Roland Levillain committed
388
389
390
	* fun/p2p/translation.hh: Add argument type definition.
	* fun/x2x/translation.hh: Add inverse function.
	* geom/translate.hh: Fix non generic stuff and bug.
391

392
393
394
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add hierarchical queues for Salembier's algorithm.
Roland Levillain's avatar
Roland Levillain committed
395
396
397
398
399
	* 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
400
401
402
	a given type. (Similar to histo::array but the
	values are not limited to unsigned type).

Guillaume Lazzara's avatar
Guillaume Lazzara committed
403
404
405
406
407
408
409
410
411
412
413
414
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.

415
416
417
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
418
	* mln/fun/v2v/hsl_to_rgb.hh: Add correct reference for HSL
419
420
	to RGB conversion.

421
422
423
424
425
426
427
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/.

428
429
430
431
432
433
434
435
436
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.

437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
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.

452
453
454
455
456
457
458
459
460
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.

461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
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.

477
478
479
480
481
482
483
484
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.

485
486
487
488
489
490
491
492
493
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.

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

501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
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.

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

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

541
542
543
544
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
545
546
547
2009-09-22  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

550
551
552
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
553
554
	* mln/fun/v2v/hsl_to_rgb.hh: Add new algorithm for conversion.
	* mln/value/rgb.hh: Enable convertion to HSL.
555

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

566
567
568
569
570
571
572
573
574
575
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.

576
577
578
579
580
581
582
583
584
585
586
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.

587
588
589
590
591
592
593
594
595
596
597
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.

598
599
600
601
602
603
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Introduce a ``tolerant'' image_if morpher.

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

604
605
606
607
608
609
610
611
612
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.

613
614
615
616
617
618
619
620
621
622
623
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.

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

	Have combine delegate to impl::combine.

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

630
631
632
633
634
635
636
637
638
639
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.

640
641
642
643
644
645
646
647
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.

648
649
650
651
652
653
654
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.

655
656
657
658
659
660
661
662
663
664
665
666
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.

667
668
669
670
671
672
673
674
675
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.

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

685
686
687
688
689
690
691
692
693
694
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.

695
696
697
698
699
700
701
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.

702
703
704
705
706
707
708
709
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
710
711
712
713
714
715
716
717
718
719
720
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.

721
722
723
724
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
725
726
727
728
729
730
731
732
733
734
735
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.

736
737
2009-09-15  Yann Jacquelet  <jacquelet@lrde.epita.fr>

Roland Levillain's avatar
Roland Levillain committed
738
	Fix ISO C++ compilation problem: L101.
739

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

742
743
744
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

747
748
749
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
750
	* tests/fun/v2v/rgb_to_hsl.cc: Update luminance values with fractions.
751

752
753
754
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

758
759
760
761
762
763
764
765
766
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.

767
768
769
770
771
772
773
774
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.

775
776
777
778
779
780
781
782
783
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).

784
785
786
787
788
789
790
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.

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

812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
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.

830
831
832
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
833
	* mln/fun/v2v/rgb_to_hsl.hh: Fix luminance value computation
834
	to fit in [0,1].
Roland Levillain's avatar
Roland Levillain committed
835
836
	* mln/io/magick/load.hh: Minor update.
	* mln/io/magick/save.hh: Minor update.
837

838
839
840
841
842
843
844
845
846
847
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.

848
849
850
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
851
	* morpho/tree/component_tree.hh: Some shortcuts to compute max
852
	and min tree.
Roland Levillain's avatar
Roland Levillain committed
853
	* morpho/tree/compute_parent_dual_input.hh: New. Union-find based
854
	algorithm for computing the dual input max tree.
Roland Levillain's avatar
Roland Levillain committed
855
	* morpho/tree/data.hh:
856
857
	Comment debug instructions related to tree/graph usage.
	Improve the tree diplay method.
Roland Levillain's avatar
Roland Levillain committed
858
	* morpho/tree/dual_input_tree.hh: Some shortcuts to compute
859
860
	dual-input max and min tree.

861
862
863
864
2009-09-08 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

865
866
867
868
869
870
871
872
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.

873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
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.

894
895
896
897
898
899
900
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.

901
902
903
904
2009-09-03  Roland Levillain  <roland@lrde.epita.fr>

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

905
906
907
908
909
910
2009-09-01  Roland Levillain  <roland@lrde.epita.fr>

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

	* mln/win/multiple.hh: Here.

911
912
913
914
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
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
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
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
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
948
949
950
951
952
953
954
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

	Regen mk files.

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

955
956
957
958
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

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
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
995
996
997
998
999
1000
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.
For faster browsing, not all history is shown. View entire blame