1. 13 Mar, 2007 2 commits
    • Thierry Geraud's avatar
      Add oln_plain_value, update level::apply, and provide a sample test code. · f012fdca
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@870 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f012fdca
    • Thierry Geraud's avatar
      Add plain and ch_value functions on images. · 3ee9a03a
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@869 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3ee9a03a
  2. 12 Mar, 2007 1 commit
    • Thierry Geraud's avatar
      Add type of 2d images with border. · a6e757e7
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@864 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a6e757e7
  3. 08 Mar, 2007 2 commits
    • Thierry Geraud's avatar
      Add the notion of image plus neighborhood and the underlying · ae69f455
      Thierry Geraud authored
      	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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@859 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ae69f455
    • Thierry Geraud's avatar
      Move the responsibility of iteration on window points from · 8bd6feca
      Thierry Geraud authored
      	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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@858 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8bd6feca
  4. 06 Mar, 2007 2 commits
    • Thierry Geraud's avatar
      Update windows and neighborhoods + remove obsolete files. · c4188fdf
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@855 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c4188fdf
    • Thierry Geraud's avatar
      Extend image selectors and add image2d type. · ece7a482
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@854 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ece7a482
  5. 05 Mar, 2007 1 commit
    • Thierry Geraud's avatar
      Update image concepts and add single_value_image. · 627292f4
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@850 4aad255d-cdde-0310-9447-f3009e2ae8c0
      627292f4