1. 25 Jun, 2014 1 commit
    • Roland Levillain's avatar
      Convert Milena to UTF-8. · 0a4c6e4b
      Roland Levillain authored
      	* mln/accu/shape/volume.hh,
      	* mln/core/concept/point_site.hh,
      	* mln/morpho/watershed/flooding.hh,
      	* mln/topo/skeleton/breadth_first_thinning.hh,
      	* mln/topo/skeleton/priority_driven_thinning.hh:
      	Here.
      	* tests/core/image/complex_image.cc,
      	* tests/core/image/complex_image.hh,
      	* tests/core/site_set/p_complex.cc,
      	* tests/make/attachment.cc,
      	* tests/make/detachment.cc,
      	* tests/morpho/complex_image_morpho.cc,
      	* tests/topo/complex.cc,
      	* tests/topo/is_facet.cc,
      	* apps/morphers/iz.cc:
      	Replace extended characters to convert to plain ASCII.
      	* mln/io/pdf/get_header.hh (mln::io::pdf::pdf_header::pdf_header):
      	Generate UTF-8 metadata.
      	* doc/Doxyfile.in (INPUT_ENCODING): Set to UTF-8.
      0a4c6e4b
  2. 24 Jun, 2014 1 commit
  3. 23 May, 2014 1 commit
  4. 22 May, 2014 2 commits
  5. 20 May, 2014 1 commit
  6. 02 Apr, 2014 1 commit
  7. 24 Feb, 2014 1 commit
  8. 22 Oct, 2013 1 commit
  9. 09 Oct, 2013 7 commits
  10. 06 Sep, 2013 2 commits
  11. 30 Aug, 2013 22 commits
    • Roland Levillain's avatar
      Make remaining Milena copyright headers uniform. · 917fa3dc
      Roland Levillain authored
      	* apps/generic-skel/image2d-skel-unconstrained.cc,
      	* apps/generic-skel/image2d-skel-with-end-points.cc,
      	* apps/mesh-segm-skel/mesh-complex-2-collapse.cc,
      	* apps/mesh-segm-skel/mesh-complex-max-curv-1-collapse.cc,
      	* apps/mesh-segm-skel/mesh-complex-max-curv-2-collapse.cc,
      	* apps/mesh-segm-skel/mesh-complex-max-curv-extrema.cc,
      	* apps/mesh-segm-skel/mesh-complex-max-curv-skel.cc,
      	* apps/mesh-segm-skel/mesh-complex-pinv-curv-segm.cc,
      	* apps/mesh-segm-skel/mesh-complex-pinv-curv-skel.cc,
      	* apps/mesh-segm-skel/off-to-vtk-bin.cc,
      	* mln/topo/is_not_1d_isthmus.hh,
      	* mln/topo/is_not_end_point.hh:
      	Here.
      917fa3dc
    • Roland Levillain's avatar
      Kill warnings about unused variables. · e20e4109
      Roland Levillain authored
      	* mln/io/vtk/save.hh,
      	* tools/connectivity_numbers_3d_tbb.hh,
      	* tools/simple_point3d_lut_tbb.hh:
      	Here.
      e20e4109
    • Roland Levillain's avatar
      Kill warnings about signed vs unsigned values. · bdade6e5
      Roland Levillain authored
      	* mln/topo/is_not_1d_isthmus.hh
      	(mln::topo::is_not_1d_isthmus<I, N>::operator()): Here.
      bdade6e5
    • Roland Levillain's avatar
      Convert remaining Milena code to mln_trace. · 5028921e
      Roland Levillain authored
      	* doc/examples/devel/facade.cc.raw,
      	* doc/examples/devel/impl.cc.raw,
      	* mln/io/vtk/save.hh,
      	* mln/topo/skeleton/breadth_first_thinning.hh,
      	* mln/topo/skeleton/priority_driven_thinning.hh,
      	* new-header:
      	Here.
      5028921e
    • Roland Levillain's avatar
      Introduce a no-constraint functor to replace fun::p2b::tautology. · fe72eddb
      Roland Levillain authored
      	* mln/fun/p2b/antilogy.hh,
      	* mln/fun/p2b/tautology.hh:
      	Do not include mln/core/alias/point2d.hh.
      	* mln/topo/no_constraint.hh: New file.
      	* mln/topo/skeleton/breadth_first_thinning.hh,
      	* mln/topo/skeleton/priority_driven_thinning.hh:
      	Use mln::topo::no_constraint instead of mln::fun::p2b::tautology.
      	Do not include the standard header `algorithm'.
      	* headers.mk, tests/unit_test/unit-tests.mk: Regen.
      fe72eddb
    • Roland Levillain's avatar
      Factor code of 2D skeletonizations in apps/generic-skel/. · 91582ecb
      Roland Levillain authored
      	* mln/topo/is_not_end_point.hh: s/nbh/nbh_fg/.
      	(is_not_end_point<I, N>::is_not_end_point(const Neighborhood<N>&)):
      	New ctor.
      	(is_not_end_point<I, N>::set_image): New method.
      	(is_not_end_point<I, N>::ima_): Turn this reference into a pointer.
      	Adjust.
      	* mln/topo/is_simple_point2d.hh
      	(mln::topo::is_simple_point2d<I, N>::operator())
      	* mln/topo/detach_point.hh
      	(mln::topo::detach_point<I>::operator()):
      	Add preconditions.
      	* apps/generic-skel/image2d-skel-with-end-points.cc:
      	Use `mln::topo::is_simple_point2d' and `mln:: topo::detach_point'
      	from mln/topo/, instead of `is_simple_2d' and `detach' from
      	image2d-skel.hh
      	* apps/generic-skel/image2d-skel-unconstrained.cc: Likewise.
      	Remove the (lack of) constraint, as
      	mln::topo::skeleton::breadth_first_thinning already takes care of
      	this.
      	* apps/generic-skel/image2d-skel.hh: Remove.
      	* apps/generic-skel/Makefile.am
      	(image2d_skel_unconstrained_SOURCES)
      	(image2d_skel_with_end_points_SOURCES):
      	Remove image2d-skel.hh.
      91582ecb
    • Roland Levillain's avatar
      Add a non 1D isthmus predicate for (2D and 3D) binary images. · 66dc444e
      Roland Levillain authored
      	* mln/topo/is_not_1d_isthmus.hh: New.
      	* headers.mk, tests/unit_test/unit-tests.mk: Regen.
      66dc444e
    • Roland Levillain's avatar
      Fix and improve the (fast) computation of 2D connectivity numbers. · 5d26c00a
      Roland Levillain authored
      	* mln/topo/is_simple_2d.hh (mln::connectivity_number_2d): Create
      	the configuration number by considering that the first (resp.
      	last) neighbors (in the forward browsing order) represent the
      	least (resp. most) significant bits of the configuration number,
      	as does the algorithm that computed the 8-c and 4-c LUTs (arrays
      	mln::connectivity_number_c8 and mln::connectivity_number_c4).
      	* mln/topo/connectivity_number_2d.hh: New.
      	* mln/topo/is_simple_point2d.hh: Fix dates in copyright header.
      	* tests/topo/connectivity_numbers_2d.cc: New.
      	* tests/topo/Makefile.am (check_PROGRAMS):
      	Add connectivity_numbers_2d.
      	(connectivity_numbers_2d_SOURCES): New.
      5d26c00a
    • Roland Levillain's avatar
      Use package metadata macros instead of hard-coded strings in I/Os. · 7044058a
      Roland Levillain authored
      	* mln/io/fld/write_header.hh (mln::io::fld::write_header)
      	* mln/io/off/save.hh
      	(mln::io::off::internal::off_saver<I, E>::operator())
      	* mln/io/pnm/save_header.hh (mln::io::pnm::save_header)
      	* mln/io/vtk/save.hh
      	(mln::io::vtk::internal::vtk_saver<I, E>::operator()):
      	Here.
      	* mln/version.hh.in (OLN_PACKAGE_URL, OLN_PACKAGE_AUTHORS):
      	New macros.
      7044058a
    • Roland Levillain's avatar
      No longer consider mln/version.hh.in as handled by autoheader. · c7b2885c
      Roland Levillain authored
      	* mln/version.hh.in (OLN_PACKAGE_BUGREPORT, OLN_PACKAGE_NAME)
      	(OLN_PACKAGE_STRING, OLN_PACKAGE_VERSION): Define these macros
      	using "@PACKAGE_BUGREPORT@", "@PACKAGE_NAME@", "@PACKAGE_STRING@"
      	and "@PACKAGE_VERSION@".
      c7b2885c
    • Roland Levillain's avatar
      Set connectivity number functions when building is_simple_point3d. · b815f9e2
      Roland Levillain authored
      	* mln/topo/is_simple_point3d.hh
      	(mln::topo::is_simple_point3d<I, N>::init_): New method.
      	(connectivity_number_fun_t): New (private) typedef.
      	(connectivity_number_fg, connectivity_number_bg):
      	New (private) members.
      	Initialize them...
      	(mln::topo::is_simple_point3d<I, N>::is_simple_point3d):
      	...from the ctors, using init_().
      b815f9e2
    • Roland Levillain's avatar
      Fix, factor and improve the (exact) simple 3D point criterion. · c54ade05
      Roland Levillain authored
      	* mln/topo/is_simple_point3d.hh
      	(mln::topo::is_simple_point3d<I, N>::operator()):
      	Honor the neighborhoods.
      	Use the new routines to compute the connectivity numbers instead
      	of computing them directly.
      c54ade05
    • Roland Levillain's avatar
      Add routines to compute 3D connectivity numbers. · e3d31288
      Roland Levillain authored
      	* mln/topo/connectivity_number_3d.hh: New.
      	* headers.mk, tests/unit_test/unit-tests.mk: Regen.
      e3d31288
    • Roland Levillain's avatar
      Add a first version of a simple 3D point predicate. · a746768a
      Roland Levillain authored
      	* mln/topo/is_simple_point3d.hh: New.
      a746768a
    • Roland Levillain's avatar
      Improve mln::topo::is_simple_2d_t. · 5f10622a
      Roland Levillain authored
      	* mln/topo/is_simple_2d.hh
      	(mln::topo::is_simple_2d_t<N>::nb_connectivity2d):
      	(mln::topo::is_simple_2d_t<N>::nb_connectivity2d__):
      	Use a more reliable method to identify the neighborhood.
      	* mln/topo/is_simple_point2d.hh: Typo in comment.
      5f10622a
    • Roland Levillain's avatar
      Reintroduce is_simple_2d and connectivity_number_2d into mln::topo. · 8a48d807
      Roland Levillain authored
      	* mln/topo/is_simple_2d.hh (mln::topo::is_simple_2d)
      	(mln::topo::connectivity_number_2d):
      	New.
      	* apps/generic-skel/image2d-skel.hh (is_simple_2d::operator()):
      	Adjust.
      8a48d807
    • Roland Levillain's avatar
      Miscellaneous changes in mesh-related operations. · ae5b2f20
      Roland Levillain authored
      	* mln/topo/is_simple_cell.hh: Add static preconditions.
      	Reduce the number of pointer manipulations.
      	Aesthetic changes.
      	* mln/topo/detach_cell.hh: Move a static precondition.
      	Aesthetic changes.
      	* mln/io/vtk/save.hh: Cosmetic changes.
      ae5b2f20
    • Roland Levillain's avatar
      Prevent a site from being introduced twice in thinning's queues. · b97c12ae
      Roland Levillain authored
      	* mln/topo/skeleton/breadth_first_thinning.hh,
      	* mln/topo/skeleton/priority_driven_thinning.hh:
      	Use an image `in_queue' to tag sites inserted in the queue.
      b97c12ae
    • Roland Levillain's avatar
      Add routines to identify and detach (collapse) simple pairs. · 6cb33ef7
      Roland Levillain authored
      	* mln/topo/is_simple_pair.hh,
      	* mln/topo/detach_pair.hh:
      	New.
      	* tests/topo/is_simple_pair.cc,
      	* tests/topo/detach_pair.cc:
      	New tests.
      	* tests/topo/Makefile.am (check_PROGRAMS): Add is_simple_pair and
      	detach_pair.
      	(detach_pair_SOURCES, is_simple_pair_SOURCES): New.
      	(MOSTLYCLEANFILES): New.  Add detach_pair-out.vtk.
      6cb33ef7
    • Roland Levillain's avatar
      Add preliminary VTK input for binary images. · 2bc617f4
      Roland Levillain authored
      	* mln/io/vtk/load.hh: New file.
      	Include it...
      	* mln/io/vtk/all.hh: ...here.
      	* tests/io/vtk/load_bin.cc,
      	* tests/io/vtk/load_save_bin.cc:
      	New.
      	* tests/io/vtk/Makefile.am (check_PROGRAMS): Add load_bin and
      	load_save_bin.
      	(load_bin_SOURCES, load_save_bin_SOURCES): New.
      	(MOSTLYCLEANFILES): Add load_save_bin-out.vtk.
      2bc617f4
    • Roland Levillain's avatar
      Add a pre-allocation routine to mln::geom::complex_geometry. · e52aac02
      Roland Levillain authored
      	* mln/geom/complex_geometry.hh
      	(mln::geom::complex_geometry<D, P>::reserve): New.
      	Use it...
      	* mln/io/off/load.hh: ...here.
      	Aesthetic changes.
      e52aac02
    • Roland Levillain's avatar
      New complex image alias: mln::bin_2complex_image2d. · e3799361
      Roland Levillain authored
      	* mln/core/alias/complex_image.hh (mln::bin_2complex_image2d):
      	New typedef.
      e3799361