ChangeLog 140 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
2007-03-13  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Add oln_plain_value, update level::apply, and provide a sample test code.

	* oln/core/internal/f_ch_value.hh (oln_plain_value): New.
	* oln/core/internal/image_base.hh (include): Add f_ch_value.
	* oln/level/apply.hh: Inactivate almost the whole code.
	(apply): Update a single version.
	* tests/core/apply.cc: New.
	* tests/core/Makefile.am: Update.

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
2007-03-13  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Add plain and ch_value functions on images.

	* oln/core/internal/f_ch_value.hh,
	* oln/core/internal/f_pset_plain.hh: New.
	* tests/core/neighb2d.cc: Fix.
	* tests/core/Makefile.am: Fix.
	* oln/core/concept/image.hh (plain): New.
	* oln/core/equipment.hh (plain, skeleton): New.
	(oln_plain): New.
	* oln/core/2d/image2d.hh: Update.
	* oln/core/2d/image2d_b.hh: Update.
	* oln/core/gen/op.hh (op_): New ctor.
	* oln/core/gen/single_value_image.hh: Update.
	* oln/core/internal/op_image_plus_nbh.hh: Separate decl and impl.
	(special_op_): New ctor.
	* oln/core/internal/instant_value.hh: Inactivate code that does not
	compile with g++-3.
	* oln/core/internal/image_base.hh (pl::value, pl::rec): New.
	(image_base_): Update.
	* oln/stc/scoop.hh (stc_type_in_, stc_type_in): New.

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
2007-03-13  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Add initialization material; extend point2d and box2d with it.

	* oln/core/init.hh,
	* oln/core/internal/initializer.hh,
	* oln/core/internal/instant_value.hh: New.
	* oln/core/concept/grid.hh (from, to): New.
	* oln/core/2d/grid2d.hh (row, col),
	(drow, dcol, nrows, ncols): New.
	* oln/core/2d/box2d.hh (init__): New.
	* oln/core/2d/point2d.hh (init__): New.
	* oln/core/gen/box.hh (init__): New.
	(operator<<): New.
	* oln/core/internal/utils.hh: Add FIXME.

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
2007-03-13  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Add 1D classes and remove some dead code.

	* oln/core/internal/utils.hh (triplet): New.
	* oln/core/1d/image1d_b.hh,
	* oln/core/1d/grid1d.hh,
	* oln/core/1d/box1d.hh,
	* oln/core/internal/dpoint1d.hh,
	* oln/core/internal/point1d.hh: New.
	* tests/core/grid.cc,
	* oln/core/1d/neighb1d.hh,
	* oln/core/1d/dpoint1d.hh,
	* oln/core/1d/array1d.hh,
	* oln/core/1d/image1d.hh,
	* oln/core/1d/window1d.hh,
	* oln/core/1d/point1d.hh: Update.

	* oln/core/aliases.hh,
	* oln/core/fwd_decls.hh,
	* oln/core/1d/aliases.hh,
	* oln/core/1d/topo1d.hh,
	* oln/core/1d/fwd_decls.hh,
	* oln/core/2d/aliases.hh,
	* oln/core/2d/topo2d.hh,
	* oln/core/2d/fwd_decls.hh,
	* oln/core/3d/aliases.hh,
	* oln/core/3d/topo3d.hh,
	* oln/core/3d/fwd_decls.hh,
	* oln/core/gen/fwd_decls.hh: Remove.
	* oln/core/2d/box2d.hh,
	* oln/core/2d/neighb2d.hh,
	* oln/core/2d/window2d.hh (include): Remove aliases.
	* oln/core/internal/point2d.hh (grid_): Remove fwd decl.

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
2007-03-12  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Add type of 2d images with border.

	* tests/core/Makefile.am (check_PROGRAMS): Add neighb2d.
	* oln/debug/print.hh: Update.
	* oln/core/2d/array2d.hh (operator[], blen_): New.
	* oln/core/2d/image2d.hh (npoints): Fix; rename as...
	(impl_npoints): ...this.
	(operator[]): Update.
	* oln/core/2d/image2d_b.hh: Update.
	* oln/core/2d/grid2d.hh (OLN_ENV_2D): New.
	* oln/core/equipment.hh (oln_coord): New.
	* oln/core/gen/dpoints_piter.hh (dps_): Change type.
	* oln/core/internal/image_base.hh (impl_npoints): New; default impl.
	* oln/core/internal/point_set_std_based.hh: Fix.

103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
2007-03-11  Nicolas Ballas  <ballas@lrde.epita.fr>

	Add rle_class, not finish yet.

	* oln/core/rle: New.
	* oln/core/rle/rle_image.hh: New.
	* oln/core/rle/rle_psite.hh: New.
	* oln/core/rle/rle_pset.hh: New.

2007-03-11  Nicolas Ballas  <ballas@bosc-guerard.lrde.epita.fr>

         Add rle_image class, not finish yet.
	 rle_image class depends on rle_psite class and rle_pset class.

	* oln/core/rle/rle_image.hh: New
	* oln/core/rle/rle_psite.hh: .
	* oln/core/rle/rle_pset.hh: .

Ugo Jardonnet's avatar
Ugo Jardonnet committed
121
122
123
124
125
126
127
128
129
2007-03-09  Ugo Jardonnet  <ugo.jardonnet@lrde.epita.fr>

	Add test for neighborhood.

	* tests/core/neighb2d.cc: New.
	* tests/core/Makefile.am: .
	* oln/core/automatic/impl.hh: .
	* oln/core/abstract/internal/image_impl.hh: .

Thierry Geraud's avatar
Thierry Geraud committed
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
2007-03-09  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Update tests.

	* tests/core/image_entry.cc: Remove; obsolete.
	* tests/core/window2d.cc,
	* tests/core/point2d.cc,
	* tests/core/dpoint2d.cc,
	* tests/core/at.cc,
	* tests/core/Makefile.am,
	* tests/core/grid.cc,
	* tests/core/image2d.cc,
	* tests/core/npoints.cc,
	* oln/debug/print_nbh.hh,
	* oln/level/fill.hh: Update.

146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
2007-03-08  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Add the notion of image plus neighborhood and the underlying
	mechanism.

	* oln/debug/print_nbh.hh,
	* oln/debug/iota.hh,
	* oln/core/concept/image_identity.hh,
	* oln/core/gen/op.hh,
	* oln/core/internal/op_image_plus_nbh.hh,
	* oln/core/internal/special_op.hh: New.
	* oln/core/concept/image.hh (fwd_niter, bkd_niter, niter): New.
	* oln/core/concept/neighborhood.hh (category): New.
	(include): Add op_image_plus_nbh.hh.
	(oln_decl_op_plus): New.  Handle "Image + Neighborhood".
	* oln/core/equipment.hh (left, right, oper, tag): New.
	* oln/core/gen/single_value_image.hh: Fix.
	* oln/core/internal/neighborhood_base.hh (category): New.
	(neighborhood_base_): Fix inheritance.
	* oln/core/internal/image_base.hh (image_extension_): New.
	(image_base_): Add dpoint.
	* oln/stc/scoop.hxx (vtypes, super_trait_): Add specialization
	for const types.
	(super_trait_): Handle error when not user-defined.

171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
2007-03-08  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Move the responsibility of iteration on window points from
	images to windows.

	* ChangeLog: Add missing former entry.
	* core/concept/image.hh (value): Add missing code.
	(qiter, fwd_qiter, bkd_qiter): Move to...
	* core/concept/window.hh: ...here.
	(point): New virtual type.
	* core/concept/neighborhood.hh (point): Likewise.
	* core/2d/aliases.hh,
	* core/2d/neighb2d.hh,
	* core/2d/dpoint2d.hh,
	* core/2d/window2d.hh,
	* core/2d/box2d.hh: Update.
	* core/gen/dpoints_piter.hh (include): Remove useless ones.
	* oln/core/internal/neighborhood_base.hh: New.
	* core/gen/neighb.hh: Update inheritance.
	* oln/core/internal/window_base.hh: New.
	* core/gen/window.hh: Update inheritance.
	(vtypes): Update.
	* core/internal/point_set_std_based.hh: Fix missing return.
	* core/internal/image_base.hh: Update.
	* core/internal/point2d.hh: Fix wrong visibility.

2007-03-07  Ugo Jardonnet  <ugo.jardonnet@lrde.epita.fr>

	Fix name lookup for attribute of super classes.

	* olena/oln/core/concept/image.hh,
	* olena/oln/core/gen/dpoints_piter.hh,
	* olena/oln/core/internal/point_base.hh,
	* olena/oln/core/internal/dpoint_base.hh: Fix name lookup
	for attribute of super classes.

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
237
238
239
240
2007-03-06  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Update windows and neighborhoods + remove obsolete files.

	* oln/core/abstract/window.hh: Rename as...
	* oln/core/concept/window.hh: ...this and update.
	* oln/core/abstract/neighborhood.hh: Rename as...
	* oln/core/concept/neighborhood.hh: ...this and update.
	* oln/core/gen/fwd_qiter_win.hh: Rename as...
	* oln/core/gen/dpoints_piter.hh: ...this and update.
	* oln/core/internal/dpoints_impl.hh: New.
	* oln/core/2d/neighb2d.hh: Update.
	* oln/core/internal/image_base.hh (plain_primitive_image_): New.
	* oln/core/2d/image2d.hh (image2d): Inherit from plain_primitive_image_.
	* oln/core/2d/window2d.hh: Update
	(mk_square): New.
	* oln/core/gen/neighb.hh: Update.
	* oln/core/internal/image_selectors.hh: Fix.
	* oln/core/internal/dpoint_base.hh (include): Fix.

	* oln/core/type.hh,
	* oln/core/typedefs.hh,
	* oln/core/macros.hh,
	* oln/core/neighborhood_entry.hh,
	* oln/core/gen/bkd_qiter_win.hh,
	* oln/core/gen/grid.hh,
	* oln/core/gen/topo_add_isubset.hh,
	* oln/core/gen/topo_bbox.hh,
	* oln/core/gen/fwd_niter_neighb.hh,
	* oln/core/gen/topo_lbbox.hh,
	* oln/core/gen/bkd_niter_neighb.hh,
	* oln/core/gen/topo_add_nbh.hh,
	* oln/core/internal/topology_morpher.hh: Remove.

241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
2007-03-06  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Extend image selectors and add image2d type.

	* core/concept/image.hh (doc): New.
	(Fast_Image): New.
	(Random_Accessible_Image, Random_Mutable_Image): Merge into
	Fast_Image.
	* core/concept/point_set.hh (include): Update.
	* core/concept/point.hh: Likewise.
	* core/2d/array2d.hh (include): Remove abstract/array.
	(array2d): Rename as...
	(array2d_): ...this.
	(imin, jmin, imax, jmax, buffer, ncells): New methods.
	* core/2d/image2d.hh: Update.
	* core/2d/image2d_b.hh: New.
	* core/2d/grid2d.hh (Grid_2D): New.
	(grid2d_rec, grid2d_hex, grid2d_tri): New.
	* core/equipment.hh (ch_value, output): New.
	* core/gen/box.hh: Fix.
	* core/internal/image_selectors.hh: Update.
	* core/internal/image_base.hh (qiter, fwd_qiter, bkd_qiter): New.
	* stc/scoop.hh (stc_get_type_, stc_get_type, stc_is_a): New.

265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
2007-03-05  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Update image concepts and add single_value_image.

	* core/abstract/image.hh: Rename as...
	* core/concept/image.hh: ...this.
	Update.
	Add some code from files in core/abstract/image/.
	* core/image_entry.hh: Rename as...
	* core/internal/image_base.hh: ...this.
	Update.
	Add some code from files in core/internal/.
	* core/gen/image_pset_piter.hh,
	* core/gen/single_value_image.hh,
	* core/internal/utils.hh,
	* core/internal/image_selectors.hh: New.
	* core/topology_entry.hh: Remove this residue.
	* core/concept/point_set.hh (has): Fix typo.
	* core/concept/point.hh (oln/core/concept/operators):
	Include.
	* core/equipment.hh: Update.
	* stc/scoop.hxx (internal::top): Rename as...
	(internal::top__): ...this to disambiguate.

289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
2007-03-05  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Update some abstractions and remove topology-related classes.

	* oln/core/abstract/value.hh: Rename as...
	* oln/core/concept/value.hh: ...this and update.
	* oln/core/abstract/iterator_on_values.hh: Rename as...
	* oln/core/concept/iterator_on_values.hh: ...this and update.
	* oln/core/abstract/topology/topology_having_bbox.hh,
	* oln/core/abstract/topology/hierarchies.hh,
	* oln/core/abstract/topology/all.hh,
	* oln/core/abstract/topology/topology_being_random_accessible.hh,
	* oln/core/abstract/topology/topology_having_subset.hh,
	* oln/core/abstract/topology/topology_having_neighborhood.hh:
	Remove.

305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
2007-03-05  Thierry Geraud  <thierry.geraud@lrde.epita.fr>

	Cleaning point set classes.

	* oln/core/point_set_entry.hh: Rename as...
	* oln/core/internal/point_set_base.hh: ...this and update.
	* oln/core/abstract/point_set.hh: Rename as...
	* oln/core/concept/point_set.hh: ...this and update.
	* oln/core/abstract/iterator.hh: Rename as...
	* oln/core/concept/iterator.hh: ...this and update.
	* oln/core/abstract/iterator_on_points.hh: Rename as...
	* oln/core/concept/iterator_on_points.hh: ...this and update.
	* oln/core/abstract/point_set/point_set_being_random_accessible.hh,
	* oln/core/abstract/point_set/point_set_having_known_size.hh,
	* oln/core/abstract/point_set/hierarchies.hh,
	* oln/core/abstract/point_set/all.hh,
	* oln/core/abstract/point_set/point_set_being_connected.hh,
	* oln/core/abstract/point_set/point_set_having_bbox.hh: Remove.
	* oln/core/gen/bbox.hh: Split and rename as...
	* oln/core/gen/box.hh: ...this and update...
	* oln/core/gen/fbbox.hh: ...and this and update.
	* oln/core/gen/bbox_fwd_piter.hh,
	* oln/core/gen/bbox_bkd_piter.hh: Remove because merge with...
	* oln/core/gen/box.hh: ...this.
	* oln/core/gen/pset_.hh: Rename as...
	* oln/core/gen/pset.hh: ...this and update.
	* oln/core/gen/pset_list.hh: Rename as...
	* oln/core/gen/plist.hh: ...this and update.
	* oln/core/gen/pset_vec.hh: Rename as...
	* oln/core/gen/pvec.hh: ...this and update.
	* oln/core/gen/piter_on_std_based_pset.hh: Rename as...
	* oln/core/internal/point_set_std_based.hh: ...this and update.
	* oln/core/2d/aliases.hh: Update.
	* oln/core/equipment.hh: Update.
	* oln/core/2d/box2d.hh: New.

341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
2007-03-02  Thierry Geraud  <theo@lrde.epita.fr>

	Start cleaning so the trunk is BROKEN for several weeks.

	Add a temporary SCOOP equipment.

	* oln/stc/scoop.hh: New.
	* oln/stc/scoop.hxx: New.
	* oln/core/equipment.hh: New.

	Define some concepts.

	* oln/core/abstract/grid.hh: Rename as...
	* oln/core/concept/grid.hh: ...this and update.
	* oln/core/abstract/point.hh: Rename as...
	* oln/core/concept/point.hh: ...this and update.
	* oln/core/abstract/dpoint.hh: Rename as...
	* oln/core/concept/dpoint.hh: ...this and update.
	* oln/core/concept/operators.hh: New.

	Update implementation classes.

	* oln/core/2d/grid2d.hh: New.
	* oln/core/2d/dpoint2d.hh: Update.
	* oln/core/2d/point2d.hh: Update.
	* oln/core/internal/point_nd.hh: Rename as...
	* oln/core/internal/point_base.hh: ...this and update.
	* oln/core/internal/dpoint_base.hh: New.
	* oln/core/internal/dpoint2d.hh: New.
	* oln/core/internal/point2d.hh: New.

	Last.

	* oln/core/internal/tracked_ptr.hh (mlc/contract.hh): Include it.

Roland Levillain's avatar
Roland Levillain committed
376
377
378
379
380
381
382
383
384
385
386
387
2007-03-02  Roland Levillain  <roland@lrde.epita.fr>

	Improve sanity checks.

	* tests/sanity/Makefile.am (CPPFLAGS): Rename as...
	(AM_CPPFLAGS): ...this.
	(check): Rename as...
	(check-local): ...this.
	Pass CXX and CXXFLAGS variables to includes.test through the
	environment.
	Protect RHS in shell variable assignments.

Roland Levillain's avatar
Roland Levillain committed
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
2007-01-30  Roland Levillain  <roland@lrde.epita.fr>

	Catch up with Static.

	* oln/core/typedefs.hh: Catch up with stc/scoop-alt.hh.
	* oln/core/abstract/image/bbox/hierarchy.hh,
	* oln/core/abstract/image/dimension/hierarchy.hh,
	* oln/core/abstract/image/hybrid/classical.hh,
	* oln/core/abstract/image/mutability/hierarchy.hh,
	* oln/core/abstract/image/neighborhood/hierarchy.hh,
	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh,
	* oln/core/abstract/iterator_on_points.hh,
	* oln/core/abstract/point.hh,
	* oln/core/internal/dpoint_nd.hh,
	* oln/core/image_entry.hh:
	s/OLENA_USE_NEW_SCOOP2/OLENA_USE_SCOOP_ALT/g.

405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
2007-01-26  Roland Levillain  <roland@lrde.epita.fr>

	Add temporary helpers to support the new SCOOP 2 implementation.
	The macro OLENA_USE_NEW_SCOOP2 is used to tag the places where
	support code is introduced.

	* oln/core/typedefs.hh (stc/scoop2.hh) [OLENA_USE_NEW_SCOOP2]:
	Include it.
	(stc/scoop.hh) [!OLENA_USE_NEW_SCOOP2]: Include it.
	Invoke stc_scoop_equipment_for_namespace(oln).


	Temporary hack: define deferred virtual types as single_vtypes
	when using new SCOOP 2 implementation.

	* oln/core/image_entry.hh
	(vtypes< image_entry<E> >::rvalue_type)
	[!OLENA_USE_NEW_SCOOP2]: Define it.
	(single_vtype<image_entry<E>, typedef_::rvalue_type>
	[!OLENA_USE_NEW_SCOOP2]: Define it.
	* oln/core/abstract/iterator_on_points.hh
	(vtypes< abstract::iterator_on_points<E> >)
	[!OLENA_USE_NEW_SCOOP2]: Define it.
	(single_vtype<abstract::iterator_on_points<E>, typedef_::coord_type>)
	[OLENA_USE_NEW_SCOOP2]: Define it.
Roland Levillain's avatar
Roland Levillain committed
430
	* oln/core/abstract/point.hh (oln, oln):
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
	(vtypes< abstract::point<E> >::coord_type)
	(vtypes< abstract::point<E> >::vec_type)
	[!OLENA_USE_NEW_SCOOP2]: Define them.
	(single_vtype< abstract::point<E>, typedef_::coord_type>)
	(single_vtype< abstract::point<E>, typedef_::vec_type>)
	[OLENA_USE_NEW_SCOOP2]: Define them.
	* oln/core/internal/point_nd.hh (vtypes< internal::point_nd<E> >):
	Disable it (duplicate with vtypes< abstract::point<E> >).
	* oln/core/internal/dpoint_nd.hh
	(vtypes< internal::dpoint_nd<E> >::vec_type)
	[!OLENA_USE_NEW_SCOOP2]: Define it.
	(single_vtype< internal::dpoint_nd<E>, typedef_::vec_type >)
	[OLENA_USE_NEW_SCOOP2]: Define it.


	Fix the usage of stc::not_found and stc::is_found_.

	* oln/core/abstract/image/dimension/hierarchy.hh
	(case_<image_hierarchy_wrt_dimension, E, 1>)
	(case_<image_hierarchy_wrt_dimension, E, 3>)
	(case_<image_hierarchy_wrt_dimension, E, 5>)
	[OLENA_USE_NEW_SCOOP2]: Use stc::is_found_ to check for the
	existence of an lvalue.
	[!OLENA_USE_NEW_SCOOP2]: Use mlc::is_found_ to check for the
	existence of an lvalue.
	* oln/core/abstract/image/mutability/hierarchy.hh
	(case_<image_hierarchy_wrt_mutability, E, 1>)
	[OLENA_USE_NEW_SCOOP2]: Use stc::is_found_ to check for the
	existence of an lvalue.
	[!OLENA_USE_NEW_SCOOP2]: Use mlc::is_found_ to check for the
	existence of an lvalue.
	* oln/core/abstract/image/bbox/hierarchy.hh
	(case_<image_hierarchy_wrt_bbox, E, 1>)
	[OLENA_USE_NEW_SCOOP2]: Use stc::is_found_ to check for the
	existence of a bounding box.
	[!OLENA_USE_NEW_SCOOP2]: Use mlc::is_found_ to check for the
	existence of a bounding box.
	* oln/core/abstract/image/hybrid/classical.hh
	(case_<image_hybrid_hierarchy_wrt_classical, E, 1>)
	(case_<image_hybrid_hierarchy_wrt_classical, E, 2>)
	(case_<image_hybrid_hierarchy_wrt_classical, E, 3>)
	(case_<image_hybrid_hierarchy_wrt_classical, E, 4>)
	[OLENA_USE_NEW_SCOOP2]: Use stc::not_found to check for the
	existence of a bounding box.
	(case_<image_hybrid_hierarchy_wrt_classical, E, 1>)
	(case_<image_hybrid_hierarchy_wrt_classical, E, 2>)
	(case_<image_hybrid_hierarchy_wrt_classical, E, 3>)
	(case_<image_hybrid_hierarchy_wrt_classical, E, 4>)
	[!OLENA_USE_NEW_SCOOP2]: Use mlc::not_found to check for the
	existence of a bounding box.
	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh
	(case_<image_hierarchy_wrt_value_wise_accessibility, E, 1>):
	(case_<image_hierarchy_wrt_value_wise_accessibility, E, 2>):
	[OLENA_USE_NEW_SCOOP2]: Use stc::is_found_ to check for the
	existence of a value iterator (and a value proxy).
	[!OLENA_USE_NEW_SCOOP2]: Use mlc::is_found_ to check for the
	existence of a value iterator (and a value proxy).
	* oln/core/abstract/image/neighborhood/hierarchy.hh
	(case_<image_hierarchy_wrt_neighborhood, E, 1>)
	[OLENA_USE_NEW_SCOOP2]: Use stc::is_found_ to check for the
	existence of a neighborhood.
	[!OLENA_USE_NEW_SCOOP2]: Use mlc::is_found_ to check for the
	existence of a neighborhood.


	* oln/core/abstract/grid.hh (set_super_type<abstract::grid<E>>):
	New.  Fix abstract::grid not having a super type.
	* oln/morpher/thru_mfun.hxx: Move all implementations of methods
	into...
	(oln::morpher): ...this namespace.

	* oln/core/gen/fwd_viter_lut.hh, oln/core/gen/bkd_viter_lut.hh,
	* oln/core/gen/topo_bbox.hh, oln/core/gen/topo_lbbox.hh,
	* oln/core/gen/topo_add_isubset.hh, oln/core/gen/topo_add_nbh.hh,
	* oln/core/internal/bbox_fwd_piter.hh: Fix comments.
	* oln/core/2d/point2d.hh (oln): Aesthetic changes.

	* tests/core/point2d.cc: Fix inter-dependent headers.
	* tests/core/dpoint2d.cc: Add a static assertion.
	* tests/algorithms/fill.cc:
	s/oln_type_of_(image_t, piter)/oln_piter_(image_t)/

513
514
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
2007-01-19  Thomas Moulard  <thomas.moulard@lrde.epita.fr>

	Split morphers' interface and implementation.
	* oln/morpher/add_isubset.hh: Split into...
	* oln/morpher/add_isubset.hxx: ...this new file.
	* oln/morpher/add_neighborhood.hh: Split into...
	* oln/morpher/add_neighborhood.hxx: : ...this new file.
	* oln/morpher/count_rw.hh: Split into...
	* oln/morpher/count_rw.hxx: : ...this new file.
	* oln/morpher/identity.hh: Split into...
	* oln/morpher/identity.hxx: : ...this new file.
	* oln/morpher/stack.hh: Split into...
	* oln/morpher/stack.hxx: : ...this new file.
	* oln/morpher/stack_rw.hh: Split into...
	* oln/morpher/stack_rw.hxx: : ...this new file.
	* oln/morpher/thru_fun.hh: Split into...
	* oln/morpher/thru_mfun.hh: Split into...
	* oln/morpher/thru_mfun.hxx: : ...this new file.
	* oln/morpher/two_way.hh: Split into...
	* oln/morpher/two_way.hxx: : ...this new file.
	* oln/morpher/two_way_rw.hh: Split into...
	* oln/morpher/two_way_rw.hxx: : ...this new file.
	* oln/morpher/value_cast.hh: Split into...
	* oln/morpher/value_cast.hxx: : ...this new file.
	* oln/morpher/with_lut.hh: Split into...
	* oln/morpher/with_lut.hxx: : ...this new file.

540
541
542
2006-12-04  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Propagate scoop update to oln.
Roland Levillain's avatar
Roland Levillain committed
543

544
	* oln/core/macros.hh
Roland Levillain's avatar
Roland Levillain committed
545
546
	(oln_type_of_, oln_type_of, oln_deduce_type_of): Update and rename
	as...
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
	(oln_vtype_, oln_vtype, oln_deduce_vtype): ...these.
	(oln_deferred_vtype, oln_deduce_deferred_vtype): New.
	(oln_find_vtype, oln_find_deferred_vtype): New.
	* tests/morphers/add_neighborhood_morpher.cc: Update.
	* tests/morphers/morphers.cc: Likewise.
	* tests/core/image_entry.cc: Likewise.
	* tests/core/grid.cc: Likewise.
	* tests/core/image1d.cc: Likewise.
	* tests/core/image2d.cc: Likewise.
	* tests/core/image3d.cc: Likewise.
	* tests/core/npoints.cc: Likewise.
	* oln/debug/print.hh: Likewise.
	* oln/core/typedefs.hh: Likewise.
	* oln/core/automatic/impl.hh: Likewise.
	* oln/core/automatic/image/image.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
562
563
	* oln/core/automatic/image/image_being_point_wise_random_accessible.hh:
	Likewise.
564
	* oln/core/automatic/image/image_having_neighborhood.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
565
566
	* oln/core/automatic/image/image_being_value_wise_random_accessible.hh:
	Likewise.
567
568
	* oln/core/automatic/topology/topology_having_bbox.hh: Likewise.
	* oln/core/automatic/topology/topology_having_subset.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
569
570
571
572
	* oln/core/automatic/topology/topology_being_random_accessible.hh:
	Likewise.
	* oln/core/automatic/topology/topology_having_neighborhood.hh:
	Likewise.
573
574
575
576
577
578
579
580
581
582
583
584
	* oln/core/spe/row.hh: Likewise.
	* oln/core/spe/col.hh: Likewise.
	* oln/core/spe/slice.hh: Likewise.
	* oln/core/iterator_vtypes.hh: Likewise.
	* oln/core/abstract/iterator_on_points.hh: Likewise.
	* oln/core/abstract/image/hybrid/classical.hh: Likewise.
	* oln/core/abstract/image/type/integre.hh: Likewise.
	* oln/core/abstract/image/type/hierarchy.hh: Likewise.
	* oln/core/abstract/image/computability/hierarchy.hh: Likewise.
	* oln/core/abstract/image/dimension/1d.hh: Likewise.
	* oln/core/abstract/image/dimension/2d.hh: Likewise.
	* oln/core/abstract/image/dimension/3d.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
585
586
587
588
	* oln/core/abstract/image/point_wise_accessibility/hierarchy.hh:
	Likewise.
	* oln/core/abstract/point_set/point_set_being_random_accessible.hh:
	Likewise.
589
590
591
592
	* oln/core/abstract/point_set/point_set_having_known_size.hh: Likewise.
	* oln/core/abstract/point_set/point_set_being_connected.hh: Likewise.
	* oln/core/abstract/point_set/point_set_having_bbox.hh: Likewise.
	* oln/core/abstract/topology/topology_having_bbox.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
593
594
	* oln/core/abstract/topology/topology_being_random_accessible.hh:
	Likewise.
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
	* oln/core/abstract/topology/topology_having_subset.hh: Likewise.
	* oln/core/abstract/topology/topology_having_neighborhood.hh: Likewise.
	* oln/core/abstract/internal/image_impl.hh: Likewise.
	* oln/core/gen/piter_isubset.hh: Likewise.
	* oln/core/gen/topo_add_isubset.hh: Likewise.
	* oln/core/gen/bbox.hh: Likewise.
	* oln/core/gen/topo_bbox.hh: Likewise.
	* oln/core/gen/neighb.hh: Likewise.
	* oln/core/gen/bkd_viter_lut.hh: Likewise.
	* oln/core/gen/pset_list.hh: Likewise.
	* oln/core/gen/window.hh: Likewise.
	* oln/core/gen/topo_lbbox.hh: Likewise.
	* oln/core/gen/pset_vec.hh: Likewise.
	* oln/core/gen/pset_.hh: Likewise.
	* oln/core/gen/fwd_viter_lut.hh: Likewise.
	* oln/core/gen/mapimage.hh: Likewise.
	* oln/core/gen/topo_add_nbh.hh: Likewise.
	* oln/core/internal/topology_morpher.hh: Likewise.
	* oln/core/internal/point_nd.hh: Likewise.
	* oln/core/internal/bbox_bkd_piter.hh: Likewise.
	* oln/core/internal/bbox_fwd_piter.hh: Likewise.
	* oln/core/internal/dpoint_nd.hh: Likewise.
	* oln/morpher/add_isubset.hh: Likewise.
	* oln/morpher/value_cast.hh: Likewise.
	* oln/morpher/thru_fun.hh: Likewise.
	* oln/morpher/slice.hh: Likewise.
	* oln/morpher/with_lut.hh: Likewise.
	* oln/morpher/thru_mfun.hh: Likewise.
	* oln/morpher/internal/image_value_morpher.hh: Likewise.
	* oln/morpher/internal/image_extension.hh: Likewise.
	* oln/morpher/add_neighborhood.hh: Likewise.

	Entry classes now use:
	- stc::abstract instead of mlc::undefined;
	- stc::final when possible;
	- 'deferred' versions of vtype access when required.
Roland Levillain's avatar
Roland Levillain committed
631

632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
	* oln/core/point_set_entry.hh: Update.
	(set_super_type): New.
	(vtypes): Update.
	* oln/core/neighborhood_entry.hh: Likewise.
	* oln/core/topology_entry.hh: Likewise.
	* oln/core/image_entry.hh: Likewise.
	* oln/core/abstract/grid.hh: Likewise.
	* oln/core/abstract/image.hh: Likewise.
	(decl): Re-activate static checks.
	* oln/core/abstract/iterator.hh: Likewise.
	* oln/core/abstract/point.hh: Likewise.
	* oln/core/abstract/dpoint.hh: Likewise.
	* oln/core/abstract/iterator_on_values.hh: Likewise.
	* oln/core/abstract/window.hh: Likewise.

	Remove obsolete definitions of now final vtypes.
Roland Levillain's avatar
Roland Levillain committed
648

649
650
651
652
	* tests/core/image_entry.cc: Update.
	* oln/core/1d/image1d.hh: Likewise.
	* oln/core/2d/image2d.hh: Likewise.
	* oln/core/3d/image3d.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
653

654
	Update tests with the 'find' version of vtype access.
Roland Levillain's avatar
Roland Levillain committed
655

656
657
658
659
	* oln/core/abstract/image/mutability/hierarchy.hh: Update.
	* oln/core/abstract/image/dimension/hierarchy.hh: Likewise.
	* oln/core/abstract/image/neighborhood/hierarchy.hh: Likewise.
	* oln/core/abstract/image/bbox/hierarchy.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
660
661
	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh:
	Likewise.
662
663
664
665
666
667
668
669
670
671
672

	Update from 'delegated' to 'delegatee'.

	* oln/core/abstract/internal/image_impl.hh: Update.
	* oln/core/gen/topo_add_nbh.hh: Likewise.
	* oln/core/internal/topology_morpher.hh: Likewise.
	* oln/morpher/internal/image_value_morpher.hh: Likewise.
	* oln/morpher/internal/image_extension.hh: Likewise.
	* oln/core/typedefs.hh (delegated_type): Add commentary.

	Misc.
Roland Levillain's avatar
Roland Levillain committed
673

674
675
676
677
678
679
680
	* tests/core/at.cc: Cosmetic change.
	* oln/core/gen/bbox.hh (vtypes): Fix typo.
	* oln/core/gen/pset_list.hh: Likewise.
	* oln/core/gen/pset_vec.hh: Likewise.
	* oln/core/gen/pset_.hh: Likewise.
	* tests/core/image_entry.cc (is_computed_type): Fix missing.

681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
2006-11-15  Roland Levillain  <roland@lrde.epita.fr>

	Add a specialization of level::fill for value-wise random-accessible
	images.

	* tests/morphers/with_lut.cc (main): More static checking of
	the interface of an image with LUT.
	Test oln::level::fill on an image with LUT.
	* oln/level/fill.hh
	(level::fill(abstract::
	 mutable_image_being_value_wise_random_accessible<I>&))
	(level::impl::
	 fill(abstract::mutable_image_being_value_wise_random_accessible<I>&)):
	 New.
	* oln/core/typedefs.hh (oln_fwd_viter, oln_fwd_viter_)
	(oln_bkd_viter, oln_bkd_viter_, oln_viter, oln_viter_): New macros.
	* oln/core/gen/bkd_viter_lut.hh
	(bkd_viter_lut::bkd_viter_lut(const morpher::with_lut<Image, Lut>&))
	* oln/core/gen/fwd_viter_lut.hh
	(fwd_viter_lut::fwd_viter_lut(const morpher::with_lut<Image, Lut>&))
	New ctors.

703
704
705
706
707
708
709
710
711
712
713
714
2006-11-15  Roland Levillain  <roland@lrde.epita.fr>

	Fix virtual types of oln::internal::point_nd and
	oln::internal::dpoint_nd.

	* oln/core/internal/point_nd.hh
	(oln::vtypes< internal::point_nd<E> >::vec_t)
	(oln::vtypes< internal::point_nd<E> >::psite_type): Remove
	typedefs.
	(oln::vtypes< internal::point_nd<E> >::vec_type): Fix typedef.
	* oln/core/internal/point_nd.hh
	(oln::vtypes< internal::point_nd<E> >::vec_t): Remove typedef.
Roland Levillain's avatar
Roland Levillain committed
715
	(oln::vtypes< internal::point_nd<E> >::vec_type): Fix typedef.
716

717
718
719
2006-11-14  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Now call simplified scoop macros.
Roland Levillain's avatar
Roland Levillain committed
720

721
722
723
724
725
726
727
	* oln/core/macros.hh
	(oln_deduce_direct_type_of_, oln_deduce_direct_type_of): Remove.
	(oln_check_type_of, oln_check_type_of_): Remove.
	(oln_check_direct_type_of, oln_check_direct_type_of_): Remove.
	(oln_deduce): New; shortcut to oln_deduce_type_of.

	Add missing shortcuts.
Roland Levillain's avatar
Roland Levillain committed
728

729
730
731
732
733
734
	* oln/core/typedefs.hh (oln_dim, oln_dim_): New.
	(oln_vec, oln_vec_): New.
	(oln_bbox, oln_bbox_): New.
	(include): Fix and add fwd decls.

	Move single_vtype definitions into vtypes structures.
Roland Levillain's avatar
Roland Levillain committed
735

736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
	* oln/core/point_set_entry.hh: Update.
	(single_vtype): Move into...
	(vtypes): ...this.
	* oln/core/neighborhood_entry.hh: Likewise.
	* oln/core/topology_entry.hh: Likewise.
	* oln/core/image_entry.hh: Likewise.
	* oln/core/abstract/iterator_on_points.hh: Likewise.
	* oln/core/abstract/point.hh: Likewise.
	* oln/core/gen/topo_add_nbh.hh: Likewise.
	* oln/core/internal/topology_morpher.hh: Likewise.
	* oln/morpher/value_cast.hh: Likewise.
	* oln/morpher/two_way.hh: Likewise.
	* oln/morpher/thru_fun.hh: Likewise.
	* oln/morpher/slice.hh: Likewise.
	* oln/morpher/with_lut.hh: Likewise.
	* oln/morpher/count_rw.hh: Likewise.
	* oln/morpher/two_way_rw.hh: Likewise.
	* oln/morpher/stack.hh: Likewise.
	* oln/morpher/thru_mfun.hh: Likewise.
	* oln/morpher/stack_rw.hh: Likewise.
	* oln/morpher/internal/image_value_morpher.hh: Likewise.
Roland Levillain's avatar
Roland Levillain committed
757

758
759
	Prevent problems due to mutual recursion (thru inheritance
	and dependent types).
Roland Levillain's avatar
Roland Levillain committed
760

761
762
763
764
765
766
767
768
769
	* oln/core/abstract/image.hh (decl): Disable static checks.
	* oln/core/abstract/image/bbox/hierarchy.hh: Update.
	(decl): Disable static check.
	* oln/core/abstract/point_set.hh (~point_set): Fix code.
	(decl): Disable static check.
	* oln/core/gen/fwd_piter_bbox.hh: Update.
	Disable static check.
	* oln/core/gen/bkd_piter_bbox.hh: Update.
	Disable static check.
Roland Levillain's avatar
Roland Levillain committed
770

771
	For safety purpose.
Roland Levillain's avatar
Roland Levillain committed
772

773
774
775
	* oln/basics2d.hh (include): Move iterator_vtypes up.

	Decouple some files from specific code.
Roland Levillain's avatar
Roland Levillain committed
776

777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
	* oln/core/automatic/image/mutable_image1d.hh
	(include): Remove dependency to specific point header.
	(tmp): Update.
	* oln/core/automatic/image/mutable_image2d.hh: Likewise.
	* oln/core/automatic/image/mutable_image3d.hh: Likewise.
	* oln/core/automatic/image/image1d.hh: Likewise.
	* oln/core/automatic/image/image2d.hh: Likewise.
	* oln/core/automatic/image/image3d.hh: Likewise.
	* oln/core/1d/dpoint1d.hh: Add fwd decls and/or aliases.
	(include): Remove aliases header.
	* oln/core/2d/dpoint2d.hh: Likewise.
	* oln/core/3d/dpoint3d.hh: Likewise.
	* oln/core/1d/point1d.hh: Add fwd decls and/or aliases.
	(include): Remove aliases header.
	* oln/core/2d/point2d.hh: Likewise.
	* oln/core/3d/point3d.hh: Likewise.
	* oln/core/1d/neighb1d.hh: Add alias.
	* oln/core/2d/neighb2d.hh: Likewise.
	* oln/core/3d/neighb3d.hh: Likewise.
	* tests/core/point2d.cc (include): Solve FIXME.
	(main): Change test.
	* tests/core/dpoint2d.cc: Likewise.

	Update.
Roland Levillain's avatar
Roland Levillain committed
801

802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
	* tests/morphers/with_lut.cc: Cosmetics.
	* tests/core/image_entry.cc: Update.
	* oln/io/pnm.hh: Use shortcuts.
	(include): Update.
	* oln/core/abstract/point_set/point_set_having_bbox.hh: Update.
	* oln/core/gen/bkd_qiter_win.hh: Update.
	* oln/core/gen/grid.hh: Update.
	* oln/core/gen/bkd_viter_lut.hh: Update.
	* oln/core/gen/bbox_fwd_piter.hh: Update.
	* oln/core/gen/fwd_niter_neighb.hh: Update.
	* oln/core/gen/fwd_qiter_win.hh: Update.
	* oln/core/gen/bbox_bkd_piter.hh: Update.
	* oln/core/gen/bkd_niter_neighb.hh: Update.
	* oln/core/gen/fwd_viter_lut.hh: Update.
	* oln/core/internal/point_nd.hh: Update.
	(vtypes): New.
	* oln/core/internal/dpoint_nd.hh: Update.
	(vtypes): New.
	* oln/morpher/add_isubset.hh: Update.
	Remove dead code.
	* oln/morpher/identity.hh: Update.
	* oln/morpher/add_neighborhood.hh: Update.

825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
2006-11-13  Roland Levillain  <roland@lrde.epita.fr>

	Add backward value iterators on look-up tables.

	* oln/core/lookup_table.hh (oln::lookup_table::reverse_iterator)
	(oln::lookup_table::const_reverse_iterator): New typedefs.
	(oln::lookup_table::rbegin, oln::lookup_table::rend): New methods.
	* oln/core/typedefs.hh (bkd_viter_type): New virtual type
	declaration.
	* oln/core/gen/bkd_viter_lut.hh: New.
	* oln/core/gen/fwd_viter_lut.hh: Typos.
	* oln/morpher/with_lut.hh
	(single_vtype<morpher::with_lut<Image,Lut>, typedef_::bkd_viter_type>):
	New.
	* tests/morphers/with_lut.cc (main): Test backward value iterator
	on look-up table.
	* oln/Makefile.am (nobase_oln_HEADERS): Add
	core/gen/bkd_viter_lut.hh.

844
845
846
847
848
849
850
851
852
853
854
2006-11-13  Roland Levillain  <roland@lrde.epita.fr>

	Merge oln::internal::fwd_viter_lut and oln::fwd_viter_lut.

	* oln/core/internal/fwd_viter_lut.hh: Remove this file, and
	merge...
	(oln::internal::fwd_viter_lut): ...this class with...
	* oln/core/gen/fwd_viter_lut.hh (oln::fwd_viter_lut): ...this one.
	* oln/Makefile.am (nobase_oln_HEADERS): Remove
	core/internal/fwd_viter_lut.hh.

Roland Levillain's avatar
Roland Levillain committed
855
856
857
858
859
860
861
862
863
864
865
866
867
868
2006-11-13  Roland Levillain  <roland@lrde.epita.fr>

	Remove virtual type `is_value_wise_mutable'.

	* oln/core/typedefs.hh (is_value_wise_mutable): Remove virtual
	type declaration.
	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh:
	(case_<image_hierarchy_wrt_value_wise_accessibility, E, 1>): No
	longer use the virtual type `is_value_wise_mutable' in the
	static switch condition; query `mutable_value_proxy' instead.
	* oln/morpher/with_lut.hh
	(vtypes< morpher::with_lut<Image, Lut> >::is_value_wise_mutable_type):
	Remove typedef.

869
870
871
872
2006-11-10  Roland Levillain  <roland@lrde.epita.fr>

	Introduce oln::value::lut_value_proxy.

Roland Levillain's avatar
Roland Levillain committed
873
	* oln/value/lut_value_proxy.hh: New.
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
	* oln/core/typedefs.hh (mutable_fwd_viter_type): Remove virtual
	type declaration.
	(value_proxy_type, mutable_value_proxy_type): New virtual types
	declarations.
	Aesthetic changes.
	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh
	(image_being_value_wise_random_accessible::fwd_viter_t): Remove
	typedef.
	(image_being_value_wise_random_accessible::value_proxy_t): New
	typedef.
	(image_being_value_wise_random_accessible::value): Return a value
	proxy instead of a value iterator.
	(mutable_image_being_value_wise_random_accessible::fwd_viter_t):
	Remove typedef.
	(mutable_image_being_value_wise_random_accessible::value_proxy_t):
	New typedef.
	(mutable_image_being_value_wise_random_accessible::value)): Return
	a value proxy instead of a value iterator.
	* oln/morpher/with_lut.hh (oln/value/lut_value_proxy.hh): Include
	it.
	(vtypes< morpher::with_lut<Image, Lut> >::value_proxy_type)
	(vtypes< morpher::with_lut<Image, Lut> >::mutable_value_proxy_type):
	New typedefs.
	(single_vtype<morpher::with_lut<Image, Lut>,
	 typedef_::mutable_fwd_viter_type>): Remove single virtual type.
	(oln::morpher::with_lut::fwd_viter_type)
	(oln::morpher::with_lut::mutable_fwd_viter_type): Remove.
	(oln::morpher::with_lut::value_proxy_type)
	(oln::morpher::with_lut::mutable_value_proxy_type): New typedefs.
	(oln::morpher::with_lut::impl_value): Have these methods return
	value proxies instead of value iterators.
	* oln/Makefile.am (nobase_oln_HEADERS): Add
	value/lut_value_proxy.hh.


	Remove oln::mutable_fwd_viter_lut and clean up oln::fwd_viter_lut.

Roland Levillain's avatar
Roland Levillain committed
911
	* oln/core/abstract/iterator_on_values.hh: New.
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
	* oln/core/internal/fwd_viter_lut.hh:
	(oln::internal::fwd_viter_lut<Exact>): Inherit from
	oln::abstract::iterator_on_values<Exact>.
	s/rvalue_type/value_type/g.
	(oln::internal::fwd_viter_lut(lut_type&, const value_type&)):
	Remove ctor.
	(oln::internal::fwd_viter_lut::start)
	(oln::internal::fwd_viter_lut::next)
	(oln::internal::fwd_viter_lut::invalidate)
	(oln::internal::fwd_viter_lut::is_valid): Rename methods as...
	(oln::internal::fwd_viter_lut::impl_start)
	(oln::internal::fwd_viter_lut::impl_next)
	(oln::internal::fwd_viter_lut::impl_invalidate)
	(oln::internal::fwd_viter_lut::impl_is_valid): ...these.
	* oln/core/gen/fwd_viter_lut.hh (oln::fwd_viter_lut<Lut>):
	s/rvalue_type/value_type/g.
	(oln::fwd_viter_lut::fwd_viter_lut(const Lut&, const rvalue_type&)):
	Remove ctor.
	(oln::fwd_viter_lut::operator rvalue_type): Turn this operator
	into...
	(oln::fwd_viter_lut::impl_to_value): ...this method.
	(oln::mutable_fwd_viter_lut): Remove this class and it virtual
	types.
	(operator<<(std::ostream&, const mutable_fwd_viter_lut<Lut>&)):
	Remove.
	* oln/Makefile.am (nobase_oln_HEADERS): Add
	core/abstract/iterator_on_values.hh

940
941
942
943
944
945
946
947
948
2006-11-08  Roland Levillain  <roland@lrde.epita.fr>

	Fix fwd_viter_lut and rgb8.

	* oln/value/color/rgb.hh (rgb_<T>::operator==): Make it const.
	* oln/core/gen/fwd_viter_lut.hh (operator rvalue_type, print): Fix
	these methods.
	* tests/morphers/with_lut.cc: Test oln::fwd_viter_lut.

949
950
951
2006-11-07  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add point-set types based on std containers.
Roland Levillain's avatar
Roland Levillain committed
952

953
954
955
956
957
958
	* oln/core/gen/piter_on_std_based_pset.hh: New.
	* oln/core/gen/pset_list.hh: New.
	* oln/core/gen/pset_vec.hh: New.
	* oln/core/gen/pset_.hh: New.
	* oln/Makefile.am: Update.

959
960
961
962
2006-11-07  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	* TODO: Add description of primary image types.

963
964
965
966
967
968
969
970
971
972
973
974
975
976
2006-11-06  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add oln::morpher::two_way_rw.

	* ChangeLog: Fix file dir in previous entry.
	* tests/morphers/two_way_rw_morpher.cc: New.
	* tests/morphers/Makefile.am: Update.
	* oln/morpher/two_way_rw.hh: New.
	* oln/Makefile.am: Update.
	* oln/morpher/two_way.hh (value::two_way): Move impl into...
	* oln/value/two_way.hxx: ...this new file.
	* oln/core/abstract/functions.hh (fun_rw): Update.
	* oln/morpher/count_rw.hh (count_rw): Move impl into guards.
	* oln/morpher/stack_rw.hh (include): Update.
Roland Levillain's avatar
Roland Levillain committed
977

978
979
980
2006-11-06  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add morpher::stack_rw.
Roland Levillain's avatar
Roland Levillain committed
981

982
983
984
985
986
987
988
	* tests/morphers/stack_rw_morpher.cc: New.
	* tests/morphers/Makefile.am: Update.
	* oln/morpher/stack_rw.hh: New.
	* oln/Makefile.am: Update.
	* oln/debug/print.hh (print): Store loop 2D bounds.
	* oln/core/abstract/functions.hh (fun_rw): New.
	* oln/morpher/two_way.hh (ima_): Change type to pointer.
989
990
991
992
	(two_way): New ctor for class value::two_way.
	(read_, write_): New methods.
	(operator, value): Call read_.
	(operator=): Call write_.
993
994
	* oln/morpher/stack.hh (N): New.
	* oln/value/two_way.hh (two_way): New ctor decl.
995
996
997
	(ima_): Change type to pointer.
	(read_, write_): New method decls.

998
999
1000
1001
1002
1003
1004
1005
2006-10-31  Roland Levillain  <roland@lrde.epita.fr>

	Clean up virtual types declarations.

	* oln/core/typedefs.hh (size_type): Remove virtual type
	declaration.
	Clean up.

1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
2006-10-31  Roland Levillain  <roland@lrde.epita.fr>

	Rename the ``accessibility'' hierarchy as ``point_wise_accessibility''.

	* oln/core/abstract/image/accessibility/hierarchy.hh:
	Rename as...
	* oln/core/abstract/image/point_wise_accessibility/hierarchy.hh:
	...this.
	Adjust header guards.
	(oln::abstract::image_being_random_accessible): Rename as...
	(oln::abstract::image_being_point_wise_random_accessible): ...this.
	Adjust.
	(oln::case_<image_hierarchy_wrt_accessibility, E, 1>): Rename as...
	(oln::case_<image_hierarchy_wrt_point_wise_accessibility, E, 1>):
	...this.
	Adjust.
	* oln/core/abstract/image/hierarchies.hh,
	* oln/core/abstract/image/all.hh,
	* oln/core/abstract/image/hybrid/classical.hh: Adjust.
	* oln/core/automatic/image/image_being_random_accessible.hh:
	Adjust.
	Rename as...
	* oln/core/automatic/image/image_being_point_wise_random_accessible.hh:
	...this.
	Adjust header guards.
	* oln/Makefile.am (nobase_oln_HEADERS): Remove
	core/abstract/image/accessibility/hierarchy.hh and
	core/automatic/image/image_being_random_accessible.hh.
	Add core/abstract/image/point_wise_accessibility/hierarchy.hh
	and core/automatic/image/image_being_point_wise_random_accessible.hh.
	Remove duplicate core/automatic/image/image_having_neighborhood.hh

1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
2006-10-31  Roland Levillain  <roland@lrde.epita.fr>

	Fix the mutability of value-wise random accessible images.

	* oln/core/typedefs.hh (is_value_wise_mutable_type): New virtual
	type declaration.
	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh
	(struct case_<image_hierarchy_wrt_value_wise_accessibility, E, 2>):
	Re-enable.
	Swap with...
	(struct case_<image_hierarchy_wrt_value_wise_accessibility, E, 1>):
	...this case.
	* oln/morpher/with_lut.hh
	(vtypes< morpher::with_lut<Image, Lut> >::is_value_wise_mutable_type):
	New virtual type.
	Set to mlc::true_.

Roland Levillain's avatar
Roland Levillain committed
1055
1056
1057
1058
1059
1060
1061
2006-10-31  Roland Levillain  <roland@lrde.epita.fr>

	* tests/algorithms/Makefile.am, tests/core/Makefile.am,
	* tests/io/Makefile.am, tests/morphers/Makefile.am,
	* tests/value/Makefile.am, tests/value/Makefile.am:
	Alter AM_CXXFLAGS instead of CXXFLAGS.

Roland Levillain's avatar
Roland Levillain committed
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
2006-10-27  Roland Levillain  <roland@lrde.epita.fr>

	Various fixes.

	* oln/core/automatic/image/mutable_image1d.hh: Fix header guards,
	(were the same as oln/core/automatic/image/image1d.hh's).
	(oln::abstract::mutable_image1d): Forward-declare it.
	s/abstract::image1d/abstract::mutable_image1d/g.
	* oln/core/abstract/image/dimension/1d.hh (mutable_image1d)
	* oln/core/abstract/image/dimension/2d.hh (mutable_image2d)
	* oln/core/abstract/image/dimension/3d.hh (mutable_image3d): Fix
	the lookup of impl_at().
	* oln/core/type_fun/slice.hh: Remove unnecessary headers.
	* oln/core/abstract/array.hh, oln/core/abstract/functions.hh,
	* oln/core/internal/point_nd.hh, oln/morpher/thru_mfun.hh: Add
	missing headers.
	* oln/morpher/thru_fun.hh (xtd/mexpr.hh): Include it.
	(struct case_<tag::fun_operator_1, mlc::pair_<Fun, A>, 1>): Turn
	into...
	(struct case_<tag::fun_operator_1, mlc::pair_<Fun, A>, 2>):
	...this.
	* oln/value/proxy.hh: Fix header guards.
	(oln/core/typedefs.hh): Include it.
Roland Levillain's avatar
Roland Levillain committed
1085
	* oln/Makefile.am (nobase_oln_HEADERS): Add
Roland Levillain's avatar
Roland Levillain committed
1086
1087
1088
1089
1090
1091
	core/abstract/image/computability/hierarchy.hh,
	core/abstract/image/value_wise_accessibility/hierarchy.hh,
	core/automatic/image/image_being_value_wise_random_accessible.hh,
	core/gen/topo_add_isubset.hh, core/gen/fwd_viter_lut.hh,
	core/internal/fwd_viter_lut.hh and value/two_way.hh.

1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
2006-10-26  Roland Levillain  <roland@lrde.epita.fr>

	Extend morpher adding a look-up table (oln::morpher::with_lut).

	* oln/core/abstract/image/hierarchies.hh
	(image_hierarchy_wrt_value_wise_accessibility): New hierarchy.
	(image_hybrid_hierarchy_wrt_classical)
	(image_hierarchy_wrt_value, image_hierarchy_wrt_data_retrieval):
	Adjust numbers.
	* oln/core/abstract/image/all.hh
	(oln/core/abstract/image/value_wise_accessibility/hierarchy.hh):
	Include it.
	Adjust.
	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh: New.
	* oln/core/automatic/image/image_being_value_wise_random_accessible.hh:
	New.
	* oln/core/internal/fwd_viter_lut.hh,
	* oln/core/gen/fwd_viter_lut.hh: New.
	* oln/core/typedefs.hh (fwd_viter_type, mutable_fwd_viter_type)
	(lut_type, lut_iter_type): New virtual types declarations.
	* oln/core/lookup_table.hh (lookup_table): Rename the first two
	parameters to Orig_Value and New_Value.
	Add two parameters Orig_Value_Compare and New_Value_Compare,
	defaulting to std::less<Orig_Value> and std::less<New_Value>
	respectively.
	(lookup_table::key_type, lookup_table::data_type): Rename typedefs
	as...
	(lookup_table::orig_value_type, lookup_table::new_value_type):
	...these.
	(lookup_table::map_type): Remove typedef.
	(lookup_table::orig_value_type, lookup_table::new_value_type)
	(lookup_table::const_iterator, lookup_table::iterator): New
	typedefs.
	Adjust signatures of methods.
	(lookup_table::map): Remove method.
	(lookup_table::begin, lookup_table::end, lookup_table::find)
	(lookup_table::orig_to_new_map, lookup_table::new_to_orig_map):
	New methods.
	(lookup_table::map_): Remove attributes.
	(lookup_table::orig_to_new_map_, lookup_table::new_to_orig_map_):
	New attributes.
	(lookup_table::add): Adjust method.
	* oln/morpher/with_lut.hh: Adjust.
	(single_vtype<morpher::with_lut<Image, Lut>, typedef_::fwd_viter_type>)
	(single_vtype<morpher::with_lut<Image ,Lut>,
	 typedef_::mutable_fwd_viter_type>):
	New.
	(with_lut::lut_t, with_lut::value_t, with_lut::rvalue_t)
	(with_lut::psite_t): Rename typedefs as...
	(with_lut::lut_type, with_lut::value_type, with_lut::rvalue_type)
	(with_lut::psite_type):	...these.
	Adjust.
	(with_lut::fwd_viter_type, with_lut::mutable_fwd_viter_type):
	New typedefs.
	(with_lut::impl_value): New methods.
	(operator+ (const abstract::image<I>&, const lookup_table<K, D>&)):
	Turn into...
	(operator+ (const abstract::image<I>&, lookup_table<K, D>&)):
	...this.
	Adjust.
	* tests/morphers/with_lut.cc: Augment this test.

	* oln/value/color/rgb.hh
	(rgb_<T>::operator==(const rgb_<U>&)): New operator.
	* TODO: New.

1158
1159
1160
2006-10-25  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Oops.
Roland Levillain's avatar
Roland Levillain committed
1161

1162
1163
	* oln/value/two_way.hh: New.

1164
1165
1166
2006-10-25  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Tiny fix just before pastis.
Roland Levillain's avatar
Roland Levillain committed
1167

1168
1169
1170
1171
	* oln/basics1d.hh (include): Add missing headers.
	* oln/basics2d.hh: Likewise.
	* oln/basics3d.hh: Likewise.

1172
1173
1174
2006-10-25  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add two-way morpher.
Roland Levillain's avatar
Roland Levillain committed
1175

1176
1177
1178
1179
1180
1181
1182
1183
1184
	* tests/morphers/two_way_morpher.cc: New.
	* tests/morphers/Makefile.am: Update.
	* oln/morpher/two_way.hh: New.
	* oln/Makefile.am: Update.
	* oln/core/abstract/image.hh (id_): Unconst.
	* oln/core/abstract/functions.hh (fun_v2w2v): New.
	* oln/core/traits.hh (oln_xtd_case_op_id): Fix number.
	(include): Add commentary.

1185
1186
1187
2006-10-25  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add oln::level::apply_inplace.
Roland Levillain's avatar
Roland Levillain committed
1188

1189
1190
1191
1192
1193
1194
1195
1196
1197
	* tests/level/apply_inplace.cc: New.
	* oln/level/assign.hh: Typo.
	* oln/level/apply.hh (apply_inplace): New.
	* oln/level/fill.hh (include): Fix.
	* oln/core/traits.hh (include): Add xtd/math/ops.hh.

2006-10-25  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add oln abstract functions + move slice vtype definitions.
Roland Levillain's avatar
Roland Levillain committed
1198

1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
	* oln/level/assign.hh: New.
	* oln/level/apply.hh: New.
	* oln/level/clone.hh: New.
	* oln/core/abstract/functions.hh: New.
	* oln/debug/track.hh (dummy): Add code to remove warning.
	* oln/debug/print.hh (OLN_ENV_2D): Guard specific code.
	* oln/level/fill.hh (fill): New couple of versions.
	* oln/basics1d.hh (OLN_ENV_1D): New.
	* oln/core/typedefs.hh (oln_plain_value, oln_plain_value_): New.
	* oln/core/iterator_vtypes.hh (slice): Move type definitions to...
	* oln/morpher/slice.hh: ...here.
	* oln/basics2d.hh (OLN_ENV_2D): New.
	* oln/basics3d.hh (OLN_ENV_3D): New.
	* oln/Makefile.am: Update.

1214
1215
1216
2006-10-25  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Introduce ids for images and better oln::morpher::count_rw_.
Roland Levillain's avatar
Roland Levillain committed
1217

1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
	* tests/morphers/count_rw_morpher.cc: Add sample code in comments.
	* oln/core/abstract/iterator_on_points.hh (operator<<): New.
	* oln/core/abstract/image.hh (image, operator=): New.
	(id_, id): New.
	* oln/core/gen/piter_isubset.hh (isubset_): Remove &.
	* oln/core/gen/pw_value.hh (ima_): Remove &.
	(impl_calc): Fix static check.
	* oln/core/gen/topo_add_isubset.hh (isubset_): Add comment.
	* oln/core/gen/fwd_piter_bbox.hh (operator<<): Remove; obsolete.
	* oln/core/gen/bkd_piter_bbox.hh: Likewise.
	* oln/morpher/add_isubset.hh (operator|): New overloading.
	(add_isubset): Relax static check.
	* oln/morpher/internal/image_value_morpher.hh (image_): Remove &.
	* oln/morpher/internal/image_extension.hh (image_): Remove &.
	(image_extension): New cpy ctor.
	* oln/morpher/count_rw.hh (count_rw): Rename the class as...
	(count_rw_): ...this.
	(count_rw): New overloading.
	* oln/value/rw_counter.hh (counter_rw): Rewrite.
	(rw_counter): Remove & from ima_ type.
	(ro_counter): Likewise.

1240
1241
1242
2006-10-24  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add point-wise values.
Roland Levillain's avatar
Roland Levillain committed
1243

1244
1245
1246
1247
1248
	* tests/core/pw_value.cc: New.
	* tests/core/Makefile.am: Update.
	* oln/core/gen/pw_value.hh: New.
	* oln/Makefile.am: Update.

1249
1250
1251
2006-10-24  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add a morpher to count read-write ops.
Roland Levillain's avatar
Roland Levillain committed
1252

1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
	* tests/morphers/count_rw_morpher.cc: New.
	* tests/morphers/Makefile.am: Update.
	* oln/morpher/count_rw.hh: New.
	* oln/value/proxy.hh: New.
	* oln/value/rw_counter.hh: New.
	* oln/Makefile.am: Update.
	* oln/core/traits_id.hh (unop_vproxy, binop_vproxy): New.
	(others): Update.
	* oln/core/typedefs.hh
	(oln_is_computed, oln_is_computed_): New.
	* oln/morpher/internal/image_value_morpher.hh
	(image_value_morpher): New overloading for ctor.
	(image_): Add & to its type.
Roland Levillain's avatar
Roland Levillain committed
1266

1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
2006-10-24  Roland Levillain  <roland@lrde.epita.fr>

	Add a morpher adding a look-up table to an image.

	* oln/core/lookup_table.hh: New.
	* oln/morpher/with_lut.hh: New morpher.
	* oln/Makefile.am (nobase_oln_HEADERS): Add core/lookup_table.hh
	and morpher/with_lut.hh.
	* tests/morphers/with_lut.cc: New test.
	* tests/morphers/Makefile.am (check_PROGRAMS): Add with_lut.
	(with_lut_SOURCES): New.

1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
2006-10-24  Roland Levillain  <roland@lrde.epita.fr>

	Partial clean up of oln::morpher::add_neighborhood.

	* oln/morpher/add_neighborhood.hh: Fix header guards.
	(oln::morpher::add_neighborhood): Use the macro stc_get_supers to
	set the super class.
	(oln::morpher::add_neighborhood::super_t): Use the macro
	stc_get_super to define it.

1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
2006-10-24  Roland Levillain  <roland@lrde.epita.fr>

	Move oln::color to oln::value::color.

	* oln/color/rgb.hh: Move...
	* oln/value/color/rgb.hh: ...here.
	(oln::color): Move the contents of this namespace...
	(oln::value::color): ...into this one.
	* oln/value/all.hh: Adjust.
	* oln/Makefile.am (nobase_oln_HEADERS):
	s|color/rgb.hh|value/color/rgb.hh|.

1301
1302
1303
1304
2006-10-23  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Fix debug track and disambiguate the 'at' method overloading
	in const and mutable nD images.
Roland Levillain's avatar
Roland Levillain committed
1305

1306
1307
1308
1309
1310
1311
	* oln/core/abstract/array.hh: New.
	* oln/debug/track.hh (n_arrays): New.
	(include): Fix.
	* oln/core/abstract/image.hh (image): New cpy ctor so fix
	n_images tracking.
	* oln/core/abstract/image/dimension/1d.hh: Disambiguate by
Roland Levillain's avatar
Roland Levillain committed
1312
	changing inheritance to virtual + inserting a using directive.
1313
1314
1315
1316
1317
1318
1319
	* oln/core/abstract/image/dimension/2d.hh: Likewise.
	* oln/core/abstract/image/dimension/3d.hh: Likewise.
	* oln/core/1d/array1d.hh (array1d): Add inheritance.
	* oln/core/2d/array2d.hh: Likewise.
	* oln/core/3d/array3d.hh: Likewise.
	* oln/Makefile.am: Update.

1320
1321
1322
1323
2006-10-23  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add stack morpher and remove the hack related to indexed mutable
	access.
Roland Levillain's avatar
Roland Levillain committed
1324

1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
	* tests/morphers/stack_morpher.cc: New.
	* tests/morphers/Makefile.am: Update.
	* oln/debug/track.hh: New.
	* oln/core/automatic/image/mutable_image2d.hh: New.
	* oln/core/automatic/image/mutable_image3d.hh: New.
	* oln/core/automatic/image/mutable_image1d.hh: New.
	* oln/morpher/stack.hh: New.
	* oln/Makefile.am: Update.
	* oln/debug/print.hh (println): Remove; too dummy.
	(operator): New.
	* oln/level/fill.hh (fill): New specialization for C arrays.
	* oln/core/automatic/image/image1d.hh: Remove hack of 'at'.
	* oln/core/automatic/image/image2d.hh: Likewise.
	* oln/core/automatic/image/image3d.hh: Likewise.
	* oln/core/abstract/image.hh (image, ~image): Add counting.
	(include): Update.
	* oln/core/abstract/image/dimension/1d.hh
	(image1d): Split partially into...
	(mutable_image1d): ...this new class.
	(include): Update.
	* oln/core/abstract/image/dimension/2d.hh: Likewise.
	* oln/core/abstract/image/dimension/3d.hh: Likewise.
	* oln/core/abstract/image/dimension/hierarchy.hh
	(case_): Update.
	* oln/core/2d/array2d.hh (memsize): Better sig.
	(include): Update.
	* oln/core/2d/image2d.hh (image2d): New overloading for no arg.

1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
2006-10-23  Roland Levillain  <roland@lrde.epita.fr>

	Add files for oln::window[123]d.

	* oln/core/1d/window1d.hh: New file.
	* oln/basics1d.hh: Include it.
	* oln/core/2d/window2d.hh: New file.
	* oln/basics2d.hh: Include it.
	* oln/core/3d/window3d.hh: New file.
	* oln/basics3d.hh: Include it.
	* oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/window1d.hh,
	core/2d/window2d.hh and core/3d/window3d.hh
	* tests/morphers/slice_morpher.cc: Remove FIXME.

1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
2006-10-23  Roland Levillain  <roland@lrde.epita.fr>

	Add qiters for oln::morpher::slice.

	* oln/core/type_fun/slice.hh
	(TYPE_FUNCTION_slice_piter_NOT_DEFINED_FOR_THIS_PARAMETER): Rename
	as...
	(TYPE_FUNCTION_slice_iterator_NOT_DEFINED_FOR_THIS_PARAMETER):
	...this.
	Adjust.
	(oln::type_fun::slice_piter): Rename as...
	(oln::type_fun::slice_iterator): ...this.
	(oln::type_fun::slice_iterator<fwd_qiter2d>)
	(oln::type_fun::slice_iterator<bkd_qiter2d>)
	(oln::type_fun::slice_iterator<fwd_qiter3d>)
	(oln::type_fun::slice_iterator<bkd_qiter3d>)
	* oln/core/iterator_vtypes.hh: s/slice_piter/slice_iterator/g.
	(oln::single_vtype<morpher::slice<Image>, typedef_::fwd_qiter_type>)
	(oln::single_vtype<morpher::slice<Image>, typedef_::bkd_qiter_type>)
	* oln/morpher/slice.hh: Adjust comments.
	* tests/morphers/slice_morpher.cc: s/ima_with_nbh/slice/g
	Test fwd_qiter on oln::morpher::slice.

1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
2006-10-20  Roland Levillain  <roland@lrde.epita.fr>

	Simplfy header inclusions of oln::image[123]d.

	* oln/core/1d/image1d.hh (oln/core/1d/topo1d.hh): Include it.
	(oln/core/gen/topo_lbbox.hh, oln/core/1d/aliases.hh): No longer
	include them.
	* oln/core/2d/image2d.hh (oln/core/2d/topo2d.hh): Include it.
	(oln/core/gen/topo_lbbox.hh, oln/core/2d/aliases.hh): No longer
	include them.
	* oln/core/3d/image3d.hh (oln/core/3d/topo3d.hh): Include it.
	(oln/core/gen/topo_lbbox.hh, oln/core/3d/aliases.hh): No longer
	include them.

1404
1405
1406
2006-10-20  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add morpher based on mutators.
Roland Levillain's avatar
Roland Levillain committed
1407

1408
1409
1410
1411
1412
1413
1414
	* tests/value/accessor.cc: New.
	* tests/value/Makefile.am: Update.
	* oln/morpher/thru_mfun.hh: New.
	* oln/value/accessor.hh: New.
	* oln/Makefile.am: Update.
	* oln/morpher/thru_fun.hh: Use shortcuts.

Roland Levillain's avatar
Roland Levillain committed
1415
1416
1417
1418
1419
1420
1421
1422
2006-10-20  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distribution.

	* oln/Makefile.am (nobase_oln_HEADERS): Remove
	core/gen/topo_slice.hh.
	s|core/type_fun/slice_piter\.hh|core/type_fun/slice\.hh|.

1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
2006-10-19  Roland Levillain  <roland@lrde.epita.fr>

	Fix virtual types definitions in tests/core/image_entry.

	* tests/core/image_entry.cc
	(oln::vtypes<my::image>::fwd_piter_type)
	(oln::vtypes<my::image>::bkd_piter_type): Remove typedefs.
	(oln::single_vtype<my::image, typedef_::fwd_piter_type>)
	(oln::single_vtype<my::image, typedef_::bkd_piter_type>): New

Roland Levillain's avatar
Roland Levillain committed
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
2006-10-19  Roland Levillain  <roland@lrde.epita.fr>

	Add a slice morpher.

	* oln/morpher/tags.hh (oln::morpher::tag::slice): New tag.
	* oln/morpher/slice.hh: New file (new morpher).
	* oln/core/type_fun/slice.hh: New.
	* oln/core/iterator_vtypes.hh: Include it.
	(oln::single_vtype<morpher::slice<Image>, typedef_::fwd_piter_type>)
	(oln::single_vtype<morpher::slice<Image>, typedef_::bkd_piter_type>):
	New.
	* oln/core/1d/topo1d.hh, oln/core/2d/topo2d.hh,
	* oln/core/3d/topo3d.hh: New (shortcuts).
	* oln/core/gen/topo_lbbox.hh (oln::vtypes< topo_lbbox_<point> >:
	Reduce the explanation to a reference to the virtual types of
	oln::topo_bbox_.
	(topo_lbbox::topo_lbbox_(const point&, const point&, unsigned)):
	New ctor.
	(topo_lbbox::border): New method.
	* oln/core/gen/topo_bbox.hh
	(topo_bbox::topo_bbox_(const point&, const point&)): New ctor.
	* oln/Makefile.am (nobase_oln_HEADERS): Add
	core/1d/topo1d.hh, core/2d/topo2d.hh, core/3d/topo3d.hh,
	core/gen/piter_isubset.hh, core/type_fun/slice_piter.hh and
Roland Levillain's avatar
Roland Levillain committed
1457
	morpher/slice.hh.
Roland Levillain's avatar
Roland Levillain committed
1458
1459
1460
1461
1462
1463
	* tests/morphers/slice_morpher.cc: New test.
	* tests/morphers/Makefile.am (check_PROGRAMS): Add slice_morpher.
	(slice_morpher_SOURCES): New.
	* oln/core/gen/bbox_fwd_piter.hh, oln/core/gen/bbox_bkd_piter.hh,
	* tests/morphers/add_neighborhood_morpher.cc: Fix a comment.

Roland Levillain's avatar
Roland Levillain committed
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
2006-10-19  Roland Levillain  <roland@lrde.epita.fr>

	More sanity checks.

	* tests/sanity/includes.test: Also check headers whose path
	contains a directory named ``obsolete'' or ``internal''.
	* oln/core/internal/dpoint_nd.hh (oln/core/traits_id.hh): Include
	it.
	* oln/core/internal/tracked_ptr.hh (ostream): Likewise.

1474
1475
1476
2006-10-17  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add forward declaration files.
Roland Levillain's avatar
Roland Levillain committed
1477

1478
1479
1480
1481
1482
1483
1484
1485
1486
	* oln/core/aliases.hh: New.
	* oln/core/fwd_decls.hh: New.
	* oln/core/1d/fwd_decls.hh: New.
	* oln/core/2d/fwd_decls.hh: New.
	* oln/core/3d/fwd_decls.hh: New.
	* oln/core/gen/fwd_decls.hh: New.
	* oln/morpher/fwd_decls.hh: New.
	* oln/debug/typename.hh: New.
	* oln/Makefile.am: Update.
Roland Levillain's avatar
Roland Levillain committed
1487

1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
	Sketch the mechanism for 'plain' and 'ch_value'.

	* oln/core/type_fun/plain.hh: New.
	* oln/core/type_fun/ch_value.hh: New.
	* oln/core/typedefs.hh (oln_plain, oln_plain_): New.
	* oln/core/image_entry.hh (concrete_type): Remove; obsolete.
	* oln/core/abstract/image.hh
	(topo, operator): Change sigs.
	(topo_t, psite_t, rvalue_t): Remove; now unused.
	(decl): Uncomment static checks.
	* oln/core/abstract/image/computability/hierarchy.hh
	(plain): New.
	* oln/core/1d/image1d.hh (real_type): Remove; obsolete.
	* oln/core/2d/image2d.hh: Likewise.
	* oln/core/3d/image3d.hh: Likewise.
	* oln/morpher/value_cast.hh (class): Change into struct
	for homogeneity for other morphers.

1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
2006-10-17  Roland Levillain  <roland@lrde.epita.fr>

	Organize the tests into a hierarchy.

	* tests/fill.cc: Move file...
	* tests/algorithms/fill.cc: ...here.
	* tests/at.cc, tests/dpoint2d.cc, tests/grid.cc, tests/image1d.cc,
	* tests/image2d.cc, tests/image3d.cc, tests/image_entry.cc,
	* tests/npoints.cc, tests/point2d.cc, tests/window2d.cc: Move
	files...
	* tests/core/at.cc, tests/core/dpoint2d.cc, tests/core/grid.cc,
	* tests/core/image1d.cc, tests/core/image2d.cc,
	* tests/core/image3d.cc, tests/core/image_entry.cc,
	* tests/core/npoints.cc, tests/core/point2d.cc,
	* tests/core/window2d.cc: ...here.
	* tests/io_pnm.cc: Move file...
	* tests/io/io_pnm.cc: ...here.
	* tests/add_neighborhood_morpher.cc, tests/identity_morpher.cc,
	* tests/morphers.cc, tests/value_cast.cc: Move files...
	* tests/morphers/add_neighborhood_morpher.cc,
	* tests/morphers/identity_morpher.cc, tests/morphers/morphers.cc,
	* tests/morphers/value_cast.cc:: ...here.
	* tests/grey.cc: Move file...
	* tests/value/grey.cc: ...here.
	* tests/algorithms/Makefile.am, tests/core/Makefile.am,
	* tests/io/Makefile.am, tests/morphers/Makefile.am,
	* tests/value/Makefile.am: New.
	* tests/Makefile.am: Adjust.
	* tests/sanity/Makefile.am (CPPFLAGS): Add `-I$(srcdir)/..'.

	* oln/Makefile.am: Remove
	core/automatic/image/image_being_mutable.hh.
	Add core/automatic/image/mutable_image.hh.

1540
1541
1542
2006-10-17  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Replace the 'is_mutable' property by checking the 'lvalue' type.
Roland Levillain's avatar
Roland Levillain committed
1543

1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
	* oln/core/automatic/image/image_being_mutable.hh: Rename as...
	* oln/core/automatic/image/mutable_image.hh: ...this.
	(image_being_mutable): Rename as...
	(mutable_image): ...this.
	* oln/level/fill.hh: Update.
	* oln/core/typedefs.hh (is_mutable_type): Remove; obsolete.
	* oln/core/abstract/image/mutability/hierarchy.hh
	(include) : Update.
	(image_being_mutable): Rename as...
	(mutable_image): ...this.
	(case_): Rely now on mlc_is_ok(oln_lvalue(E)).
	* oln/core/1d/image1d.hh: Update.
	* oln/core/2d/image2d.hh: Update.
	* oln/core/3d/image3d.hh: Update.
	* oln/core/gen/mapimage.hh: Update.
	* oln/morpher/value_cast.hh: Update.
	* oln/morpher/thru_fun.hh: Update.
	* oln/morpher/internal/image_value_morpher.hh: Update.

1563
1564
1565
2006-10-17  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add computability image hierarchy.
Roland Levillain's avatar
Roland Levillain committed
1566

1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
	* oln/core/abstract/image/computability: New.
	* oln/core/abstract/image/computability/hierarchy.hh: New.
	* oln/core/typedefs.hh (is_computed_type): New.
	* oln/core/image_entry.hh (is_computed_type): New in vtypes.
	* oln/core/abstract/image.hh (decl): Update.
	* oln/core/abstract/image/hierarchies.hh
	(image_hierarchy_wrt_computability): New.
	(hierarchy): Update ids.
	* oln/core/abstract/image/all.hh
	(include): Add computability/hierarchy.hh.
	* oln/core/1d/image1d.hh: Update.
	* oln/core/2d/image2d.hh: Likewise.
	* oln/core/3d/image3d.hh: Likewise.
	* oln/core/gen/mapimage.hh: Likewise.
	* oln/morpher/value_cast.hh: Likewise.
	* oln/morpher/thru_fun.hh: Likewise.
	* oln/morpher/internal/image_value_morpher.hh: Likewise.

1585
1586
1587
2006-10-17  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Adjust lvalue so that it handles a '&' when needed.
Roland Levillain's avatar
Roland Levillain committed
1588

1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
	* oln/core/automatic/image/image1d.hh (impl_at): Adjust.
	* oln/core/automatic/image/image2d.hh: Likewise.
	* oln/core/automatic/image/image3d.hh: Likewise.
	* oln/core/automatic/image/image_being_mutable.hh: Likewise.
	* oln/core/abstract/image/mutability/hierarchy.hh: Likewise.
	* oln/core/abstract/image/dimension/1d.hh: Likewise.
	* oln/core/abstract/image/dimension/2d.hh: Likewise.
	* oln/core/abstract/image/dimension/3d.hh: Likewise.
	* oln/core/1d/image1d.hh: Likewise.
	* oln/core/2d/image2d.hh: Likewise.
	* oln/core/3d/image3d.hh: Likewise.
	* oln/core/gen/mapimage.hh: Likewise.
	* oln/core/abstract/image/type/integre.hh: Fix case number wrt
	those defined in hierarchy.hh.

Roland Levillain's avatar
Roland Levillain committed
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
2006-10-16  Roland Levillain  <roland@lrde.epita.fr>

	Adjust tests.

	* tests/window2d.cc: Disable display.
	* tests/image_entry.cc, tests/identity_morpher.cc,
	* tests/add_neighborhood_morpher.cc, tests/morphers.cc:
	Remove mlc_is_a tests w.r.t to oln::abstract::grey_level_image,
	since its definition has changed.

1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
2006-10-16  Roland Levillain  <roland@lrde.epita.fr>

	Polish the accesses to bbox_<point> as a virtual type.

	* oln/core/gen/bbox.hh (oln::bbox_::self_t): Rename as...
	(oln::bbox_::self_type): ...this.
	Make it public.
	(oln::bbox_::super_t): Adjust.
	* oln/core/gen/topo_lbbox.hh
	(vtypes< topo_lbbox_<point> >::bbox_type): Adjust.
	* oln/core/gen/topo_bbox.hh (oln::vtypes< topo_lbbox_<point> >):
	Define this virtul type using `bbox_<point>::self_t' instead of
	just `bbox_<point>' to force the instiantiation of
	oln::bbox_<point> at this point.
	(oln::topo_bbox_<point>::bbox_t): Use oln_type_of to define it.

1630
1631
1632
2006-10-16  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add value cast image morpher.
Roland Levillain's avatar
Roland Levillain committed
1633

1634
1635
1636
1637
1638
1639
1640
	* tests/value_cast.cc: New.
	* tests/Makefile.am: Update.
	* oln/morpher/value_cast.hh: New.
	* oln/Makefile.am: Update.
	* oln/morpher/internal/image_value_morpher.hh (lvalue): Change
	definition mode from single_vtype to vtypes.

Thierry Geraud's avatar
Thierry Geraud committed
1641
1642
1643
2006-10-16  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add binary value type plus update image hierarchy plugs.
Roland Levillain's avatar
Roland Levillain committed
1644

Thierry Geraud's avatar
Thierry Geraud committed
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
	* oln/value/tags.hh: New.
	* oln/value/bin.hh: New.
	* oln/value/all.hh: New.
	* oln/core/abstract/image/type/hierarchy.hh (case_): Rely on value
	tags.
	(case_): Overload to handle other value types.
	(include): Update.
	* oln/value/greylevel.hh (greylevel_): New conversion operator.
	(gl1): Remove; now replaced by value::bin.
	* oln/Makefile.am: Update.
Roland Levillain's avatar
Roland Levillain committed
1655

1656
1657
1658
2006-10-16  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add grey-level types.
Roland Levillain's avatar
Roland Levillain committed
1659

1660
1661
1662
1663
1664
1665
1666
1667
	* tests/grey.cc: New.
	* tests/Makefile.am: Update.
	* oln/value/default.hh: New.
	* oln/value/greylevel.hh: New.
	* oln/Makefile.am: Update.
	* oln/core/abstract/value.hh (value): Remove inheritance
	so that a value type is not a regular oln type.

Roland Levillain's avatar
Roland Levillain committed
1668
1669
1670
1671
1672
1673
1674
2006-10-16  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distribution.

	* oln/Makefile.am (nobase_oln_HEADERS): Remove core/1d/bbox1d.hh,
	core/2d/bbox2d.hh and core/3d/bbox3d.hh.

1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
2006-10-16  Roland Levillain  <roland@lrde.epita.fr>

	Get rid of the explicit instantiations of oln::bbox<>.

	* oln/core/gen/topo_lbbox.hh (oln::vtypes< topo_lbbox_<point> >):
	Define this virtul type using `bbox_<point>::self_t' instead of
	just `bbox_<point>' to force the instiantiation of
	oln::bbox_<point> at this point.
	(oln::topo_lbbox_<point>::bbox_t): Use oln_type_of to define it
	(more of an aesthetic change than a functional change).
	* oln/core/1d/bbox1d.hh, oln/core/2d/bbox2d.hh,
	* oln/core/3d/bbox3d.hh: Remove.
	* oln/basics1d.hh, oln/basics2d.hh, oln/basics3d.hh,
	* oln/core/1d/image1d.hh, oln/core/2d/image2d.hh,
	* oln/core/3d/image3d.hh: Remove their inclusions.

1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
2006-10-13  Roland Levillain  <roland@lrde.epita.fr>

	Fix oln/core/iterator_vtypes.hh w.r.t. backward niters.

	* oln/core/iterator_vtypes.hh (oln::bkd_niter_neighb_): New
	forward declaration.
	(single_vtype<morpher::add_neighborhood<Image, Neighb>,
	 typedef_::bkd_niter_type >): Fix ret.
	Add comments.
	Aesthetic changes.
	* oln/morpher/add_neighborhood.hh
	(oln/core/gen/bkd_niter_neighb.hh): Include it.

1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
2006-10-13  Roland Levillain  <roland@lrde.epita.fr>

	Add backward iterators on neighborhoods and windows.

	* oln/core/gen/bkd_niter_neighb.hh,
	* oln/core/gen/bkd_qiter_win.hh: New.
	* oln/core/gen/fwd_niter_neighb.hh
	(oln::fwd_niter_neighb_<point_t>::fwd_niter_neighb_)
	(oln::fwd_niter_neighb_<point_t>::impl_next)
	* oln/core/gen/fwd_qiter_win.hh
	(oln::fwd_qiter_win_<point_t>::fwd_qiter_win_)
	(oln::fwd_qiter_win_<point_t>::impl_next): Initialize i_
	using this->invalidate().
	* oln/core/1d/aliases.hh (oln::bkd_qiter_win_): New forward
	declaration.
	(oln::bkd_qiter1d): New typedef.
	* oln/core/2d/aliases.hh (oln::bkd_qiter_win_): New forward
	declaration.
	(oln::bkd_qiter2d): New typedef.
	* oln/core/3d/aliases.hh (oln::bkd_qiter_win_): New forward
	declaration.
	(oln::bkd_qiter3d): New typedef.
	* oln/core/iterator_vtypes.hh
	(oln::single_vtype<image1d<T>, typedef_::bkd_qiter_type>)
	(oln::single_vtype<image2d<T>, typedef_::bkd_qiter_type>)
	(oln::single_vtype<image3d<T>, typedef_::bkd_qiter_type>): New
	vtypes.
	* oln/basics1d.hh (oln/core/gen/window.hh)
	(oln/core/gen/fwd_qiter_win.hh, oln/core/gen/bkd_qiter_win.hh):
	* oln/basics2d.hh (oln/core/gen/bkd_qiter_win.hh)
	* oln/basics3d.hh (oln/core/gen/window.hh)
	(oln/core/gen/fwd_qiter_win.hh, oln/core/gen/bkd_qiter_win.hh):
	Include them.
	* oln/Makefile.am (nobase_oln_HEADERS): Add
	core/gen/bkd_niter_neighb.hh and core/gen/bkd_qiter_win.hh.

1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
2006-10-13  Roland Levillain  <roland@lrde.epita.fr>

	Add some documentation to image abstractions.

	* oln/core/abstract/image/hybrid/classical.hh: Add documentation.
	* oln/core/abstract/image/dimension/hierarchy.hh,
	* oln/core/abstract/image/type/hierarchy.hh: Update documentation.
	* oln/core/abstract/image/neighborhood/hierarchy.hh: Remove dead
	comments.

1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
2006-10-13  Roland Levillain  <roland@lrde.epita.fr>

	Factor oln::grid1d, oln::grid2d and oln::grid3d into oln::grid_<>.

	* oln/core/1d/grid1d.hh, oln/core/2d/grid2d.hh,
	* oln/core/3d/grid3d.hh: Remove.
	* oln/core/gen/grid.hh: New file.
	* oln/core/1d/image1d.hh, oln/core/2d/image2d.hh,
	* oln/core/3d/image3d.hh: Include it.
	* oln/core/1d/aliases.hh (oln::grid_): Declare it.
	(oln::grid1d): Adjust definition.
	* oln/core/2d/aliases.hh (oln::grid_): Declare it.
	(oln::grid2d): Adjust definition.
	* oln/core/3d/aliases.hh (oln::grid_): Declare it.
	(oln::grid3d): Adjust definition.
	* oln/basics1d.hh, oln/basics2d.hh, oln/basics3d.hh,
	* oln/core/abstract/image/dimension/hierarchy.hh,
	* oln/core/abstract/image/hybrid/classical.hh,
	* oln/core/abstract/point_set/point_set_being_connected.hh,
	* oln/Makefile.am,
	* tests/grid.cc: Adjust.

1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
2006-10-13  Roland Levillain  <roland@lrde.epita.fr>

	Add a Makefile to img/ and fix the previous patch.

	* img/Makefile.am: New.
	* Makefile.am (SUBDIRS): Add img.
	* oln/Makefile.am (nobase_oln_HEADERS):
	Remove core/automatic/image_having_neighborhood.hh.
	Add core/automatic/image/image_having_neighborhood.hh.

1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
2006-10-13  Roland Levillain  <roland@lrde.epita.fr>

	Reorganize oln/core/automatic like oln/core/abstract.

	* oln/core/automatic/image.hh,
	* oln/core/automatic/image1d.hh,
	* oln/core/automatic/image2d.hh,
	* oln/core/automatic/image3d.hh,
	* oln/core/automatic/image_being_mutable.hh,
	* oln/core/automatic/image_being_random_accessible.hh,
	* oln/core/automatic/image_having_neighborhood.hh,
	* oln/core/automatic/topology_being_random_accessible.hh,
	* oln/core/automatic/topology_having_bbox.hh,
	* oln/core/automatic/topology_having_neighborhood.hh,
	* oln/core/automatic/topology_having_subset.hh: Move...
	* oln/core/automatic/image/image.hh,
	* oln/core/automatic/image/image1d.hh,
	* oln/core/automatic/image/image2d.hh,
	* oln/core/automatic/image/image3d.hh,
	* oln/core/automatic/image/image_being_mutable.hh,
	* oln/core/automatic/image/image_being_random_accessible.hh,
	* oln/core/automatic/image/image_having_neighborhood.hh,
	* oln/core/automatic/topology/topology_being_random_accessible.hh,
	* oln/core/automatic/topology/topology_having_bbox.hh,
	* oln/core/automatic/topology/topology_having_neighborhood.hh
	* oln/core/automatic/topology/topology_having_subset.hh: ...here.
	* oln/core/abstract/image.hh,
	* oln/core/abstract/image/accessibility/hierarchy.hh,
	* oln/core/abstract/image/dimension/1d.hh,
	* oln/core/abstract/image/dimension/2d.hh,
	* oln/core/abstract/image/dimension/3d.hh,
	* oln/core/abstract/image/mutability/hierarchy.hh,
	* oln/core/abstract/image/neighborhood/hierarchy.hh,
	* oln/core/abstract/topology/topology_being_random_accessible.hh,
	* oln/core/abstract/topology/topology_having_bbox.hh,
	* oln/core/abstract/topology/topology_having_neighborhood.hh,
	* oln/core/abstract/topology/topology_having_subset.hh,
	* oln/level/fill.hh, oln/Makefile.am: Adjust paths.

Roland Levillain's avatar
Roland Levillain committed
1821
1822
1823
1824
1825
1826
1827
2006-10-13  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distribution.

	* oln/Makefile.am (nobase_oln_HEADERS): Remove core/fwd_piter.hh.
	Add core/iterator_vtypes.hh.

Roland Levillain's avatar
Roland Levillain committed
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Fix tests/window2d.

	* oln/core/image_entry.hh
	(oln::single_vtype<image_entry<E>, typedef_::bkd_qiter_type>):
	New.
	* oln/core/iterator_vtypes.hh
	(oln::single_vtype<image1d<T>, typedef_::fwd_qiter_type>)
	(oln::single_vtype<image2d<T>, typedef_::fwd_qiter_type>)
	(oln::single_vtype<image3d<T>, typedef_::fwd_qiter_type>): New.
	Aesthetic changes.
	* oln/core/1d/aliases.hh (oln::window_)
	(oln::fwd_qiter_win_, oln::bkd_qiter_win_): New forward
	declarations.
	(oln::window1d, oln::fwd_qiter1d): New typedefs.
	* oln/core/3d/aliases.hh (oln::window_)
	(oln::fwd_qiter_win_, oln::bkd_qiter_win_): New forward
	declarations.
	(oln::window3d, oln::fwd_qiter3d): New typedefs.

1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Fix access to images in tests.

	* tests/data.hh: New file.
	* tests/io_pnm: Include it.
	(main): Use rdata to compute the path to loaded images.
	* tests/window2d.cc: Likewise.
	Add copyright header.
	* tests/Makefile.am (AM_CPPFLAGS): Add -I$(srcdir)/check and
	-DOLN_IMG_DIR=\"$(top_srcdir)/olena/img\".
	(noinst_HEADERS): New.
	Add data.hh
	* tests/check/Makefile.am (EXTRA_DIST): Add Makefile.flags.

1864
1865
1866
2006-10-12  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add image accessors with indices.
Roland Levillain's avatar
Roland Levillain committed
1867

1868
1869
1870
1871
1872
1873
1874
	* tests/at.cc: New.
	* oln/core/automatic/image1d.hh: New.
	* oln/core/automatic/image2d.hh: New.
	* oln/core/automatic/image3d.hh: New.
	* tests/Makefile.am (check_PROGRAMS): Add 'at'.
	Move io_pnm to get consistent with SOURCES list.
	(at_SOURCES): New.
Roland Levillain's avatar
Roland Levillain committed
1875
	* oln/core/typedefs.hh (oln_psite, oln_psite_): New.
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
	* oln/core/automatic/image_being_mutable.hh
	(lvalue_t, psite_t): Remove; use oln_lvalue and oln_psite instead.
	(impl_op_readwrite): Update sig.
	* oln/core/abstract/image/dimension/1d.hh (at): New const method.
	(at, has_at): New methods that should be elsewhere; this is a hack.
	(image1d): Move ctor impl inside guards.
	* oln/core/abstract/image/dimension/2d.hh (at): New const method.
	(at, has_at): New methods that should be elsewhere; this is a hack.
	(image2d): Move ctor impl inside guards.
	* oln/core/abstract/image/dimension/3d.hh (at): New const method.
	(at, has_at): New methods that should be elsewhere; this is a hack.
	(image3d): Move ctor impl inside guards.
	* oln/core/abstract/point.hh (include): Add xtd/vec.hh.
	* oln/core/1d/neighb1d.hh (mk_c2): Update to mimic neighb2d.
	* oln/core/2d/image2d.hh (impl_at): New.
	* oln/core/3d/image3d.hh (impl_at): New.
	* oln/Makefile.am (nobase_oln_HEADERS): Update.
	* oln/morpher/internal/image_extension.hh (delegate): New mutable
	version.

Roland Levillain's avatar
Roland Levillain committed
1896
1897
1898
1899
1900
1901
1902
1903
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Fix sanity tests.

	* oln/core/spe/row.hh, oln/core/spe/col.hh, oln/core/spe/slice.hh
	(oln/core/abstract/point_set/point_set_having_bbox.hh)
	(oln/core/abstract/image/bbox/hierarchy.hh): Include them.

1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	* oln/core/fwd_piter.hh: Rename as....
	* oln/core/iterator_vtypes.hh: ...this.
	Adjust header guards.
	* oln/basics1d.hh, oln/basics2d.hh, oln/basics3d.hh,
	* oln/core/1d/image1d.hh, oln/core/2d/image2d.hh,
	* oln/core/3d/image3d.hh, oln/core/internal/bbox_bkd_piter.hh,
	* oln/core/internal/bbox_fwd_piter.hh, oln/io/pnm.hh,
	* oln/morpher/add_neighborhood.hh: Adjust.

1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Reorganize and fix oln/core/3d/.

	* oln/core/3d/aliases.hh (oln::fwd_piter3d, oln::bkd_piter3d): Fix
	their definitions.
	* oln/core/3d/neighb3d.hh (c6, c18, c26)
	(c4_slice, c8_slice, c4_row, c8_row, c4_col, c8_col): Rename as...
	(mk_c6, mk_c18, mk_c26, mk_c4_slice, mk_c8_slice)
	(mk_c4_row, mk_c8_row, mk_c4_col, mk_c8_col): ...these.
	(c6, c18, c26, c4_slice, c8_slice, c4_row, c8_row)
	(c4_col, c8_col): New objects.
	* oln/core/3d/array3d.hh, oln/core/3d/dpoint3d.hh,
	* oln/core/3d/image3d.hh, oln/core/3d/neighb3d.hh,
	* oln/core/3d/point3d.hh: Separate the interface of the methods
	and functions from their implementation.
	* oln/core/3d/image3d.hh (oln::vtypes< image3d<T> >): Set
	topo_type to topo3d.
	(bbox_<point3d>): Move explicit	instantiation...
	* oln/basics3d.hh: ...here
	(oln/core/fwd_piter.hh): Include it.
	* oln/core/3d/image3d.hh: Move the definition of the virtual types
	fwd_piter and bkd_piter of oln::image3d...
	* oln/core/fwd_piter.hh: ...here.
	* oln/core/abstract/image/hybrid/classical.hh
	(oln::abstract:classical_3d_image): New.
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 3>): Rename
	as...
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 4>): ...this.
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 3>): New.
	Handle 3D case.

1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Fix explicit instantiations of oln::bbox_.

	* oln/basics1d.hh (bbox_<point1d>): Move explicit
	instantiation...
	* oln/core/1d/bbox1d.hh: ...here (new file).
	* oln/core/1d/image1d.hh: Include it.
	* oln/basics2d.hh (bbox_<point2d>): Move explicit
	instantiation...
	* oln/core/2d/bbox2d.hh: ...here (new file).
	* oln/core/2d/image2d.hh: Include it.
	* oln/core/3d/bbox3d.hh: New file.
	* oln/basics3d.hh, oln/core/3d/image3d.hh: Include it.
	* oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/bbox1d.hh,
	core/2d/bbox2d.hh and core/3d/bbox3d.hh.

	* oln/core/2d/array2d.hh: Aesthetic changes.

1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Move explicit instantiation of bbox_<point2d> to basics2d.hh.

	* oln/core/2d/image2d.hh (oln::vtypes< image2d<T> >): Set
	topo_type to topo2d.
	* oln/core/2d/image2d.hh (bbox_<point2d>): Move explicit
	instantiation...
	* oln/basics2d.hh: ...here

1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Reorganize and fix oln/core/1d/.

	* oln/core/1d/aliases.hh (oln::fwd_piter1d, oln::bkd_piter1d): Fix
	their definitions.
	* oln/core/1d/neighb1d.hh (oln::c2): Rename as...
	(oln::mk_c2): ...this.
	(c2): New object.
	* oln/core/1d/array1d.hh, oln/core/1d/dpoint1d.hh,
	* oln/core/1d/image1d.hh, oln/core/1d/neighb1d.hh,
	* oln/core/1d/point1d.hh: Separate the interface of the methods
	and functions from their implementation.
	* oln/core/1d/image1d.hh (oln::vtypes< image1d<T> >): Set
	topo_type to topo1d.
	(bbox_<point1d>): Move explicit	instantiation...
	* oln/basics1d.hh: ...here
	(oln/core/fwd_piter.hh): Include it.
	* oln/core/1d/image1d.hh:
	Move the definition of the virtual types fwd_piter and bkd_piter
	of oln::image1d...
	* oln/core/fwd_piter.hh: ...here.
	* oln/core/abstract/image/hybrid/classical.hh
Roland Levillain's avatar
Roland Levillain committed
1999
	(oln::abstract:classical_1d_image): New.
2000
2001
2002
2003
2004
2005
2006
2007
2008
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 1>)
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 2>): Rename
	as...
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 2>)
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 3>):
	...these.
	(oln::case_<image_hybrid_hierarchy_wrt_classical, E, 1>): New.
	Handle 1D case.

2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	* oln/core/abstract/image/dimension/1d.hh
	* oln/core/abstract/image/dimension/2d.hh
	* oln/core/abstract/image/dimension/3d.hh
	* oln/core/abstract/image/dimension/hierarchy.hh
	* oln/core/1d/grid1d.hh, oln/core/2d/grid2d.hh,
	* oln/core/3d/grid3d.hh, oln/core/2d/array2d.hh,
	* oln/core/2d/dpoint2d.hh, oln/core/2d/point2d.hh,
	* tests/image1d.cc, tests/image2d.cc, tests/image3d.cc,
	* tests/image_entry.cc, tests/io_pnm.cc, tests/Makefile.am:
	Aesthetic changes.

2022
2023
2024
2025
2026
2027
2028
2029
2006-10-12  Roland Levillain  <roland@lrde.epita.fr>

	Add static assertions to oln::topo_bbox_ and oln::topo_lbbox_.

	* oln/core/gen/topo_bbox.hh (oln::topo_bbox_<point>)
	* oln/core/gen/topo_lbbox.hh (oln::topo_lbbox_<point>): Ensure
	parameter point is an oln::abstract::point.

2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2006-10-11  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	* tests/at.cc: New.
	* oln/core/automatic/image1d.hh: New.
	* oln/core/automatic/image2d.hh: New.
	* oln/core/automatic/image3d.hh: New.
	* tests/Makefile.am
	* oln/core/typedefs.hh
	* oln/core/automatic/image_being_mutable.hh
	* oln/core/abstract/image/dimension/1d.hh
	* oln/core/abstract/image/dimension/2d.hh
	* oln/core/abstract/image/dimension/3d.hh
	* oln/core/abstract/point.hh
	* oln/core/1d/neighb1d.hh
	* oln/core/2d/image2d.hh
	* oln/core/3d/image3d.hh
	* oln/Makefile.am
	* oln/morpher/internal/image_extension.hh

2049
2050
2051
2006-10-11  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add new facilities to access to components such as row, col, etc.
Roland Levillain's avatar
Roland Levillain committed
2052

2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
	* oln/core/spe/row.hh: New.
	* oln/core/spe/col.hh: New.
	* oln/core/spe/slice.hh: New.
	* oln/debug/print.hh (print): Use min_row, etc.
	(include): Update.
	* oln/core/typedefs.hh (index_comp_type): New.
	(row_comp_type, col_comp_type, slice_comp_type): New.
	(vec_type): New.
	* oln/core/abstract/iterator_on_points.hh (coord_type): New.
	* oln/core/abstract/point.hh (vec_type): New.
	(vec): New.
	* oln/core/1d/dpoint1d.hh (index_comp_type): New.
	* oln/core/1d/point1d.hh (index_comp_type): New.
	* oln/core/2d/dpoint2d.hh (row_comp_type, col_comp_type): New.
	* oln/core/2d/point2d.hh (row_comp_type, col_comp_type): New.
	* oln/core/3d/dpoint3d.hh
	(slice_comp_type, row_comp_type, col_comp_type): New.
	* oln/core/3d/point3d.hh
	(slice_comp_type, row_comp_type, col_comp_type): New.
	* oln/core/internal/point_nd.hh (vec_t): New.
	(vec): Rename as...
	(impl_vec): this.
	* oln/basics2d.hh (include): Update.
	* oln/basics3d.hh (include): Update.
	* oln/Makefile.am (nobase_oln_HEADERS): Update.

2079
2080
2081
2006-10-11  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	New facilities related to windows and q-iterators.
Roland Levillain's avatar
Roland Levillain committed
2082

2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
	* tests/window2d.cc: New.
	* tests/Makefile.am (window2d_SOURCES): New.
	* oln/debug/print.hh (format): New.
	(print): Update; use format to correctly print 'unsigned char'.
	* oln/level/fill.hh: Separate header and implementation.
	(fill): Use shortcut.
	* oln/core/typedefs.hh: New shortcuts oln_something(T) for
	oln_type_of(T, something).
	* oln/core/fwd_piter.hh (fwd_qiter_type): New.
	* oln/core/abstract/window.hh: New.
	* oln/core/2d/aliases.hh (window2d, fwd_qiter2d): New.
	* oln/core/gen/fwd_qiter_win.hh (include): Add abstract::window.hh.
	(fwd_qiter_win_): Update ctor signature.
	* oln/core/gen/window.hh (grid_type): New.
	(window_): Add inheritance from abstract::window.
	(impl_is_valid): New.
	(include): Update.
	* oln/basics2d.hh (include): Add window.hh and fwd_qiter_win.hh.
	* oln/Makefile.am (nobase_oln_HEADERS): Update.
Roland Levillain's avatar
Roland Levillain committed
2102

2103
2104
2105
2006-10-11  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add some tools related to morphers over image value.
Roland Levillain's avatar
Roland Levillain committed
2106

2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
	* oln/core/abstract/value.hh: New.
	* oln/morpher/thru_fun.hh: New.
	* oln/morpher/internal/image_value_morpher.hh: New.
	* oln/color: New.
	* oln/color/rgb.hh: New.
	* tests/Makefile.am (check_PROGRAMS): Reorganize.
	(io_pnm_SOURCES): New.
	* oln/core/abstract/grid.hh (grid): Add inheritance from oln::type.
	* oln/Makefile.am (nobase_oln_HEADERS): Update.

Roland Levillain's avatar
Roland Levillain committed
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2006-10-10  Roland Levillain  <roland@lrde.epita.fr>

	Fix sanity checks.

	* oln/core/abstract/image/hybrid/classical.hh,
	* oln/core/gen/neighb.hh, oln/core/gen/window.hh,
	* oln/core/gen/fwd_qiter_win.hh, oln/core/gen/piter_isubset.hh,
	* oln/core/gen/mapimage.hh,
	* oln/core/internal/bbox_fwd_piter.hh,
	* oln/core/internal/bbox_bkd_piter.hh,
	* oln/core/fwd_piter.hh, oln/core/1d/point1d.hh,
	* oln/core/1d/dpoint1d.hh, oln/core/2d/point2d.hh,
	* oln/core/2d/dpoint2d.hh, oln/core/2d/neighb2d.hh,
	* oln/core/3d/point3d.hh, oln/core/3d/dpoint3d.hh,
	* oln/core/3d/neighb3d.hh,
	* oln/morpher/add_isubset.hh, oln/morpher/add_neighborhood.hh,
	* oln/debug/print.hh, oln/io/pnm.hh, oln/level/fill.hh:
	Include needed (missing) headers.
	* oln/core/1d/image1d.hh, oln/core/2d/image2d.hh,
	* oln/core/3d/image3d.hh: Likewise.
	Instantiate oln::bbox_ explicitly.
	* oln/core/gen/bbox.hh
	(oln/core/gen/bbox_fwd_piter.hh, oln/core/gen/bbox_bkd_piter.hh):
	Don't include them.
	* oln/core/gen/topo_bbox.hh (impl_has_large): Typo.


	Reorganize the abstract::image hierarchy.

	* oln/core/abstract/image/hierarchies.hh: Move inclusions of point
	set abstractions...
	* oln/core/abstract/image/all.hh: ...here (new file).
	* oln/core/image_entry.hh: Adjust.
	* oln/Makefile.am (nobase_oln_HEADERS): Adjust.
	* oln/basics1d.hh, oln/basics2d.hh, oln/basics3d.hh: Remove
	explicit template instantiations.
	* oln/core/abstract/image.hh
	(oln/core/abstract/image/hierarchies.hh): Don't include it.
	* oln/core/abstract/image/dimension/hierarchy.hh
	* oln/core/abstract/image/type/hierarchy.hh,
	* oln/core/abstract/image/neighborhood/hierarchy.hh
	* oln/core/abstract/image/bbox/hierarchy.hh
	* oln/core/abstract/image/accessibility/hierarchy.hh
	* oln/core/abstract/image/mutability/hierarchy.hh
	* oln/core/abstract/image/hybrid/classical.hh
	(oln/core/abstract/image/hierarchies.hh): Include it.
	* oln/core/abstract/image/type/integre.hh
	(oln::abstract::case_<image_hierarchy_wrt_type, E, 4>)
	(oln::abstract::case_<image_hierarchy_wrt_type, E, 5>)
	(oln::abstract::case_<image_hierarchy_wrt_type, E, 6>): Catch up
	with image type hierarchy.


	Reorganize the abstract::point_set hierarchy.

	* oln/core/abstract/point_set_hierarchies.hh: Rename as...
	* oln/core/abstract/point_set/hierarchies.hh: ...this.
	Move inclusions of point set abstractions...
	* oln/core/abstract/point_set/all.hh: ...here (new file).
	* oln/core/point_set_entry.hh: Adjust.
	* oln/core/abstract/point_set_being_connected.hh,
	* oln/core/abstract/point_set_being_random_accessible.hh,
	* oln/core/abstract/point_set_having_bbox.hh,
	* oln/core/abstract/point_set_having_known_size.hh: Rename as...
	* oln/core/abstract/point_set/point_set_being_connected.hh,
	* oln/core/abstract/point_set/point_set_being_random_accessible.hh,
	* oln/core/abstract/point_set/point_set_having_bbox.hh,
	* oln/core/abstract/point_set/point_set_having_known_size.hh:
	...these.
	Adjust header guards and inclusions.
	* oln/Makefile.am (nobase_oln_HEADERS): Adjust.
	* oln/core/abstract/bbox.hh
	(oln::case_<point_set_hierarchy_wrt_bbox, E, 1>)
	(oln::case_<point_set_hierarchy_wrt_bbox, E, 2>): Move...
	* oln/core/abstract/point_set/point_set_having_bbox.hh: ...here.
	(oln::abstract::point_set_having_bbox):
	s/oln_type_of/oln_check_type_of/g.


	Reorganize the abstract::topology hierarchy.

	* oln/core/abstract/topology_hierarchies.hh: Rename as...
	* oln/core/abstract/topology/hierarchies.hh: ...this.
	Move inclusions of topology abstractions...
	* oln/core/abstract/topology/all.hh: ...here (new file).
	* oln/core/topology_entry.hh: Adjust
	* oln/core/abstract/topology_being_random_accessible.hh,
	* oln/core/abstract/topology_having_bbox.hh,
	* oln/core/abstract/topology_having_neighborhood.hh,
	* oln/core/abstract/topology_having_subset.hh: Rename as...
	* oln/core/abstract/topology/topology_being_random_accessible.hh,
	* oln/core/abstract/topology/topology_having_bbox.hh,
	* oln/core/abstract/topology/topology_having_neighborhood.hh,
	* oln/core/abstract/topology/topology_having_subset.hh: ...these.
	Adjust header guards and inclusions.
	* oln/Makefile.am (nobase_oln_HEADERS): Adjust.

2214
2215
2216
2006-10-10  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Add i/o read for pbm and pgm formats.
Roland Levillain's avatar
Roland Levillain committed
2217

2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
	* tests/io_pnm.cc: New.
	* tests/Makefile.am (check_PROGRAMS): Update.
	* oln/io: New directory.
	* oln/io/pnm.hh: New.
	* oln/core/image_entry.hh (coord_type): New single_vtype.
	* oln/core/abstract/image.hh (decl): New comment.
	* oln/core/2d/image2d.hh (adr_at): New.
	* oln/basics2d.hh (include): Add fwd_piter.hh.
	* oln/Makefile.am (nobase_oln_HEADERS): Update.
	* img: New directory.
	* img/chien.pbm: New.
	* img/lena32.pgm: New.

2231
2232
2233
2234
2235
2236
2006-10-09  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	* oln/core/internal/tracked_ptr.hh (operator bool):
	Fix signature.
	(operator bool): Add line to remove warning.

2237
2238
2239
2240
2241
2242
2243
2244
2245
2006-10-09  Roland Levillain  <roland@lrde.epita.fr>

	Add sanity check to Olena.

	* tests/sanity/check.in, tests/sanity/Makefile.am,
	* tests/check/defs.in, tests/check/Makefile.flags,
	* tests/check/Makefile.am: New.
	* tests/Makefile.am (SUBDIRS): New.

2246
2247
2248
2006-10-09  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Change stc_virtual_typedef into oln_virtual_typedef.
Roland Levillain's avatar
Roland Levillain committed
2249

2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
	* oln/core/macros.hh (oln_virtual_typedef): New macro.
	It replaces stc_virtual_typedef.
	* oln/core/abstract/image.hh: Update.
	* oln/core/abstract/image/mutability/hierarchy.hh: Update.
	* oln/core/abstract/image/neighborhood/hierarchy.hh: Update.
	* oln/core/abstract/image/bbox/hierarchy.hh: Update.
	* oln/core/abstract/point_set.hh: Update.
	* oln/core/abstract/neighborhood.hh: Update.
	* oln/core/abstract/topology.hh: Update.

2260
2261
2262
2263
2264
2265
2006-10-09  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	* oln/debug/print.hh: Separate definition from declaration.
	* oln/core/automatic/topology_being_random_accessible.hh
	(impl_has_large): Fix signature.

2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2006-10-09  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Separate definition code from declaration code in olena.

	* oln/core/type.hh: Split code.
	* oln/core/point_set_entry.hh: Likewise.
	* oln/core/automatic/image.hh: Likewise.
	* oln/core/automatic/topology_having_bbox.hh: Likewise.
	* oln/core/automatic/image_being_random_accessible.hh: Likewise.
	* oln/core/automatic/image_having_neighborhood.hh: Likewise.
	* oln/core/automatic/topology_being_random_accessible.hh: Likewise.
	* oln/core/automatic/topology_having_subset.hh: Likewise.
	* oln/core/automatic/image_being_mutable.hh: Likewise.
	* oln/core/automatic/topology_having_neighborhood.hh: Likewise.
	* oln/core/neighborhood_entry.hh: Likewise.
	* oln/core/topology_entry.hh: Likewise.
	* oln/core/image_entry.hh: Likewise.
	* oln/core/abstract/iterator_on_points.hh: Likewise.
	* oln/core/abstract/topology_having_bbox.hh: Likewise.
	* oln/core/abstract/image.hh: Likewise.
	* oln/core/abstract/image/type/binary.hh: Likewise.
	* oln/core/abstract/image/type/data.hh: Likewise.
	* oln/core/abstract/image/type/grey_level.hh: Likewise.
	* oln/core/abstract/image/type/color.hh: Likewise.
	* oln/core/abstract/image/type/label.hh: Likewise.
	* oln/core/abstract/image/hybrid/classical.hh: Likewise.
	* oln/core/abstract/image/mutability/hierarchy.hh: Likewise.
	* oln/core/abstract/image/dimension/2d.hh: Likewise.
	* oln/core/abstract/image/neighborhood/hierarchy.hh: Likewise.
	* oln/core/abstract/image/accessibility/hierarchy.hh: Likewise.
	* oln/core/abstract/image/bbox/hierarchy.hh: Likewise.
	* oln/core/abstract/point_set_being_random_accessible.hh: Likewise.
	* oln/core/abstract/grid.hh: Likewise.
	* oln/core/abstract/iterator.hh: Likewise.
	* oln/core/abstract/point.hh: Likewise.
	* oln/core/abstract/bbox.hh: Likewise.
	* oln/core/abstract/point_set_being_connected.hh: Likewise.
	* oln/core/abstract/dpoint.hh: Likewise.
	* oln/core/abstract/topology_being_random_accessible.hh: Likewise.
	* oln/core/abstract/topology_having_subset.hh: Likewise.
	* oln/core/abstract/topology_having_neighborhood.hh: Likewise.
	* oln/core/abstract/entry.hh: Likewise.
	* oln/core/abstract/point_set.hh: Likewise.
	* oln/core/abstract/point_set_having_known_size.hh: Likewise.
	* oln/core/abstract/neighborhood.hh: Likewise.
	* oln/core/abstract/point_set_having_bbox.hh: Likewise.
	* oln/core/abstract/topology.hh: Likewise.
	* oln/core/2d/neighb2d.hh: Likewise.
	* oln/core/2d/dpoint2d.hh: Likewise.
	* oln/core/2d/array2d.hh: Likewise.
	* oln/core/2d/image2d.hh: Likewise.
	* oln/core/2d/point2d.hh: Likewise.
	* oln/core/gen/piter_isubset.hh: Likewise.
	* oln/core/gen/topo_add_isubset.hh: Likewise.
	* oln/core/gen/bbox.hh: Likewise.
	* oln/core/gen/topo_bbox.hh: Likewise.
	* oln/core/gen/neighb.hh: Likewise.
	* oln/core/gen/fwd_piter_bbox.hh: Likewise.
	* oln/core/gen/bbox_fwd_piter.hh: Likewise.
	* oln/core/gen/fwd_niter_neighb.hh: Likewise.
	* oln/core/gen/fwd_qiter_win.hh: Likewise.
	* oln/core/gen/topo_lbbox.hh: Likewise.
	* oln/core/gen/window.hh: Likewise.
	* oln/core/gen/bbox_bkd_piter.hh: Likewise.
	* oln/core/gen/bkd_piter_bbox.hh: Likewise.
	* oln/core/gen/topo_add_nbh.hh: Likewise.
	* oln/core/gen/mapimage.hh: Likewise.
	* oln/core/internal/tracked_ptr.hh: Likewise.
	* oln/core/internal/topology_morpher.hh: Likewise.
	* oln/core/internal/point_nd.hh: Likewise.
	* oln/core/internal/bbox_bkd_piter.hh: Likewise.
	* oln/core/internal/bbox_fwd_piter.hh: Likewise.
	* oln/core/internal/dpoint_nd.hh: Likewise.
	* oln/basics2d.hh: Likewise.
	* oln/morpher/add_isubset.hh: Likewise.
	* oln/morpher/identity.hh: Likewise.
	* oln/morpher/internal/image_extension.hh: Likewise.
	* oln/morpher/add_neighborhood.hh: Likewise.

2345
2346
2347
2348
2006-10-05  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>

	Decouple iterators from image topology; update neighborhood tools
	and start to add window tools.
Roland Levillain's avatar
Roland Levillain committed
2349

2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
	* oln/core/automatic/topology_having_subset.hh: New.
	* oln/core/abstract/topology_having_subset.hh: New.
	* oln/core/gen/fwd_niter_neighb.hh: New.
	* oln/core/gen/fwd_qiter_win.hh: New.
	* oln/core/gen/window.hh: New.
	* oln/core/typedefs.hh
	(qiter_type, fwd_qiter_type, bkd_qiter_type): Uncomment.
	(niter_type, fwd_niter_type, bkd_niter_type): Uncomment.
	(isubset): Rename into...
	(subset_type): ...this.
	* oln/core/macros.hh
	(oln_type_of, oln_deduce_type_of, oln_type_of_): Rely on direct access.
	(oln_check_type_of, oln_check_type_of_): Rely on direct access.
	(oln_deduce_direct_type_of): New.
	* oln/core/topology_entry.hh (subset_type): New.
	* oln/core/image_entry.hh (fwd_piter_type, bkd_piter_type): Move
	from vtypes to single_vtype.
	(fwd_qiter_type): New.
	* oln/core/abstract/topology_hierarchies.hh
	(topology_hierarchy_wrt_subset): New.
	(include): Add topology_having_subset.hh.
	* oln/core/abstract/image/neighborhood/hierarchy.hh
	(niter, fwd_niter, bkd_niter): New in decl.
	* oln/core/2d/aliases.hh
	(fwd_piter_bbox_, bkd_piter_bbox_): Change param letter.
	(fwd_piter2d, bkd_piter2d): Update.
	* oln/core/2d/neighb2d.hh (c4, c8, c2_row, c2_col): Rename into...
	(mk_c4, mk_c8, mk_c2_row, mk_c2_col): ...these in namespace internal.
	(c4, c8, c2r, c2c): New objects.
	* oln/core/gen/piter_isubset.hh (piter_isubset_): New ctor for
	iterators around a point.
	(topo): Return a copy.
	(change_topology_): Remove; obsolete.
	* oln/core/gen/topo_add_isubset.hh (isubset_type): Rename into...
	(subset_type): ...this.
	(isubset): Rename into...
	(impl_subset): ...this.
	* oln/core/gen/topo_bbox.hh (impl_lbbox): New; experimental!
	* oln/core/gen/fwd_piter_bbox.hh (fwd_piter_bbox_): Change parameter
	from topo to point; update.
	(topo): Remove this method; obsolete.
	(change_topology_): Remove; obsolete.
	(topo_): Remove this attribute; obsolete.
	* oln/core/gen/bkd_piter_bbox.hh: Likewise.
	* oln/basics2d.hh: Update.
	* oln/Makefile.am (nobase_oln_HEADERS): Update.
	* oln/core/2d/image2d.hh
	(fwd_piter_type, bkd_piter_type): Move these definitions into...
	* oln/core/fwd_piter.hh: ... this new file.
	* oln/morpher/add_isubset.hh: Likewise.
	* oln/morpher/add_neighborhood.hh: Likewise.
	* oln/morpher/internal/image_extension.hh (image_): Change from
	const& to plain type.

Roland Levillain's avatar
Roland Levillain committed
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2006-10-03  Roland Levillain  <roland@lrde.epita.fr>

	Fix the distribution.

	* oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/aliases.hh,
	core/1d/array1d.hh, core/1d/dpoint1d.hh, core/1d/image1d.hh,
	core/1d/neighb1d.hh, core/1d/point1d.hh, core/3d/aliases.hh,
	core/3d/array3d.hh, core/3d/dpoint3d.hh, core/3d/image3d.hh,
	core/3d/neighb3d.hh, core/3d/point3d.hh,
	core/internal/tracked_ptr.hh, basics1d.hh, basics3d.hh.

2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2006-10-03  Roland Levillain  <roland@lrde.epita.fr>

	Add oln::image3d and associated types.

	* oln/core/3d/image3d.hh, oln/core/3d/array3d.hh,
	* oln/core/3d/point3d.hh, oln/core/3d/dpoint3d.hh,
	* oln/core/3d/neighb3d.hh, oln/core/3d/aliases.hh,
	* oln/basics3d.hh: New.
	* oln/core/abstract/point_set_being_connected.hh
	(oln::abstract::point_set_being_3d_connected): New class.
	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 3>): New
	case.
	* tests/image3d.cc: New test.
	* tests/Makefile.am (check_PROGRAMS): Add image3d.
	(image3d_SOURCES): New.

2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2006-10-03  Roland Levillain  <roland@lrde.epita.fr>

	Add oln::image1d and associated types.

	* oln/core/1d/image1d.hh, oln/core/1d/array1d.hh,
	* oln/core/1d/point1d.hh, oln/core/1d/dpoint1d.hh,
	* oln/core/1d/neighb1d.hh, oln/core/1d/aliases.hh,
	* oln/basics1d.hh: New.
	* oln/core/abstract/point_set_being_connected.hh
	(oln::abstract::point_set_being_1d_connected): New class.
	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 1>): Handle
	the 1-dimension case, and move the 2-dimension case...
	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 2>): ...here
	(new).
	* tests/image1d.cc: New test.
	* tests/Makefile.am (check_PROGRAMS): Add image1d.
	(image1d_SOURCES): New.

Roland Levillain's avatar
Roland Levillain committed
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2006-10-03  Roland Levillain  <roland@lrde.epita.fr>

	Clean up morphers.

	* oln/morpher/identity.hh
	(oln::vtypes< morpher::identity<Image> >): Remove (was useless).
	(oln/morpher/tags.hh): Move header inclusion...
	* oln/morpher/internal/image_extension.hh: ...here
	* oln/morpher/add_neighborhood.hh, oln/morpher/add_isubset.hh
	(oln/morpher/tags.hh): No longer include it.
	* oln/morpher/tags.hh (oln::morpher::tag::add_neighborhood):
	Remove (was useless).
	(oln::morpher::tag::identity): Adjust documentation.

2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2006-10-03  Roland Levillain  <roland@lrde.epita.fr>

	Take borders into account in data allocation of image2d.

	* oln/core/2d/image2d.hh (image2d(unsigned, unsigned, unsigned)):
	Allocate space for the border in the array.
	* oln/core/2d/point2d.hh, oln/core/typedefs.hh: Add FIXMEs.
	* oln/core/2d/neighb2d.hh, oln/core/2d/dpoint2d.hh,
	* oln/core/internal/point_nd.hh: Aesthetic changes.

2473
2474
2475
2476
2477
2478
2479
2480
2481
2006-10-02  Roland Levillain  <roland@lrde.epita.fr>

	Add simple tests for point2d and dpoint2d.

	* tests/dpoint2d.cc, tests/point2d.cc: New tests.
	* tests/image_entry.cc: Fix comments.
	* tests/Makefile.am (check_PROGRAMS): Add dpoint2d and point2d.
	(dpoint2d_SOURCES, point2d_SOURCES): New.

2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2006-10-02  Roland Levillain  <roland@lrde.epita.fr>

	Separate tracked_ptr from array2d.

	* oln/core/2d/array2d.hh (oln::tracked_ptr): Move...
	* oln/core/internal/tracked_ptr.hh: ...here (new file).
	* oln/core/2d/image2d.hh (oln::image2d::data_): Adjust type.
	(oln::image2d(const topo2d&)): New ctor.
	* tests/image2d.cc: New test.
	* tests/Makefile.am (check_PROGRAMS): Add image2d.
	(image2d_SOURCES): New.

2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2006-10-02  Roland Levillain  <roland@lrde.epita.fr>

	Fix the inheritance of oln::point2d_ and oln::dpoint2d_.