1. 21 Mar, 2007 3 commits
    • Ugo Jardonnet's avatar
      Algo MorphoMath : and, or, opening, closing, elementary algo. · afe34437
      Ugo Jardonnet authored
      	* oln/accumulator/and.hh: New.
      	* oln/accumulator/or.hh: New.
      	* oln/core/internal/max_value.hh,
      	* oln/core/internal/op_image_plus_nbh.hh,
      	* oln/morpho/elementary_erosion.hh,
      	* oln/morpho/dilation.hh: Update.
      	* oln/morpho/elementary_closing.hh,
      	* oln/morpho/elementary_opening.hh: New.
      	* oln/morpho/elementary_dilation.hh: Update.
      	* oln/morpho/erosion.hh: New.
      	* oln/morpho/opening.hh: New.
      	* oln/level/local.hh: .
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@893 4aad255d-cdde-0310-9447-f3009e2ae8c0
      afe34437
    • Thierry Geraud's avatar
      Add image selection about different kinds of values and update. · 3b0c3b4c
      Thierry Geraud authored
      	* oln/core/concept/image.hh (Gray_Level_Image, Color_Image)
      	(Label_Image, Binary_Image, String_Image)
      	(Deformation_Field_Image, Data_Image): New.
      	* oln/core/internal/max_value.hh: Fix.
      	* oln/core/internal/image_selectors.hh (Image_value_kind): New. 
      	* oln/morpho/dilation.hh: Fix.
      	* oln/morpho/elementary_erosion.hh (elementary_erosion_): Rename as...
      	(elementary_erosion_on_function_): ...this.
      	(elementary_erosion_on_set_): New.
      	(elementary_erosion_): Dispatch over function/set.
      	(elementary_erosion): Update.
      	* oln/level/local.hh (A): Rename as...
      	(F): ...this.
      	* oln/accumulator/max.hh,
      	* oln/core/internal/min_value.hh,
      	* oln/morpho/elementary_dilation.hh: New.
      	* oln/value/greylevel.hh: Rename as...
      	* oln/value/graylevel.hh: ...this.
      	(greylevel_, greylevel): Rename as...
      	(graylevel_, graylevel): ...these.
      	* oln/value/default.hh (greylevel): Rename as...
      	(graylevel): ...this.
      	* oln/value/all.hh (include): Update.
      	* oln/value/bin.hh (bin): Change from greylevel_<1> to
      	graylevel_<1>.
      	* oln/value/tags.hh (is_grey_level): Rename as...
      	(is_gray_level): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@892 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3b0c3b4c
    • Thierry Geraud's avatar
      Handle virtual borders. · a3ffe3dc
      Thierry Geraud authored
      	* oln/morpher/add_neighborhood.hh: Remove; obsolete.
      	* oln/border/fill.hh: New.
      	* oln/accumulator/min.hh (operator()): Untemplate.
      	* oln/debug/print_nbh.hh: Use macros.
      	* oln/debug/println.hh (println): Remove unuseful exact.
      	* oln/core/concept/image.hh (Image_with_Border): New.
      	* oln/core/concept/image_identity.hh (set_impl): New version.
      	* oln/core/concept/accumulator.hh (init_with): New.
      	* oln/core/1d/image1d_b.hh (vborder): New.
      	(border): Rename as...
      	(impl_border): ...this.
      	* oln/core/2d/image2d_b.hh: Likewise.
      	* oln/core/2d/array2d.hh (row_pad): New.
      	* oln/core/equipment.hh (vborder): New.
      	* oln/core/internal/image_selectors.hh (Image_border): New.
      	* oln/morpho/elementary_erosion.hh (elementary_erosion_): Handle border.
      	(elementary_erosion_): New version; fast, to be activated.
      	(include): Add border/fill.hh.
      	* oln/level/local.hh (init): Replace this call by...
      	(init_with): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@891 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a3ffe3dc
  2. 20 Mar, 2007 2 commits
    • Thierry Geraud's avatar
      Introduce 'prepare' to initialize image structures. · ed1d012e
      Thierry Geraud authored
      	* oln/core/concept/image.hh (Image_2D): Add min_row, max_row,
      	min_col, and max_col.
      	* oln/debug/print.hh: Update.
      	* oln/level/apply_local.hh (init): Replace by prepare.
      	* oln/core/init.hh: Fix.
      	* oln/core/equipment.hh (oln_box): New.
      	* oln/core/2d/neighb2d.hh: Unconst objects.
      	* oln/core/2d/image2d.hh (init_): Rename as...
      	(prepare): ...this.
      	* oln/core/2d/image2d_b.hh: Likewise.
      	* oln/core/internal/op_image_restricted_to_pset.hh: Likewise.
      	* oln/core/internal/op_image_plus_nbh.hh: Likewise.
      	* oln/core/internal/image_base.hh (init_): New overload.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@890 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ed1d012e
    • Alexandre Abraham's avatar
      Fix mini-oln, add mutable image type and rgb value. · 1c9d36ba
      Alexandre Abraham authored
      	* samples/mini-oln/mini-oln.cc,
      	samples/mini-oln/concept-c++/mini-oln.cc : code for image3d tests,
      	new lvalue_t and rvalue_t vtypes for mutable images.
      
      	* samples/mini-oln/mini-oln.cc,
      	(oln::Image::rvalue_t) : New typedef.
      	(oln::Image) : operator() now return a rvalue_t as it is a read
      	only Image by default
      	(oln::Image2d), (oln::Image3d) : operator() is now inherited
      	from oln::Image.
      	(oln::Mutable_Image) : New.
      	(oln::Mutable_Image::lvalue) : New typedef.
      	(oln::switch_image_base_mutable) : New.
      	(oln::image2d) : split impl_op_parens into two versions returning
      	rvalue_t and lvalue_t.
      	(oln::rgb) : new type.
      	(oln::Iterator3d) : New.
      	(oln::niter3d) : New.
      	(oln::Image3d) : New.
      
      	* samples/mini-oln/concept-c++/mini-oln.cc:
      	(oln::concepts::Image::rvalue_t) : New typedef.
      	(oln::concetps::Image) : operator() now return a rvalue_t as it is
      	a read only Image by default
      	(oln::concepts::Mutable_Image) : New.
      	(oln::concetps::Mutable_Image::lvalue) : New typedef.
      	(oln::image_mutability_switch) : New.
      	(oln::image2d) : split impl_op_parens into two versions returning
      	rvalue_t and lvalue_t.
      	(oln::Iterator3d) : New.
      	(oln::niter3d) : New.
      	(oln::Image3d) : New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@889 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1c9d36ba
  3. 19 Mar, 2007 3 commits
    • Thierry Geraud's avatar
      Clean-up morpho, accumulators, and vtypes in base classes. · 8213a1c8
      Thierry Geraud authored
      	* oln/morpho/erosion.hh: Rename as...
      	* oln/morpho/elementary_erosion.hh: ...this.
      	(erosion): Rename as...
      	(elementary_erosion): ...this and update.
      	* oln/core/concept/function.hh (Accumulator): Move to...
      	* oln/core/concept/accumulator.hh: ...this new file.
      	* oln/accumulator/: New.
      	* oln/function/min.hh: Rename as...
      	* oln/accumulator/min.hh: ...this.
      	Split decls and defs.
      	* oln/core/internal/dpoint_nd.hh: Remove; obsolete.
      	* oln/level/apply.hh (apply_local): Uncomment and move to...
      	* oln/level/apply_local.hh: ...this new file.
      	* oln/level/apply.hh (apply_inplace): Uncomment and move to...
      	* oln/level/apply_inplace.hh: ...this new file.
      	* oln/level/local.hh: Fix sigs.
      	* oln/core/init.hh (init): Strengthen sigs with Any.
      	* oln/core/equipment.hh (argument, oln_argument): New.
      	(oln_dim, oln_dpoint, oln_grid): New.
      	(include): Reject init.hh to end of file.
      	* oln/core/gen/fun.hh (fun_v2v_, functorize_v2v): New.
      	* oln/core/internal/point_base.hh,
      	* oln/core/internal/dpoint_base.hh,
      	* oln/core/internal/point_set_base.hh,
      	* oln/core/internal/window_base.hh,
      	* oln/core/internal/neighborhood_base.hh,
      	* oln/core/internal/image_base.hh: Simplify type deductions.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@888 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8213a1c8
    • Nicolas Ballas's avatar
      Clean code. · abd2945a
      Nicolas Ballas authored
      	* oln/core/rle/rle_image.hh, oln/core/rle/rle_psite.hh,
      	* oln/core/rle/rle_pset.hh, oln/core/encode/sparse_encode.hh: .
      	* oln/core/encode/rle_encode.hh: clean code, add comments, change comments form...
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@887 4aad255d-cdde-0310-9447-f3009e2ae8c0
      abd2945a
    • Thierry Geraud's avatar
      Add the type of 'point set such as f : point -> bool. · 011c3793
      Thierry Geraud authored
      	* oln/core/concept/functions.hh: Rename as...
      	* oln/core/concept/function.hh: ...this.
      	* oln/core/gen/piter_isubset.hh: Rename as...
      	* oln/core/internal/piter_adaptor.hh: ...this.
      	* oln/core/gen/fun.hh: New.
      	* oln/core/internal/op_pset_such_as_fp2b.hh: New.
      	* oln/core/concept/value.hh (Boolean): New.
      	* oln/core/2d/grid2d.hh (grid2d_rec): Rename as...
      	(grid2d): ...this.
      	(grid2d): Rename as...
      	(grid2d_rec): ...this.
      	* oln/core/2d/point2d.hh: Cosmetic change.
      	* oln/core/equipment.hh (adapted): New.
      	* oln/core/gen/op.hh (category_of_): Move to...
      	* oln/core/internal/category_of.hh: ...this new file.
      	* oln/core/internal/point_base.hh: Add commentary.
      	* oln/core/internal/dpoint_base.hh (vtypes): Add category.
      	* oln/core/internal/point_set_base.hh (operator|): New.
      	(include): Update.
      	* oln/core/internal/op_image_plus_nbh.hh: Cosmetic change.
      	* oln/core/internal/special_op.hh (include): Remove image_base.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@886 4aad255d-cdde-0310-9447-f3009e2ae8c0
      011c3793
  4. 16 Mar, 2007 6 commits
  5. 15 Mar, 2007 4 commits
    • Nicolas Ballas's avatar
      Fix bug on sparse image. · d7b3eab2
      Nicolas Ballas authored
      	* oln/core/encode/sparse_encode.hh: New.
      	* oln/core/sparse/sparse_image.hh: sparse_image class working now
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@879 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d7b3eab2
    • Roland Levillain's avatar
      Update SCOOP 2 alternative implementation. · d1588cc1
      Roland Levillain authored
      	* stc/scoop-alt.hh: Split this file into...
      	* stc/scoop-alt.hh, stc/scoop-alt.inc: ...these.
      	Catch up with the interface of oln/stc/scoop.hh and
      	oln/stc/scoop.hxx.
      	* stc/Makefile.am (nobase_stc_HEADERS): Add scoop-alt.inc.
      	* tests/scoop-alt.cc: Adjust existing tests.
      	(ex8, ex9): New tests.
      	(main): Run them.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@878 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d1588cc1
    • Thierry Geraud's avatar
      Add type of ''image restricted_to a subset''. · e8815669
      Thierry Geraud authored
      	* tests/core/subset.cc: New.
      	* tests/core/Makefile.am: Update.
      	* oln/debug/println.hh: New.
      	* oln/core/internal/op_image_restricted_to_pset.hh: New.
      	* oln/debug/print.hh: Fix copyright.
      	* oln/core/concept/image.hh (bbox): Provide a final impl.
      	* oln/core/rle/rle_image.hh,
      	* oln/core/concept/image_identity.hh,
      	* oln/core/sparse/sparse_image.hh,
      	* oln/core/1d/image1d.hh
      	* oln/core/1d/image1d_b.hh
      	* oln/core/2d/image2d.hh
      	* oln/core/2d/image2d_b.hh: Update.
      	* oln/core/concept/neighborhood.hh (oln_decl_op_plus): Move to...
      	* oln/core/gen/neighb.hh: ...this file.
      	* oln/core/gen/op.hh (oln_decl_op_restricted_to, restricted_to):
      	New.
      	* oln/core/internal/point_set_base.hh (category): New.
      	* oln/core/internal/op_image_plus_nbh.hh: Add static assert.
      	* oln/core/internal/image_base.hh (include): Add
      	op_image_restricted_to_pset.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@877 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e8815669
    • Thierry Geraud's avatar
      Add external initialization through ''init(target, with, data)''. · c65f3791
      Thierry Geraud authored
      	* oln/core/internal/utils.hh (value1, value2, value3, value4):
      	Rename as...
      	(first, second, third, fourth): ...these.	
      	* oln/core/init.hh (init): New version.
      	(with_t, with, init_): New.
      	* oln/core/1d/image1d.hh (plain, skeleton): New.
      	* oln/core/1d/image1d_b.hh: Likewise and update.
      	* oln/core/2d/neighb2d.hh (OLN_ENABLE_DEFAULT): New.
      	(init_): New.
      	* oln/core/2d/array2d.hh: Add FIXMEs.
      	* oln/core/2d/image2d.hh (init_): New.
      	* oln/core/2d/image2d_b.hh: Likewise.
      	* oln/core/2d/box2d.hh (init__): Change sig.
      	* oln/core/2d/point2d.hh (init__): Replace by...
      	(point2d): ...this new ctor.
      	* oln/core/gen/box.hh: Likewise.
      	* oln/core/equipment.hh (include): Add init.hh.
      	* oln/core/gen/op.hh (op_): New ctor.
      	* oln/core/gen/single_value_image.hh: Update.
      	* oln/core/concept/point_set.hh (box): New instant value.
      	* oln/core/concept/grid.hh (include): Remove.
      	* oln/core/concept/point.hh (include): Add grid.hh.
      	(point): New instant value.
      	* oln/core/concept/value.hh: Fix.
      	* oln/core/internal/initializer.hh (operator*): Rename as...
      	(value): ...this.
      	(init__): Secure.
      	* oln/core/internal/op_image_plus_nbh.hh (current): Move.
      	(init_): New.
      	Update.
      	* oln/core/internal/instant_value.hh (oln_decl_instant_value):
      	Move type definitions into internal.
      	(operator M<W>): Add FIXME.
      	* oln/core/internal/image_base.hh (ima): New instant value.
      	(data__): New method.
      	(init_): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@876 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c65f3791
  6. 14 Mar, 2007 4 commits
    • Ugo Jardonnet's avatar
      Update and add : apply, local canvas. · c2f36846
      Ugo Jardonnet authored
      	* tests/core/Makefile.am: .
      	* oln/function: New.
      	* oln/function/min.hh: New.
      	* oln/level/apply.hh: .
      	* oln/level/local.hh: New.
      	* oln/core/concept/image.hh: .
      	* oln/core/concept/functions.hh: .
      	* oln/core/internal/max_value.hh: New.
      	* oln/morphomath: New.
      	* oln/morphomath/dilatation.hh: New.
      	* oln/morphomath/erosion.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@875 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c2f36846
    • Nicolas Ballas's avatar
      New sparse_image class, not working yet. · 704d1c17
      Nicolas Ballas authored
      	* oln/core/sparse: New.
      	* oln/core/sparse/sparse_image.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@874 4aad255d-cdde-0310-9447-f3009e2ae8c0
      704d1c17
    • Nicolas Ballas's avatar
      New rle_encode function. · 7ef27acb
      Nicolas Ballas authored
      	* oln/core/encode,
      	* oln/core/encode/rle_encode.hh: New
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@873 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7ef27acb
    • Thierry Geraud's avatar
      Remove dead code. · 6c5bc437
      Thierry Geraud authored
      	* oln/core/abstract/image/hybrid/classical.hh,
      	* oln/core/abstract/image/type/binary.hh,
      	* oln/core/abstract/image/type/data.hh,
      	* oln/core/abstract/image/type/grey_level.hh,
      	* oln/core/abstract/image/type/integre.hh,
      	* oln/core/abstract/image/type/color.hh,
      	* oln/core/abstract/image/type/hierarchy.hh,
      	* oln/core/abstract/image/type/label.hh,
      	* oln/core/abstract/image/mutability/hierarchy.hh,
      	* oln/core/abstract/image/hierarchies.hh,
      	* oln/core/abstract/image/computability/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/dimension/hierarchy.hh,
      	* oln/core/abstract/image/all.hh,
      	* oln/core/abstract/image/neighborhood/hierarchy.hh,
      	* oln/core/abstract/image/point_wise_accessibility/hierarchy.hh,
      	* oln/core/abstract/image/bbox/hierarchy.hh,
      	* oln/core/abstract/image/value_wise_accessibility/hierarchy.hh,
      	* oln/core/abstract/fwd_decls.hh,
      	* oln/core/abstract/array.hh,
      	* oln/core/abstract/internal/image_impl.hh,
      	* 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_point_wise_random_accessible.hh,
      	* oln/core/automatic/image/image_being_value_wise_random_accessible.hh,
      	* oln/core/automatic/image/image_having_neighborhood.hh,
      	* oln/core/automatic/image/mutable_image.hh,
      	* oln/core/automatic/image/mutable_image1d.hh,
      	* oln/core/automatic/image/mutable_image2d.hh,
      	* oln/core/automatic/image/mutable_image3d.hh,
      	* oln/core/automatic/impl.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,
      	* oln/core/iterator_vtypes.hh,
      	* oln/core/spe/row.hh,
      	* oln/core/spe/col.hh,
      	* oln/core/spe/slice.hh,
      	* oln/core/type_fun/plain.hh,
      	* oln/core/type_fun/ch_value.hh,
      	* oln/core/type_fun/slice.hh: Remove files.
      
      	* oln/core/abstract/functions.hh: Rename as...
      	* oln/core/concept/functions.hh: ...this and update.
      	* oln/core/concept/image.hh: Add doc.
      	
      	* oln/core/abstract/image/hybrid,
      	* oln/core/abstract/image/type,
      	* oln/core/abstract/image/mutability,
      	* oln/core/abstract/image/computability,
      	* oln/core/abstract/image/dimension,
      	* oln/core/abstract/image/neighborhood,
      	* oln/core/abstract/image/point_wise_accessibility,
      	* oln/core/abstract/image/bbox,
      	* oln/core/abstract/image/value_wise_accessibility,
      	* oln/core/abstract/image,
      	* oln/core/abstract/internal,
      	* oln/core/abstract,
      	* oln/core/automatic/image,
      	* oln/core/automatic/topology,
      	* oln/core/spe,
      	* oln/core/type_fun: Remove directories.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@872 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6c5bc437
  7. 13 Mar, 2007 6 commits
    • Nicolas Ballas's avatar
      Change on rle_class. · 3a319cc5
      Nicolas Ballas authored
      	* static/doc/tiny/more_scoop_2/main.cc: .
      	* olena/ChangeLog: .
      	* olena/oln/core/rle/rle_image.hh: .
      	* olena/oln/core/rle/rle_psite.hh: .
      	* olena/oln/core/rle/rle_pset.hh: .
      	* metalic/mlc/bool.hh: .
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@871 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3a319cc5
    • 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
    • Thierry Geraud's avatar
      Add initialization material; extend point2d and box2d with it. · 6cbbd47d
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@868 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6cbbd47d
    • Thierry Geraud's avatar
      Tiny fix. · 43e75200
      Thierry Geraud authored
      	* mlc/typedef.hh (result): Rename as...
      	(result_): ...this; disambiguation.
      	* mlc/cmp.hh (assert_found_),
      	(assert_not_found_): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@867 4aad255d-cdde-0310-9447-f3009e2ae8c0
      43e75200
    • Thierry Geraud's avatar
      Add 1D classes and remove some dead code. · 21d16acf
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@866 4aad255d-cdde-0310-9447-f3009e2ae8c0
      21d16acf
  8. 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
  9. 11 Mar, 2007 1 commit
  10. 09 Mar, 2007 2 commits
    • Ugo Jardonnet's avatar
      Add test for neighborhood. · cb82d5a5
      Ugo Jardonnet authored
      	* tests/core/neighb2d.cc: New.
      	* tests/core/Makefile.am: .
      	* oln/core/automatic/impl.hh: .
      	* oln/core/abstract/internal/image_impl.hh: .
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@861 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cb82d5a5
    • Thierry Geraud's avatar
      Update tests. · 9296b4a9
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@860 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9296b4a9
  11. 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
  12. 07 Mar, 2007 1 commit
  13. 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
  14. 05 Mar, 2007 3 commits
    • 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
    • Thierry Geraud's avatar
      Update some abstractions and remove topology-related classes. · 5f554eed
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@845 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5f554eed
    • Thierry Geraud's avatar
      Cleaning point set classes. · 64b780e2
      Thierry Geraud authored
      	* 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.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@844 4aad255d-cdde-0310-9447-f3009e2ae8c0
      64b780e2