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

	Rename image3d<>::nslices to image3d<>::nslis.

	* mln/core/image/image3d.hh,
	* mln/debug/slices_2d.hh,
	* tests/io/pbms/load.cc,
	* tests/io/pgms/load.cc,
	* tests/io/ppms/load.cc: Rename nslices to nslis.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Various small fixes.

	* doc/tutorial/tutorial.tex: Add more contacts.

	* mln/accu/label_used.hh: Do not use label<>::next().

	* mln/draw/line.hh: Add a fixme.

	* mln/io/dump/save.hh: Close the file.

	* mln/io/plot/save.hh: Fix an invalid prototype.

	* mln/io/pnm/load.hh: Fix an invalid static check.

	* mln/io/raw/get_header.hh: Fix comment.

	* mln/labeling/pack.hh: Disable a static check on symbolic values.

	* mln/math/diff_abs.hh: Add a fixme.

	* mln/world/inter_pixel/full2image.hh: Use mln_concrete().

	* mln/data/fill_with_value.hh,
	* mln/io/raw/load.hh,
	* mln/io/raw/save.hh,
	* mln/labeling/compute.hh,
	* mln/registration/icp.hh: Aesthetic changes.

41
42
43
44
45
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	* mln/topo/skeleton/crest.hh: Fix invalid PSI values for component
	edge sites.

46
47
48
49
50
51
52
53
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a routine to read dump files header.

	* mln/io/dump/all.hh: Include a new file.

	* mln/io/dump/get_header.hh: New.

54
55
56
57
58
59
60
61
62
63
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a routine to read DICOM files header.

	* mln/io/dicom/all.hh: Include a new file.

	* mln/io/dicom/get_header.hh: New.

	* mln/io/dicom/load.hh: Add more doc.

64
65
66
67
68
69
70
71
72
73
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Add A new routine to draw plain boxes.

	* mln/draw/all.hh: Include new file.

	* mln/draw/box.hh: Add a fixme.

	* mln/draw/box_plain.hh: New.

74
75
76
77
78
79
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Add more implementations for box specializations.

	* mln/core/internal/box_impl.hh: Add width, height and depth.

80
81
82
83
84
85
86
87
88
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	First draft of raw format support.

	* milena/mln/io/raw/all.hh,
	* milena/mln/io/raw/get_header.hh,
	* milena/mln/io/raw/load.hh,
	* milena/mln/io/raw/save.hh: New.

89
90
91
92
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Add new 3D neighborhoods and windows.

93
94
	* mln/core/alias/neighb3d.hh,
	* mln/win/sline3d.hh: New.
95

96
97
98
99
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Add a new rgb32 type for Qt compatibility.

100
	* mln/convert/from_to.hxx: Declare conversion routines.
101

102
	* mln/value/qt/rgb32.hh: New.
103

104
105
106
107
2010-02-16  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix invalid value type names in dump format.

108
	* mln/value/internal/make_generic_name.hh: New.
109

110
111
112
	* mln/value/int_u.hh,
	* mln/value/label.hh,
	* mln/value/rgb.hh: Make use of the new routine to print a
113
114
	correct type names in dump format.

115
116
117
118
2009-11-18  Guillaume Lazzara  <z@lrde.epita.fr>

	* doc/white_paper/white_paper.tex: Fix an invalid URL.

119
120
121
122
123
124
125
126
127
2009-11-18  Guillaume Lazzara  <z@lrde.epita.fr>

	Introduce labeled_image_base.

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

	* mln/core/image/imorph/labeled_image.hh: Make inherit from
	labeled_image_base.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
128
129
130
131
132
133
134
135
2009-11-18  Guillaume Lazzara  <z@lrde.epita.fr>

	Fix invalid macros.

	* mln/core/box_runend_piter.hh,
	* mln/core/box_runstart_piter.hh: use mln_psite_ in macros
	dedicated for non templated functions.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
2009-11-18  Guillaume Lazzara  <z@lrde.epita.fr>

	Remove useless traces.

	* mln/geom/bbox.hh,
	* mln/geom/max_col.hh,
	* mln/geom/max_row.hh,
	* mln/geom/max_sli.hh,
	* mln/geom/min_col.hh,
	* mln/geom/min_row.hh,
	* mln/geom/min_sli.hh,
	* mln/geom/ncols.hh,
	* mln/geom/nrows.hh,
	* mln/geom/nslis.hh: Remove useless traces.

151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
2009-11-18  Guillaume Lazzara  <z@lrde.epita.fr>

	Improve influence zone geodesic.

	* mln/canvas/distance_geodesic.hh: Remove useless traces.

	* mln/transform/influence_zone_geodesic.hh: Add a specific fastest
	version and move some code...

	* mln/transform/influence_zone_geodesic_saturated.hh: ... here.

	* tests/transform/influence_zone_geodesic.cc: Update test
	according to the new interface.

	* tests/transform/Makefile.am,
	* tests/transform/influence_zone_geodesic_saturated.cc: New test.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
168
169
170
171
172
173
174
175
176
2009-11-09  Guillaume Lazzara  <z@lrde.epita.fr>

	Add box_runend_piter.

	* mln/core/box_runend_piter.hh: New iterator.

	* tests/core/other/Makefile.am,
	* tests/core/other/box_runend_piter.cc: New test.

177
178
179
180
2009-11-03  Guillaume Lazzara  <z@lrde.epita.fr>

	* mln/value/label_32.hh: New.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
2009-10-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* mln/accu/count_labels.hh,
	* mln/labeling/relabel.hh: Disable preconditions related to
	Symbolic value types.

	* mln/data/compare.hh: Pass variable with exact type.

	* mln/geom/max_sli.hh,
	* mln/geom/min_sli.hh: Use geom::bbox.

	* mln/io/plot/save.hh: Rename template parameter.

	* mln/util/set.hh: Reindent header.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
198
199
200
201
202
203
204
205
2009-10-28  Guillaume Lazzara  <z@lrde.epita.fr>

	Add data::wrap.

	* mln/data/wrap.hh: New.

	* mln/data/all.hh: Include this new file.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
206
207
208
209
210
211
212
213
214
2009-10-26  Roland Levillain  <roland@lrde.epita.fr>

	Regen Makefile helpers.

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

Guillaume Lazzara's avatar
Guillaume Lazzara committed
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
2009-10-22  Guillaume Lazzara  <z@lrde.epita.fr>

	Small fixes.

	* milena/mln/data/paste.spe.hh,
	* milena/mln/data/stretch.hh,
	* milena/mln/fun/x2v/bilinear.hh,
	* milena/mln/morpho/erosion.hh,
	* milena/mln/value/mixin.hh: Fix layout.

	* milena/mln/debug/filename.hh: Update doc.

	* milena/mln/subsampling/subsampling.hh: Fix invalid min rows and
	cols.

Edwin Carlinet's avatar
Edwin Carlinet committed
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
2009-10-16  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add AVS field file support.
	* mln/io/all.hh: Update.
	* mln/io/fld/all.hh: New.
	* mln/io/fld/header.hh: New.
	* mln/io/fld/load.hh: New.
	* mln/io/fld/load_header.hh: New.
	* mln/io/fld/max_components.hh: New.
	* mln/io/fld/save.hh: New.
	* mln/io/fld/write_header.hh: New.
	* mln/io/fld: New.
	* tests/io/Makefile.am: Add rules.
	* tests/io/fld/Makefile.am: New.
	* tests/io/fld/fld1d.cc: New.
	* tests/io/fld/fld2d.cc: New.
	* tests/io/fld/fld3d.cc: New.
	* tests/io/fld: New.

Thierry Geraud's avatar
Thierry Geraud committed
249
250
251
252
253
254
255
256
257
2009-10-16  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Some fixes.

	* mln/data/transform.spe.hh: Layout.
	* mln/data/transform_inplace.hh (transform_tests): Rename as...
	(transform_inplace_tests): ...this; it is a naming bug fix.
	* mln/convert/to.hh: Remove trace and add a tech note about it.

258
259
260
261
262
263
264
2009-10-06  Roland Levillain  <roland@lrde.epita.fr>

	Fix a precondition in apps/graph-morpho.

	* apps/graph-morpho/morpho.hh (combine): Check the exact images,
	not the abstract ones.

265
266
267
268
269
270
271
272
2009-10-06  Roland Levillain  <roland@lrde.epita.fr>

	Fix the instruction flow in multiple_qiter<W,F>::change_target.

	* mln/win/multiple.hh (mln::win::multiple_qiter<W,F>::change_target):
	Set the size before delegating the call to the base class, so that
	postconditions can be honored.

273
274
275
276
277
278
2009-10-06  Roland Levillain  <roland@lrde.epita.fr>

	Honor strict-aliasing rules in memset_.

	* mln/data/memset_.hh (mln::data::impl::memset): Here.

279
280
281
282
283
284
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.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
2009-10-02  Roland Levillain  <roland@lrde.epita.fr>

	Add ISMM 2009 input images and generate outputs.

	* apps/papers/levillain.09.ismm/Makefile.am (data_DATA):
	New variable.
	(lena-s.ppm, graph-s.png, graph-s.neato, m283-s.off):
	New targets.
	* apps/papers/levillain.09.ismm/seeds.pgm,
	* apps/papers/levillain.09.ismm/m283-c.off:
	New (imported).

2009-10-02  Roland Levillain  <roland@lrde.epita.fr>

	Import the code of the illustrations of the ISMM 2009 paper.

	* apps/papers/,
	* apps/papers/levillain.09.ismm/:
	New directories.
	* apps/papers/levillain.09.ismm/chain.hh,
	* apps/papers/levillain.09.ismm/complex.cc,
	* apps/papers/levillain.09.ismm/graph.cc,
	* apps/papers/levillain.09.ismm/image2d.cc:
	New (imported from ISMM 2009).
	Adjust.
	* apps/Makefile.am (SUBDIRS): Add papers.
	* apps/papers/Makefile.am,
	* apps/papers/levillain.09.ismm/Makefile.am:
	New.

315
316
317
318
319
320
321
322
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.

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

325
	* doc/Doxyfile.in: Add missing include paths for doc generation.
326

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

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

Roland Levillain's avatar
Roland Levillain committed
347
348
	* doc/ref_guide/ref_guide.tex: Add a new section about common
	compilation errors.
349

350
351
352
353
354
355
356
357
358
359
360
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/.

361
362
363
364
365
366
367
368
369
370
371
372
373
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.

374
375
376
377
378
379
380
381
382
383
384
385
386
387
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.

388
389
390
391
392
393
394
395
396
397
398
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.

399
400
401
402
403
404
405
406
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.

407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
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.

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

438
439
440
441
442
443
444
445
446
447
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.

Guillaume Lazzara's avatar
Guillaume Lazzara committed
448
449
450
451
452
453
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.

454
455
456
457
458
459
460
461
462
463
464
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.

465
466
467
468
469
470
471
472
473
474
475
476
477
478
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.

479
480
481
482
483
484
485
486
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.

487
488
489
490
491
492
493
494
495
496
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.

497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
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.

515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
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.

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

555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
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.

570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
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.

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

605
606
607
608
609
610
611
612
613
614
615
616
617
618
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.

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

628
629
630
631
632
633
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.

634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
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.

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

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

672
673
674
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
675
676
677
	* core/site_set/p_transformed.cc: Add inverse and typedefs.
	* morpho/tree/Makefile.am,
	* morpho/tree/dual_input_tree.cc,
678
	Add dual input tree tests.
Roland Levillain's avatar
Roland Levillain committed
679
	* morpho/tree/filter/filter.cc: Minor changes.
680

681
682
683
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
684
685
686
687
	* 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
688
	generic / low quantized algorithms.
Roland Levillain's avatar
Roland Levillain committed
689
690
691
	* morpho/tree/impl/dual_hqueue.hh: New.
	* morpho/tree/impl/dual_union_find.hh: New.
	* morpho/tree/impl: New.
692

693
694
695
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
696
697
698
	* core/image/imorph/tr_image.hh,
	* core/site_set/p_transformed.hh,
	* core/site_set/p_transformed_piter.hh:
699
700
701
	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
702
703
704
	* fun/p2p/translation.hh: Add argument type definition.
	* fun/x2x/translation.hh: Add inverse function.
	* geom/translate.hh: Fix non generic stuff and bug.
705

706
707
708
2009-09-25  Edwin Carlinet  <carlinet@lrde.epita.fr>

	Add hierarchical queues for Salembier's algorithm.
Roland Levillain's avatar
Roland Levillain committed
709
710
711
712
713
	* 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
714
715
716
	a given type. (Similar to histo::array but the
	values are not limited to unsigned type).

Guillaume Lazzara's avatar
Guillaume Lazzara committed
717
718
719
720
721
722
723
724
725
726
727
728
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.

729
730
731
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
732
	* mln/fun/v2v/hsl_to_rgb.hh: Add correct reference for HSL
733
734
	to RGB conversion.

735
736
737
738
739
740
741
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/.

742
743
744
745
746
747
748
749
750
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.

751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
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.

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

775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
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.

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

799
800
801
802
803
804
805
806
807
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.

808
809
810
811
812
813
814
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.

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

833
834
835
836
837
838
839
840
841
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.

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

855
856
857
858
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
859
860
861
2009-09-22  Fabien Freling  <fabien.freling@lrde.epita.fr>

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

864
865
866
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
867
868
	* mln/fun/v2v/hsl_to_rgb.hh: Add new algorithm for conversion.
	* mln/value/rgb.hh: Enable convertion to HSL.
869

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

880
881
882
883
884
885
886
887
888
889
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.

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

901
902
903
904
905
906
907
908
909
910
911
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.

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

	Introduce a ``tolerant'' image_if morpher.

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

918
919
920
921
922
923
924
925
926
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.

927
928
929
930
931
932
933
934
935
936
937
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.

938
939
940
941
942
943
2009-09-21  Roland Levillain  <roland@lrde.epita.fr>

	Have combine delegate to impl::combine.

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

944
945
946
947
948
949
950
951
952
953
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.

954
955
956
957
958
959
960
961
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.

962
963
964
965
966
967
968
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.

969
970
971
972
973
974
975
976
977
978
979
980
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.

981
982
983
984
985
986
987
988
989
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.

990
991
992
993
994
995
996
997
998
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.

999
1000
2009-09-18  Roland Levillain  <roland@lrde.epita.fr>