ChangeLog 1.58 MB
Newer Older
1
2
3
4
5
6
2009-10-06  Roland Levillain  <roland@lrde.epita.fr>

	Warn about a bug in memcpy_ with g++ 4.2 on Debian for IA-32.

	* mln/data/memcpy_.hh (mln::data::impl::memcpy_): Here.

7
8
9
10
11
12
13
14
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.

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

17
	* doc/Doxyfile.in: Add missing include paths for doc generation.
18

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.

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

Roland Levillain's avatar
Roland Levillain committed
39
40
	* doc/ref_guide/ref_guide.tex: Add a new section about common
	compilation errors.
41

42
43
44
45
46
47
48
49
50
51
52
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/.

53
54
55
56
57
58
59
60
61
62
63
64
65
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.

66
67
68
69
70
71
72
73
74
75
76
77
78
79
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.

80
81
82
83
84
85
86
87
88
89
90
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.

91
92
93
94
95
96
97
98
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.

99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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.

120
121
122
123
124
125
126
127
128
129
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.

130
131
132
133
134
135
136
137
138
139
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.

140
141
142
143
144
145
146
147
148
149
150
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.

151
152
153
154
155
156
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.

157
158
159
160
161
162
163
164
165
166
167
168
169
170
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.

171
172
173
174
175
176
177
178
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.

179
180
181
182
183
184
185
186
187
188
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.

189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
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.

207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
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.

237
238
239
240
241
242
243
244
245
246
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).

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
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.

262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
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.

287
288
289
290
291
292
293
294
295
296
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.

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

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

320
321
322
323
324
325
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.

326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
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.

341
342
343
344
345
346
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.

347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
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.

364
365
366
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
367
368
369
	* core/site_set/p_transformed.cc: Add inverse and typedefs.
	* morpho/tree/Makefile.am,
	* morpho/tree/dual_input_tree.cc,
370
	Add dual input tree tests.
Roland Levillain's avatar
Roland Levillain committed
371
	* morpho/tree/filter/filter.cc: Minor changes.
372

373
374
375
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
376
377
378
379
	* 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
380
	generic / low quantized algorithms.
Roland Levillain's avatar
Roland Levillain committed
381
382
383
	* morpho/tree/impl/dual_hqueue.hh: New.
	* morpho/tree/impl/dual_union_find.hh: New.
	* morpho/tree/impl: New.
384

385
386
387
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
388
389
390
	* core/image/imorph/tr_image.hh,
	* core/site_set/p_transformed.hh,
	* core/site_set/p_transformed_piter.hh:
391
392
393
	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
394
395
396
	* fun/p2p/translation.hh: Add argument type definition.
	* fun/x2x/translation.hh: Add inverse function.
	* geom/translate.hh: Fix non generic stuff and bug.
397

398
399
400
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add hierarchical queues for Salembier's algorithm.
Roland Levillain's avatar
Roland Levillain committed
401
402
403
404
405
	* 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
406
407
408
	a given type. (Similar to histo::array but the
	values are not limited to unsigned type).

Guillaume Lazzara's avatar
Guillaume Lazzara committed
409
410
411
412
413
414
415
416
417
418
419
420
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.

421
422
423
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
424
	* mln/fun/v2v/hsl_to_rgb.hh: Add correct reference for HSL
425
426
	to RGB conversion.

427
428
429
430
431
432
433
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/.

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

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

458
459
460
461
462
463
464
465
466
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.

467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
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.

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

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

500
501
502
503
504
505
506
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.

507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
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.

525
526
527
528
529
530
531
532
533
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.

534
535
536
537
538
539
540
541
542
543
544
545
546
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.

547
548
549
550
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
551
552
553
2009-09-22  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

556
557
558
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
559
560
	* mln/fun/v2v/hsl_to_rgb.hh: Add new algorithm for conversion.
	* mln/value/rgb.hh: Enable convertion to HSL.
561

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

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

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

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

604
605
606
607
608
609
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Introduce a ``tolerant'' image_if morpher.

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

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

619
620
621
622
623
624
625
626
627
628
629
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.

630
631
632
633
634
635
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Have combine delegate to impl::combine.

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

636
637
638
639
640
641
642
643
644
645
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.

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

654
655
656
657
658
659
660
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.

661
662
663
664
665
666
667
668
669
670
671
672
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.

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

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

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

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

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

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

742
743
2009-09-15  Yann Jacquelet  <jacquelet@lrde.epita.fr>

Roland Levillain's avatar
Roland Levillain committed
744
	Fix ISO C++ compilation problem: L101.
745

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

748
749
750
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

753
754
755
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
756
	* tests/fun/v2v/rgb_to_hsl.cc: Update luminance values with fractions.
757

758
759
760
2009-09-14  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

764
765
766
767
768
769
770
771
772
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.

773
774
775
776
777
778
779
780
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.

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

790
791
792
793
794
795
796
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.

797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
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.

818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
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.

836
837
838
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
839
	* mln/fun/v2v/rgb_to_hsl.hh: Fix luminance value computation
840
	to fit in [0,1].
Roland Levillain's avatar
Roland Levillain committed
841
842
	* mln/io/magick/load.hh: Minor update.
	* mln/io/magick/save.hh: Minor update.
843

844
845
846
847
848
849
850
851
852
853
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.

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

867
868
869
870
2009-09-08 Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

871
872
873
874
875
876
877
878
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.

879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
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.

900
901
902
903
904
905
906
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.

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

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

911
912
913
914
915
916
2009-09-01  Roland Levillain  <roland@lrde.epita.fr>

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

	* mln/win/multiple.hh: Here.

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

	Regen mk files.

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

961
962
963
964
2009-08-24  Guillaume Lazzara  <lazzara@lrde.epita.fr>

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

965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
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.

For faster browsing, not all history is shown. View entire blame