Skip to content

Latest commit

 

History

History
2495 lines (2081 loc) · 116 KB

ChangeLog.md

File metadata and controls

2495 lines (2081 loc) · 116 KB

DGtal 1.4beta

New features / critical changes

  • General
    • Major update: C++17 is now required for DGtal. (David Coeurjolly, #1682)
    • Mandatory dependencies and some optional ones can be setup by conan.io, especially on windows, new ENABLE_CONAN cmake option to activate this. (David Coeurjolly, #1689)

Changes

  • IO

    • New method to change the mode of the light position in Viewer3D (fixed to camera or the scene) (Bertrand Kerautret, #1683)
    • Add a new method to store material information in obj file in MeshReader and MeshWriter. (Bertrand Kerautret, #1686)
  • Github

    • New /builddoc and /fullbuild commands on PR comments (David Coeurjolly, #1683)
    • Continuous integration on windows is now performed by Github Action instead of Appeveyor (David Coeurjolly, #1689)

Bug fixes

  • General

    • Fix of couple of doxygen warnings that cause errors on Github Actions CI bots. (David Coeurjolly, #1672)
    • Removing "WITH_BENCHMARK" option as Google Benchmark is already included when building the unit tests. (David Coeurjolly, #1674)
    • Removing unnecessary includes to speed-up compilation (David Coeurjolly, #1680)
    • Upgrading pybind11 to v2.9 or python binding (David Coeurjolly, #1685)
    • Many warning fixed (due to c++17 upgrade. (David Coeurjolly, #1691)
    • WITH_COVERAGE option removed. (David Coeurjolly, #1691)
  • Topology package

    • Fix KhalimskySpaceND to get it work with BigInteger (Tristan Roussillon, #1681
  • Geometry package

    • Fix Issue #1676 in testStabbingCircleComputer (Tristan Roussillon, #1688
  • IO

    • Fix of the getHSV method in the Color class. (David Coeurjolly, #1674)
  • Examples

    • Fix Issue #1675, add missing SymmetricConvexExpander.h file (Jacques-Olivier Lachaud, #1675)

DGtal 1.3

New features / critical changes

  • General

    • A Dockerfile is added to create a Docker image to have a base to start development using the DGtal library.(J. Miguel Salazar #1580)
    • Continuous integration does not use Travis anymore but Github Actions. (David Coeurjolly, #1591)
    • Examples are not built anymore by default (BUILD_EXAMPLES now set to OFF by default). (David Coeurjolly, #1630)
  • Geometry package

    • Improve lattice polytope count operations and provide many new services related to full convexity, like computing the (relative or not) fully convex envelope, and building digital polyhedra. (Jacques-Olivier Lachaud, #1656)
    • Add curvature measures computation on 3D surface mesh: implements Normal Cycle, face-constant Corrected Normal Current and vertex-interpolated Corrected Normal Current. (Jacques-Olivier Lachaud,#1617)
    • Completes the digital convexity module with new functions related to full convexity: check of full convexity for arbitrary digital sets in nD, and helper classes for using full convexity in practice (local geometric analysis, tangency and shortest paths) (Jacques-Olivier Lachaud,#1594)
    • New VoronoiMapComplete class to store the full Voronoi map (with all co-cycling sites (Robin Lamy, David Coeurjolly, Isabelle Sivignon #1605)
  • DEC

    • New discrete differential operators on polygonal meshes have been added. They can be used to process generic polygonal meshes (with non-planar, non-convex faces) or digital surfaces. (David Coeurjolly, #1603
    • New class to compute geodesics on polygonal surfaces using the Geodesics in Heat approach and the new differential operators on polygonal surfaces (digital surfaces, or any PolygonalMesh instance) (David Coeurjolly, #1603
      • Updates to PolygonalCalculus: changing sign convention, fix some Eigen problems, add Dirichlet boundary conditions, update discrete differential calculus examples (Jacques-Olivier Lachaud, #1643)
      • Updates to PolygonalCalculus: adding vector field operators (mainly covariant gradient and covariant projection as well as Connection-Laplacian). Also adding two more examples: harmonic parametrization and vectors in heat method. (Baptiste Genest, David Coeurjolly, #1646)
  • Mathematical Package

    • Add Lagrange polynomials and Lagrange interpolation (Jacques-Olivier Lachaud, #1594)
  • Topology

    • New helper methods to retrieve the interior/exterior voxel of a given surfel (signed cell of a Khalimksy space). (David Coeurjolly, #1631)
  • I/O

    • Imagemagick dependency and related classes. Image file format (png, jpg, tga, bmp, gif) are now included in the DGtal core using stb_image.h and stb_image_write.h. (David Coeurjolly, #1648)

Changes

  • Image

    • Bugfix in the SpaceND and HyperRectDomain classes to allow very large extent (e.g. >$1024^3$) (David Coeurjolly, #1636)
    • Improved ITK image selection in ImageSelector and add ITK xx.gz an other format support. New option to keep set domain or to compute current bounding box of elements of the set in ImageFromSet. (Bertrand Kerautret, #1633)
    • Improved MeshReader for .off format in order to take into account more comments and other header code used in CGAL. (Bertrand Kerautret, #1653 and #1654)
  • IO

    • Add Obj format in MeshReader including colors and fixing obj format read with relative face position. (Bertrand Kerautret, #1584)
    • Move static private HSVtoRGB and RGBtoHSV functions in Color class (public) and new setters/getters from/to HSV (Python binding updated) (Bertrand Kerautret, Phuc Ngo and David Coeurjolly #1593)
  • Geometry

    • Small fix for shortest paths computation, which could sometimes output several times the same node. Add tests and examples. (Jacques-Olivier Lachaud, #1644)
    • First and second curvature directions were inverted in the IIPrincipalCurvaturesAndDirectionsFunctor, fixed now. (David Coeurjolly, #1657)
    • Renaming getVoronoiVector to getVoronoiSite in the DistanceTransformation class. (David Coeurjolly, #1660)
  • Kernel

    • New constructor in Point2DEmbedderIn3D to explicitly orient the image plane and new shift method to avoid recomputing orientation plane. (Bertrand Kerautret #1619)
  • Build

    • New cmake targets to collect cmake, doxygen and markdown files (David Coeurjolly, #1609)
    • Continuous integration does not use Travis anymore but Github Actions. (David Coeurjolly, #1591)
    • New cmake option (DGTAL_RANDOMIZED_TESTING_THRESHOLD) to set the (approximated) % of unit-tests to build and run for randomized testing (David Coeurjolly #1588)
    • Fix missing whitelist for the unit-tests in relation to PR #1591) (Bertrand Kerautret #1595)
    • Fix cmake related ITK usage in other projects (issue #1612). (Bertrand Kerautret and Pablo Hernandez-Cerdan #1613)
    • Adding ITK in Github Actions CI on linux distribution. (Bertrand Kerautret #1615)
    • New variable in the Github Action script to disable some tests (not working in the bots) (David Coeurjolly, #1635)
    • Google benchmark is now fetched when building the unit tests (using Fetch_Content) (David Coeurjolly, #1651)
    • Add new cmake option to avoid linking errors related to STB image library (like LNK2005 in MSVC). (Bertrand Kerautret, #1666)

Bug fixes

  • General

    • Fixing OpenMP dependency on macOS when using the DGtalConfig.cmake (David Coeurjolly, #1578)
    • Various warnings / deprecated functions (David Coeurjolly, #1583
    • Removing old snapshot of catch.hpp. Now DGtal compiles on Apple M1 (David Coeurjolly, #1590
    • Fix cmake IN_LIST use policy. (Bertrand Kerautret, #1592)
    • Adding a explicit list of tests to exclude from Github Actions (David Coeurjolly, #1596)
    • Fixing bugs in the exclude list for CI (David Coeurjolly, #1602)
    • Reactivating Github Actions bots (David Coeurjolly, #1628)
    • OpenMP fix in DGtalConfig on macOS M1 (David Coeurjolly, #1641)
    • New doxygen settings to reduce diagram generation (David Coeurjolly, #1663)
  • Examples

    • We can now have examples using polyscope as viewer (BUILD_POLYSCOPE_EXAMPLES cmake variable). (David Coeurjolly, #1603)
  • IO

    • Faster export of OBJ files. (David Coeurjolly, #1608
    • Fixing bugs in writing Longvol from GenericWriter and tests. (Bertrand Kerautret, #1610
    • Fix compilation issue in MeshReader compilation. (Bertrand Kerautret, #1611
    • Minor fixes in VolReader and LongVolReader to be able to load large vol files. (David Coeurjolly, #1637)
    • Fix LongVolReader that fails to read large values. It was why testLongvol and testCompressedVolWriter were failing on some configurations. (Roland Denis, #1638)
    • Fix missing #include<map> in MeshReaeder (Jeremy Fix, #1649)
    • Fix purple color. (Bertrand Kerautret and Phuc Ngo #1579)
  • Geometry package

    • The following changes have been made to fix a bug in examplePlaneProbingSurfaceLocalEstimator:
      • in PlaneProbingDigitalSurfaceLocalEstimator, the method probingFrameWithPreEstimation now returns a pair bool-frame instead of just a frame, in order to tell whether the frame will lead to a valid initialization or not. The method eval now uses this boolean value and returns the trivial normal vector if it has been set to 'False'.
      • in PlaneProbingParallelepipedEstimator: isValid does not call the isValid method of the delegate, but only checks the relevant parts (which have been pushed in to separate methods). (Tristan Roussillon, #1607)
    • Fixing issue with the automatic deploy of the "nightly" documentation. (David Coeurjolly, #1620)
    • Fix issue on computeHullThickness by adding angle tolerance to detect co-linearity vectors. (Bertrand Kerautret, #1647)
  • DEC

    • More DEC examples can be built without QGLViewer (they didn't need it). (David Coeurjolly, #1642)
    • Improving PolygonalCalculus and VectorHeatMethod for vector field processing on non-manifold surfaces. (David Coeurjolly, #1659)
  • graph

    • Fix warning related to copy assignment in class DistanceBreadthFirstVisitor (Jacques-Olivier Lachaud, #1662)

DGtal 1.2

New Features / Critical Changes

  • New Feature

    • DGtal now has a python binding pip install dgtal! For all details on the list of classes available in python, you can have a look to: Pablo Hernandez-Cerdan #1528
  • Geometry Package

    • New normal vector estimation using plane-probing approaches. (Jocelyn Meyron, Tristan Roussillon, #1547)
    • New normal vector estimation using slices of digital surfaces and maximal segment computation (Jocelyn Meyron, Tristan Roussillon, #1547)
    • Add an implementation of the Quick Hull convex hull algorithm. It works in arbitrary dimension. It provides several kernels to deal with lattice or rational points, and also to compute the Delaunay cell complex. (Jacques-Olivier Lachaud,#1539)

Changes

  • Project

    • Add azure-pipelines in wrap folder to kickstart python wrappings (Pablo Hernandez-Cerdan #1529)
    • Modernize CMake: Avoid global includes and links, use target_ commands instead (Pablo Hernandez-Cerdan, David Coeurjolly #1524)
    • Modernize CMake: Prefer use targets rather than directories and libraries (Pablo Hernandez-Cerdan #1543)
    • Add python wrappings using pybind11. Check wrap/README.md for details. (Pablo Hernandez-Cerdan #1543)
  • Documentation

    • Fix typos in blurred segment equation (Phuc Ngo, #1561)
    • Fix some small errors : includes, variable names, code example (adrien Krähenbühl, #1525)
    • Fix doxygen errors in DigitalConvexity, SurfaceMesh (Pablo Hernandez-Cerdan #1534)
    • Fix CSS errors in doxygen (Jérémy Levallois, #1546)
  • General

    • Only set CMAKE_CXX_STANDARD if not defined already (Pablo Hernandez-Cerdan #1526)
    • Add container() member function to DigitalSets and ImageContainers (Pablo Hernandez-Cerdan #1532)
  • Arithmetic

    • Add default constructor to ClosedIntegerHalfSpace (Jacques-Olivier Lachaud,#1531)
  • IO

    • Fix Color::getRGBA (Pablo Hernandez-Cerdan #1535)
    • Adding Quad exports in Board3DTo2D (David Coeurjolly, #1537)
    • Adding spacing in ImageContainerByITKImage and the possibility to export it through ITKWriter. (Bertrand Kerautret #1563)

Bug fixes

  • Documentation

    • Removing collaboration graphs in doxygen. Fixing doxygen warnings (David Coeurjolly, #1537)
    • Fixing the homebrew command for building on macOS (Jérémy Levallois, #1560)
  • IO

    • Removing the default grey background and raising an error if CAIRO has not between set for the Board3DTo2D export (David Coeurjolly, #1537)
  • Geometry

    • Small fixes and updates in BoundedLatticePolytope and BoundedRationalPolytope initialization when using half-spaces initialization (Jacques-Olivier Lachaud,#1538)
    • Fix BoundedLatticePolytope::init when using half-spaces initialization (Jacques-Olivier Lachaud,#1531)
    • Fix an issue in DigitalSurfaceRegularization about bad buffer init (David Coeurjolly, #1548)
    • Fix issue #1552 about a plane-probing unit test taking too long (Jocelyn Meyron, #1553)
    • Fix issue #1566: do not compile example checkLatticeBallQuickHull if WITH_GMP is not set (Jacques-Olivier Lachaud,#1567)
    • Fix AppVeyor issue on PlaneProbingParallelepipedEstimator and PlaneProbingRNeighborhood (Bertrand Kerautret, #1568)
  • Shapes package

    • Fix the use of uninitialized variable in NGon2D. (Daniel Antunes,#1540)
  • Build

    • We now use cmake Fetch_Content to download the stable release of Catch2 (used in our unit-tests) when building the project (David Coeurjolly #1524)
    • Fixing the required components for CGAL (David Coeurjolly, #1550)
    • Speedup of the compilation of the tests that rely on Catch2 (Roland Denis #1551)
    • Comply with cmake Policy CMP0115 "Source file extensions must be explicit". (David Coeurjolly, #1557)
    • Fix AppVeyor issue using new zlib URL. (Bertrand Kerautret, #1571)

DGtal 1.1

New Features / Critical Changes

  • Project

    • For this release, we have cleaned up the git history (using bfg), removing old deprecated files or commit errors. For a complete description, please follow the discussion of Issue #1477. If you are doing a clean git clone of the project, or use the release archive, everything should be fine. If you have branches on the release 1.1beta, you would need to reset your current working copy. For instance, if you have cloned the DGtal-team/DGtal repository, just reset your master branch using:

      git fetch origin
      git reset --hard origin/master
      

      If you have cloned a fork of DGtal-team/DGtal (i.e. the origin remote correspond to your fork and not the DGtal-team one), Fetch the DGtal-team remote (nammed DGtal here):

      git fetch DGtal
      git reset --hard DGtal/master
      

      For advanced developers If there are some branches out there you want to "update" to the new history: First go to unmerged branch and copy the SHA of the commits you want to get. Or, if they are consecutive, copy the oldest and newest SHA.

      git checkout master #Updated to new history
      git checkout -b myOpenPR_after_new_history
      git cherry-pick oldestSha^..newestSha
      

      (David Coeurjolly, #1510)

  • Kernel package

    • Making HyperRectDomain_(sub)Iterator random-access iterators (allowing parallel scans of the domain, Roland Denis, #1416)
    • Fix bug in BasicDomainSubSampler for negative coordinates of the domain lower bound. (Bertrand Kerautret #1504)
  • DEC

    • Add discrete calculus model of Ambrosio-Tortorelli functional in order to make piecewise-smooth approximations of scalar or vector fields onto 2D domains like 2D images or digital surfaces (Jacques-Olivier Lachaud,#1421)
  • Geometry Package

    • New piecewise smooth digital surface regularization class (David Coeurjolly, #1440)
    • Provides support for digital full convexity and subconvexity (Jacques-Olivier Lachaud, #1459)
    • Implementation of Shrouds algorithm for smoothing digital surfaces: Nielson et al., Shrouds: optimal separating surfaces for enumerated volumes. In Proc. VisSym 2003, vol. 3, pp. 75-84 (Jacques-Olivier Lachaud, #1500)
    • Updates cell geometry and digital convexity to use specialized unordered set data structure UnorderedSetByBlock for storing digital points (Jacques-Olivier Lachaud, #1499)
  • Shapes package

    • Add a new surface mesh representation for manifold or non-manifold polygonal surfaces in R^3 (Jacques-Olivier Lachaud, #1503)

Changes

  • General

    • DGtal can be compiled and used as a project (git) submodule (David Coeurjolly #1444)
    • Add .gitattributes file for github to recognize ih files as c++ (Pablo Hernandez-Cerdan #1457)
    • Add CMake option DGTAL_ENABLE_FLOATING_POINT_EXCEPTIONS to control enabling feenableexcept (only applies in Linux when in Debug mode). (Pablo Hernandez-Cerdan, #1489)
    • Travis: Fix broken Eigen url. Update Eigen in travis to 3.3.7. (Pablo Hernandez, #1508)
  • Geometry

    • New Integral Invariant functor to retrieve the curvature tensor (principal curvature directions and values). (David Coeurjolly, #1460)
    • Add principal directions of curvature functions for implicit polynomial 3D shapes. (Jacques-Olivier Lachaud,#1470)
  • io

    • The GenericWriter can now export in 3D ITK format (nii, mha, mhd, tiff).
      (Bertrand Kerautret #1485)
    • New Viridis ColorGradientPreset and clean of useless template specializations in the GenericWriter for color image. (Bertrand Kerautret #1487)
    • Add the possibility to import images with a shifted domain in ITKReader. (Bertrand Kerautret and Pablo Hernandez-Cerdan #1492)
  • Kernel package

    • Add .data() function to PointVector to expose internal array data. (Pablo Hernandez-Cerdan, #1452)
    • Add a specialized unordered set data structure UnorderedSetByBlock for storing digital points, which is more compact and as efficient as unordered set (Jacques-Olivier Lachaud,#1499)
  • Helpers

    • Add vector field output as OBJ to module Shortcuts (Jacques-Olivier Lachaud, #1412)
    • Add shortcuts to Ambrosio-Tortorelli piecewise-smooth approximation (Jacques-Olivier Lachaud,#1421)
    • Add output as OFF to module Shortcuts (Bertrand Kerautret, #1476)
    • Add shortcuts to principal curvatures and directions of curvature for implicit polynomial 3D shapes. (Jacques-Olivier Lachaud,#1470)
  • Tests

    • Upgrade of the unit-test framework (Catch) to the latest release Catch2. (David Coeurjolly #1418) (Roland Denis #1419)
  • Topology

    • Provides partial flip, split and merge operations for half-edge data structures and triangulated surfaces (Jacques-Olivier Lachaud, #1428)
    • Makes testVoxelComplex faster, reducing the size of the test fixture (Pablo Hernandez-Cerdan, #1451)
    • Fix bug in VoxelComplex masks when cell was at the boundary of kspace (Pablo Hernandez-Cerdan, #1488)
    • Fix loadTable not able to read compressed tables in Windows (Pablo Hernandez-Cerdan, #1505)
    • Fix fillData in CubicalComplex (Pablo Hernandez-Cerdan, #1519)
  • Shapes package

    • Add a moveTo(const RealPoint& point) method to implicit and star shapes (Adrien Krähenbühl, #1414)
    • Fix Lemniscate definition following Bernoulli's definition (Adrien Krähenbühl, #1427)
    • Homogenizes typedefs of all parametric shapes and fixes some bounding box computations (Adrien Krähenbühl, #1462)
    • Add const directives to some curve estimators on shapes. (Adrien Krähenbühl #1429)
  • IO

    • When the 3D built-in viewer is enabled (libqglviewer), the default required Qt version is now Qt5 instead of Qt4. You can revert to Qt4 by unsetting the WITH_QT5 cmake flag (David Coeurjolly, #1511)

Bug Fixes

  • Configuration/General

    • Fix compilation error/warnings with gcc 9.1.1 and clang 9.0 (Boris Mansencal, #1431)
    • Disable some gcc/clang warnings in Qt5 raised by Apple clang compiler (David Coeurjolly, #1436)
    • Fixing Travis configuration due to syntax changes in v2 (Roland Denis, #1465)
    • Compression of png files used in for the documentation (preparing 1.1 release), (David Coeurjolly, #1494)
    • Fix CMAKE_C_FLAGS when WITH_OPENMP=ON (Pablo Hernandez-Cerdan, #1495)
  • Mathematics

    • Put SimpleMatrix * scalar operation in DGtal namespace (Jacques-Olivier Lachaud, #1412)
  • Geometry

    • Bugfix in the testVoronoiCovarianceMeasureOnSurface (David Coeurjolly, #1439)
    • Defining StandardDSS4Computer & NaiveDSS8Computer as templated aliases of ArithmeticalDSSComputer (fix #1483). Also fixing NaiveDSS8 adjacency. (Roland Denis, #1491)
    • Fix initialisation in BoundedLatticePolytope when creating non full dimensional simplices in 3D (segments, triangles). (Jacques-Olivier Lachaud, #1502)
  • Kernel

    • Point2DEmbedderIn3D edit to recover behavior of version 0.9.4 in the origin point placement. (Florian Delconte and Bertrand Kerautret #1520)
  • Helpers

    • Fix Metric problem due to implicit RealPoint toward Point conversion when computing convolved trivial normals in ShortcutsGeometry (Jacques-Olivier Lachaud, #1412)
    • Fixing double conversion bug in class Parameters, related to English/French decimal point inconsistency between atof and boost::program_options (Jacques-Olivier Lachaud, #1411)
    • Fix bug in Shortcuts::saveVectorFieldOBJ (Jacques-Olivier Lachaud,#1421)
    • Fixing OBJ export: .mtl file written with relative path (Johanna Delanoy #1420)
    • Unify pointel ordering in Shortcuts and MeshHelper so that Shortcuts::getPointelRange, Shortcuts::saveOBJ and Shortcuts::makePrimalPolygonalSurface, as well as MeshHelpers::digitalSurface2PrimalPolygonalSurface, all use the CCW ordering by default (in 3D). (Jacques-Olivier Lachaud,#1445)
  • images

    • Fix the image origin that was not taken into account in class ImageContainerByITKImage. (Bertrand Kerautret #1484)
    • Add domainShift to ImageContainerByITKImage. (Pablo Hernandez-Cerdan, #1490)
  • IO

    • Removing a using namespace std; in the Viewer3D hearder file. (David Coeurjolly #1413)
    • Fixing cast from const to mutable iterator in GradientColorMap. (Roland Denis #1486)
  • Topology

    • Add missing constraint to flips in HalfEdgeDataStructure (Jacques-Olivier Lachaud,#1498)
  • Shapes

    • Fix bug in Astroid parameter() method : orientation correction (Adrien Krähenbühl, #1325)
    • Add missing constraint to flips in TriangulatedSurface (Jacques-Olivier Lachaud,#1498)
  • DEC

    • Fix issue (DGtal-team#1441) related to bad link in DEC/moduleAT documentation and missing associated example exampleSurfaceATnormals.cpp (Jacques-Olivier Lachaud,#1442
    • Adding missing LGPL headers in the DEC examples (David Coeurjolly #1472
  • Documentation

    • Promoting the Shortcuts documentation page on the main page. (David Coeurjolly #1417)
    • Fixing the doxyfiles to have the table of contents of module pages (David Coeurjolly #1424)
    • New illustration in the volumetric analysis documentation page (David Coeurjolly #1432)
    • Using SourceForge to download doxygen sources during Travis CI jobs. (Roland Denis #1424)
    • CSS edit to enhance the readability of code snippets (David Coeurjolly #1438)
    • Fixing various links in moduleCellularTopology. Fixing #1454. Removing dead links to ImaGene project. (Roland Denis #1455)
  • Build

    • Fix issue (DGtal-team#1478), that is a Visual Studio 2019 build error related to befriend template specializations (Jacques-Olivier Lachaud #1481)
    • Removing the homemade CPP11 checks, using cmake macro instead (David Coeurjolly, #1446)
    • Removes the check for CPP11 when building WITH_ITK (Pablo Hernandez-Cerdan, #1453)
    • Fix apple clang compilation issue with a workaround to the ConstIteratorAdapter class that does not satisfy the _is_forward concept of the STL: using boost::first_max_element instead std::max_element. (Bertrand Kerautret, #1437)
    • Abort compilation at configure time when the compiler is gcc 10.1 due to compiler bug. Fix issue #1501. (Pablo Hernandez-Cerdan, #1506)

DGtal 1.0

New Features / Critical Changes

  • Base package

    • Adding FunctorHolder to transform any callable object (e.g. function, functor, lambda function,...) into a valid DGtal functor. (Roland Denis, #1332)
    • Adding better checks for floating point arithmetic in the test module (Kacper Pluta, #1352)
  • Documentation

    • Module page about functions, functors and lambdas in DGtal. (Roland Denis, #1332)
  • Image package

    • Adding ConstImageFunctorHolder to transform any callable object (e.g. function, functor, lambda function,...) into a CConstImage model. (Roland Denis, #1332)
    • RigidTransformation2D/3D depends on a vector functor that can be, for example, VectorRounding (Kacper Pluta, #1339)
  • Kernel package

    • Adding PointFunctorHolder to transform any callable object (e.g. function, functor, lambda function,...) into a CPointFunctor model. (Roland Denis, #1332)
    • ⚠️ The conversion between PointVector of different component types now follows the classical conversion rules (e.g. float to double is OK but double to int fails if the conversion is not explicitly specified). Component type after an arithmetic operation also follows the classical arithmetic conversion rules (e.g int * double returns a double). Adding some related conversion functors. (Roland Denis, #1345)
    • Making binary operators of PointVector (+-*/ but also dot, crossProduct, inf, isLower,...) available as external functions. The component type of the result follows the classical arithmetic conversion rules. (Roland Denis, #1345)
    • Adding square norm method to Point/Vector class. (David Coeurjolly, #1365)
  • Helpers

    • Classes Shortcuts and ShortcutsGeometry to simplify coding with DGtal. Integrate a lot of volume, digital surfaces, mesh, surface, geometry, estimators functions, with many conversion and input/output tools. (Jacques-Olivier Lachaud, #1357)
  • Shapes package

    • Add two new star shapes: Astroid and Lemniscate (Adrien Krähenbühl, Chouaib Fellah, #1325)
  • Geometry package

    • Parametric 3D curve digitization see (UglyNaiveParametricCurveDigitizer3D) (Kacper Pluta, #1339)
    • A set of 3D parametric curves: EllipticHelix, Knot_3_1, Knot_3_2, Knot_4_1, Knot_4_3, Knot_5_1, Knot_5_2, Knot_6_2, Knot_7_4 (Kacper Pluta, #1339)
    • DecoratorParametricCurveTransformation - a decorator to apply isometries to parametric curves (Kacper Pluta, #1339)
    • LambdaMST3DBy2D - a variation of 3D Lambda Maximal Segment tangent estimator that uses only 2D tangents along maximal axis. This estimator has only a research value (Kacper Pluta, #1339)
    • DSSes filtration during L-MST3D computations (Kacper Pluta, #1339)
    • An option for filtering DSSes during LambdaMST3D calculations (Kacper Pluta, #1339)
    • New LpMetric class (model of CMetricSpace) for distance computations in R^n. (David Coeurjolly, #1388)
  • Documentation

    • Replacing html internal links by ref command in Digital Topology module documentation. Also ignoring doxygen warning when ref begins with a digit. (Roland Denis, #1340)
    • Fix examples filenames in Digital Topology module documentation (Isabelle Sivignon, #1331)
    • Fix doc bug with Hull2D namespace, (Tristan Roussillon, #1330)
    • Checking boost version when including boost/common_factor_rt (David Coeurjolly, #1344)
    • Fix computational costs of separable metric predicates in the documentation. (David Coeurjolly, #1374)
    • Fixing doxygen warnings (typo and doxygen upgrade to v1.8.14) (Roland Denis, #1376)
    • Module page about functions, functors and lambdas in DGtal. (Roland Denis, #1332)

Changes

  • Configuration/General

    • Simplifying Travis CI scripts (David Coeurjolly, #1371)
  • Kernel package

    • Fix NumberTraits for long long int types and refactor it. (Roland Denis, #1397)
  • Topology

    • Remove the internal object from VoxelComplex, improving performance (Pablo Hernandez, #1369)
  • Documentation

    • Improving KhalimskySpace related classes documentations by displaying a short description in the member list. (Roland Denis, #1398)
  • Helpers

    • Small fixes in Shortcuts and ShortcutsGeometry, doc, and colormaps. (Jacques-Olivier Lachaud, #1364)
  • Topology

    • Specializes the method DigitalSurface::facesAroundVertex in the 3D case, such that faces (ie pointels) are ordered counterclockwise with respect of the vertex (ie surfel) seen from the exterior. (Jacques-Olivier Lachaud, #1377)
    • This PR fixes two issues related to CubicalComplexFunctions: issue #1362 and issue #1381 for programs testCubicalComplex, testVoxelComplex and testParDirCollapse. (Jacques-Olivier Lachaud, #1390)
    • Move operators outside of functions namespace in VoxelComplexFunctions. (Pablo Hernandez, #1392)

Bug Fixes

  • Configuration/General

    • Continuous integration AppVeyor fix #1326
    • Fixing documentation checks and updating Travis scripts (Roland Denis, #1335)
    • Fixing warning of Clang when including GraphicsMagick v1.3.31 (Roland Denis, #1366)
    • Fix compilation warnings with gcc 8.2.1 (Boris Mansencal, #1384)
    • Fix compilation with Visual Studio (15.9.5) and some io tests (Boris Mansencal, #1380)
    • Fixing & updating Travis: documentation deployement and DGtalTools job (Roland Denis, #1383)
    • Various warnings fixed on Xcode (David Coeurjolly, #1389)
    • Fix compilation and adding debug version for the generated file with Visual Studio (Raphael Lenain, #1395)
    • Correct pragma pop in ITK related files (Boris Mansencal, #1400)
    • Fix compilation and execution with Visual Studio (Raphael Lenain, #1407)
  • Kernel

  • Fixing issue #1341 about unwanted conversions between PointVector with different component types (like from double to int) by making explicit the default conversion constructor and checking type compatiblity when using operators. (Roland Denis, #1345)

  • Fixing issue #1387 about the wrong result of PointVector::crossProduct in 2D. Also disabling this method for dimensions other than 2 and 3. (Roland Denis, #1345)

  • Fixing many issues related to invalid conversion between PointVectors of different component types. (David Coeurjolly, Roland Denis, Monir Hadji, Bertrand Kerautret, Tristan Roussillon, #1345)

  • Base

    • Fixing wrong members in PredicateCombiner (David Coeurjolly, #1321)
    • Fix testClone2.cpp and efficiency issue in Clone/CountedPtr mechanism (Jacques-Olivier Lachaud, #1382). Fix issue #1203)
  • Shapes

    • Fixing openmp flags (David Coeurjolly, #1324)
    • Add assignment operator to ImageContainerByITKImage (Pablo Hernandez, #1336)
    • Fix compilation warning: const qualifier ignored in cast (Pablo Hernandez, #1337)
    • Filter data passed to acos in order to avoid division by zero or an argument out of range. (Kacper Pluta, #1359)
  • IO

    • Improve ITKReader, testITKio and testITKReader (Boris Mansencal, #1379) #1394)
    • Fix wrong typedef for double case in ITKReader (Adrien Krähenbühl, #1259)
    • Fix safeguard when using ImageMagick without cmake activation (David Coeurjolly, #1344)
    • Fix Color::Green definition (David Coeurjolly, #1385)
    • Fix Visual Studio ContourHelper tests. (Bertrand Kerautret, #1386)
  • Geometry

    • Fix a possible tangent vector flapping during L-MST3D and L-MST3DBy2D (Kacper Pluta, #1339)
    • Fix a possible issue with data structures orderings in L-MST3D accumulation step (Kacper Pluta, #1339)
    • Add missing API to StandardDSS6Computer i.e., isInDSS (Kacper Pluta, #1339)
  • DEC package

    • Adding missing headers in some files of DEC. (Roland Denis, #1349)
  • Image

    • Fix bug in ImageLinearCellEmbedder. (Jacques-Olivier Lachaud, #1356)
  • Miscellaneous

    • Fix Small bug in Integral Invariant Volume Estimator in 2D (Thomas Caissard, #1316)
    • Change from private to public access of types Input and Output in SCellToPoint (Daniel Antunes, #1346)
    • Correct small typo when compiling with DEBUG defined (Boris Mansencal, #1401)
  • Math packages

    • Fix possible division by zero in the MultiStatistics class. (Kacper Pluta, #1358)

DGtal 0.9.4.1

Bug Fixes

  • Documentation
    • Fixing path to Mathjax CDN in documentation (David Coeurjolly, #1318)

DGtal 0.9.4

New Features / Critical Changes

  • Shapes

    • Mesh Voxelizer using 6- or 26-separability templated (David Coeurjolly, Monir Hadji, #1209)
  • Topology Package

    • Adding the half-edge data structure to represent arbitrary two-dimensional combinatorial surfaces with or without boundary (Jacques-Olivier Lachaud #1266)
    • Add VoxelComplex, an extension for CubicalComplex, implementing the Critical-Kernels framework, based on the work of M.Couprie and G.Bertrand on isthmus. (Pablo Hernandez, #1147)
  • Shapes Package

    • Adding classes and helpers to create triangulated surfaces and polygonal surfaces to convert them from/to mesh, as well as a conversion from digital surfaces to dual triangulated or polygonal surface (Jacques-Olivier Lachaud #1266)
  • Geometry Package

    • Laplace-Beltrami operators on digital surfaces. (Thomas Caissard, #1303)

Changes

  • Math package

    • New SimpleMatrix constructor with a initializer_list argument (Nicolas Normand, #1250)
  • IO

    • New simple way to extend the QGLViewer-based Viewer3D interface, for instance to add callbacks to key or mouse events, or to modify what is drawn on the window. (Jacques-Olivier Lachaud, #1259)
    • TableReader can now read all elements contained in each line of a file with the new method getLinesElementsFromFile(). (Bertrand Kerautret, #1260)
    • New ImageMagick writer to export images to PNG or JPG formats for instance. (David Coeurjolly, #1304)
    • SimpleDistanceColorMap new colormap to easily display distance maps. (David Coeurjolly, #1302)
    • Fix in MagicReader allowing to load colored images. (David Coeurjolly, #1305)
    • Include New ImageMagick writer in GenericWriter. (Bertrand Kerautret, #1306)

Bug Fixes

  • Build

    • Fix compilation by using DGtal from swift wrapping (Bertrand Kerautret, #1309)
    • Fix C++11 cmake flags and cmake >3.1 is now required (David Coeurjolly, Pablo H Cerdan, #1290)
    • Fix HDF5 link missing in compilation (Bertrand Kerautret, #1301)
    • Fix compilation with QGLViewer (2.7.x) and Qt5 (Boris Mansencal, #1300)
  • Shapes Package

    • Fix ImplicitPolynomial3Shape and TrueDigitalSurfaceLocalEstimator. Improves projection operator on implicit surface and curvature computations. (Jacques-Olivier Lachaud, #1279)
  • Configuration/General

    • Upgrading the benchmarks to match with the new google-benchmark API (David Coeurjolly, #1244
    • The documentation mainpage now refers to the DGtalTools documentation (David Coeurjolly, #1249
    • Fix ITK related try_compile command to work for non-default locations. (Pablo Hernandez, #1286
  • IO

    • Fix for compilation with 2.7.0 QGLViewer version. (Bertrand Kerautret, #1280)
    • Fix on the ITK reader when used with a functor which is not able to handle 32/16 bits images. Also includes a new testITKReader and ITK tests in GenericReader. (Bertrand Kerautret, #1255)
    • Viewer3D: fix bad light source move according X/Y mouse move and new Key_Z to move away/closer the light source. (Bertrand Kerautret, #1262)
    • Fix ImageContainerByITKImage, fill the itk image buffer with 0 when using the domain constructor. (Pablo Hernandez, #1307)
  • Kernel Package

    • Fix testBasicPointFunctor. (Bertrand Kerautret #1245)
  • Arithmetic Package

  • Fix SternBrocot and variants static instanciations. (Jacques-Olivier Lachaud #1293)

  • Topology Package

    • Fix invalid KhalimskyCell coordinates in ctopo-fillContours.cpp example. (Roland Denis, #1296)
  • Documentation

    • Add import with functors in GenericReader in the main default reader. (mainly motivated to show documentation of specialized version of importWithValueFunctor and importWithColorFunctor). The tiff format was also added to the generic readers when ITK is present (Bertrand Kerautret 1251)
    • Fix exampleArithDSS3d compilation (which was not activated). (Bertrand Kerautret #1254)
  • DEC

    • Fix dependencies flags for DEC examples. (Jean-David Génevaux, #1310)

DGtal 0.9.3

New Features / Critical Changes

  • Configuration/General

    • The project has a now a unique compiled library: DGtal. The DGtalIO target has been removed. (David Coeurjolly, #1226)
    • New mandatory dependency for DGtal: zlib must be installed in the system. (David Coeurjolly, #1228)
    • Remove cpp11 deprecated usage of std::binder1st and std::binder2nd --generates error with c++17 flag. (Pablo Hernandez, #1287)
    • Remove cpp11 deprecated usage of std::unary_function and std::binary_function --generates error with c++17 flag. (Pablo Hernandez, #1291)
  • Topology Package

    • Implementation of ParDirCollapse with CollapseSurface and CollapseIsthmus. (Mohamad ONAYSSI, Bibiana MARTINEZ, Mohamed MELLOULI, Kacper PLUTA, #1199)
  • Geometry Package

    • VoronoiMap, PowerMap, (Reverse)DistanceTransformation and ReducedMedialAxis now work on toric domains (with per-dimension periodicity specification). (David Coeurjolly, Roland Denis, #1206)
  • IO

    • New version (3) for the VOL file format that allows (zlib) compressed volumetric data. VolReady and VolWriter can still manage Version 2 Vols. (David Coeurjolly, #1228)

Changes

  • Configuration/General

    • Continuous integration Travis bots are now based on ubunutu/trusty containers. (David Coeurjolly, #1227)
    • Set flag -std=c++11 only if needed. Modern compilers set compatible flags by default (gnu++14, etc). (Pablo H Cerdan, #1222)
  • Documentation

    • All the example descriptions are now in their the examples file (instead in dox files). (Bertrand Kerautret, #1240)

Bug Fixes

  • Configuration/General

    • Fixing errors and warnings raised by g++ 4.7.x. (Roland Denis, #1202)
    • Explicit M_PI definition if needed. (David Coeurjolly, #1208)
    • Continuous integration Travis bots are now based on ubunutu/trusty containers. (David Coeurjolly, #1227)
    • Fix usage of DESTDIR at install time for linux packagers. (Pablo Hernandez, #1235)
    • Fix, let CMake handle DESTDIR instead of manual manipulation. (Pablo Hernandez, #1238)
  • Geometry Package

    • ArithDSSIterator: fix missing postfix ++. (I. Sivignon, #1187)
    • ContourHelper: add a method to transform a contour into a 8 connected path. (B. Kerautret, #1127)
  • IO Package

    • Missing TContainer template parameter for overloaded functions/methods that rely on PointVector. (Roland Denis, #1232)
    • Viewer3D: fix bad rendering when changing the scale. (Bertrand Kerautret, #1217)
  • Documentation

    • Fixing various BibTeX references. (Bertrand Kerautret, ##1237)

DGtal 0.9.2

New Features / Critical Changes

  • Documentation

    • Fixing all doxygen warnings. (Roland Denis, #1182)
    • New "@seeDGtalTools" doxygen command to cite a DGtalTools tool in DGtal documentation (David Coeurjolly, #1179)
  • Geometry Package

    • New robust normal vector estimator using spherical accumulators and statistical voting (Boulc'h & Marlet, SGP 2012). (David Coeurjolly, #1149)
  • Math Package

    • New RealFFT class for in-place real-complex Fast Fourier Transform using fftw3 library. (Roland Denis, #1185)
  • Topology Package

    • Adding periodic closure for KhalimskySpaceND and per-dimension closure specification. (Roland Denis, #1086)
    • Adding CPreCellularGridSpaceND concept and KhalimskyPreSpaceND model to manipulate unbounded Khalimsky space and cells. KhalimskySpaceND now checks that all given cells are within the bounds. (Roland Denis, #1086)

Changes

  • Configuration/General

    • Travis Continuous integration will check that doxygen raises no warnings and that the documented file names are valid. (David Coeurjolly, Roland Denis, #1182)
    • Cleaning remaining preprocessor directives related to C++11 features. (Roland Denis, #1141)
    • Travis Continuous integration will check that DGtalTools still compiles with changes in new pull-requests. (David Coeurjolly, #1133)
    • Add cmake configuration file NeighborhoodTablesConfig to decompress and install look up tables. (Pablo Hernandez-Cerdan, #1155)
    • Documentation graphs are now in SVG instead of PNG. (David Coeurjolly, #1192)
    • Check and add all DGtal examples in the Examples listing section. (Bertrand Kerautret,#1166)))
  • Base Package

    • Alias and ConstAlias now raise compilation error when using invalid constructor, like from a rvalue reference. Adding ConstAlias in many classes that need it. (Roland Denis, #1140) (With ITK related compilation fix, Bertrand Kerautret #1153)
    • Moving all base concepts into namespace concepts. Update doc and concepts graphs accordingly. (Jacques-Olivier Lachaud, [#1164] (DGtal-team#1164))
  • IO Package

    • Viewer3D: improvement of the viewer state record by saving the rendering mode. A new setter was also added to desable/enable double face rendering. (Bertrand Kerautret #1166)
    • Viewer3D: add a mode to display ball primitive with OpenGL point instead of quadrangulated mesh. (Bertrand Kerautret #1162)
    • Viewer3D: add a new mode to have the light source position defined from the camera (default) or from the scene coordinate system (key P to change position mode). A new lambertian rendering mode was added. (Bertrand Kerautret #1149)
    • Add the possibility to interact in QGLViewer Viewer3D class with the voxel primitive (was limited to surfel). As with surfel, the user may assign integer identifiers (OpenGL names) to voxel and callback functions, which are called when voxel are selected. The selected elements are now highlighted. (Bertrand Kerautret, #1146)
  • Topology Package

    • Add pre-calculated look up tables to speed up Object::isSimple calculations. (Pablo Hernandez-Cerdan, #1155)

Bug Fixes

  • Configuration/General

    • Simplification of the windows build instructions. (David Coeurjolly, #1160)
    • Various fixes in the documentation (e.g. links to concepts pages). (David Coeurjolly, #1161)
    • Fixing issues raised on some algorithms when changing Euclidean ring for SpaceND and KhalimskySpaceND. (Jérémy Levallois, #1163)
    • Moving last concepts to concepts:: namespace. (David Coeurjolly, #1193)
  • DEC Package

    • Fix compatibility with eigen 3.2.8 by changing default index type for sparse matrix. (Pierre Gueth, #1197)
    • Fixing warnings in DiscreteExteriorCalculus and DiscreteExteriorCalculusFactory. (Roland Denis, #1139)
  • Geometry Package

    • VoronoiCovarianceMeasure: fix dimension-specific code. (Roland Denis, #1145)
    • AlphaThickSegmentComputer: fix segment display errors which could appear when displaying a small segment. Fix a non initialized attribute with some improvements on bounding box computation with orientation check. (B. Kerautret, #1123)
    • Frechet Shortcut: fix implicit rounding. (I. Sivignon, #1180)
  • Image Package

    • Fixing issue #779 by storing domain with smart pointer in ImageContainerBySTLMap. (Roland Denis #1151)
  • IO Package

    • Display3D: Fix embedder usage when using default constructor in Debug mode. (Roland Denis #1143)
    • Viewer3D: Fix a problem when the show() method was called at the end of the main program (the list creation was not called). (Bertrand Kerautret #1138)
    • Viewer3D: add three new modes for shape rendering (default, metallic and plastic). The rendering can be changed by using the key M. The user can also choose its own rendering with some setter/getter on the opengl lightning/properties. (B. Kerautret, #1128)
    • readers: fix a vol/pgm/raw reading bug occurring on Windows 10 due to the different interpretations of end of line \r\n on Window versus \n on unix/mac. Changing reading mode with binary mode instead text mode fix the issue. (Bertrand Kerautret #1130)
    • Fixing issue #899 in all color maps, (David Coeurjolly, Bertrand Kerautret #1134)
    • GenericReader: include longvol reader in GenericReader for 64 bit images. Update the test for 64 bit longvol. (Bertrand Kerautret #1135)
    • Fix the extension removal in Obj filename export in Board3D. (David Coeurjolly,#1154))
    • Fix issue when drawing DSS with both points and bounding box. (David Coeurjolly,#1186))
  • Topology Package

    • Fix wrong starting point for surface tracking in example code frontierAndBoundary.cpp. (Roland Denis, #1144)
    • Fix interior/exterior fill methods of topology/helpers/Surfaces class which was wrong on 3d and on closed Khalimsky space. (Bertrand Kerautret, #1156)
    • Fix issue [#1168] (DGtal-team#1168), related to bad linear interpolation for binary volume data in volMarchingCubes.cpp (Jacques-Olivier Lachaud, #1169)
  • Shape Package

    • Fix a tubular mesh construction problem (missing faces) which appears when the center line is oriented in a main axis direction (in createTubularMesh()). Also improves and fixes the face construction. (Bertrand Kerautret, #1157)

DGtal 0.9.1

New Features / Critical Changes

  • Configuration/General

    • A CONTRIBUTING.md file has been added to describe how to contribute to the library. (David Coeurjolly, #1112)
    • DGtal requires now to have a C++11 enabled compiler (gcc>4.6, clang>2.9, VS14, ...). This allows us to use new C++11 features in DGtal core and to have more generic and reliable code. (David Coeurjolly, #1080)
    • DGtal core now compiles on Microsoft Windows, Visual Studio (only VS14 or above). Many issues have been fixed for compatibility with 'cl' compiler. (David Coeurjolly, Jérémy Levallois, #1074)
    • DGtal with QGLViewer option activated now compiles on Microsoft Windows, Visual Studio (only VS14 or above). (Bertrand Kerautret, #1106)
  • Base Package

    • Traits class for containers in order to probe their category at compile time. (Jacques-Olivier Lachaud, #1079)
    • Generic set operations for arbitrary containers. You may use overloaded operators like &, |, -, ^ on arbitrary containers (list, vector, unordered_set, map, etc). (Jacques-Olivier Lachaud, #1079)
  • Geometry Package

    • Hull2DHelpers: implementation of the rotating caliper algorithm to compute the width (vertical/horizontal or Euclidean) of a convex hull. (Bertrand Kerautret, #1052)
    • MelkmanConvexHull: new reverse method to allow point insertions and convex hull computation on both side of a point sequence. (Bertrand Kerautret, #1073)
    • LogScaleProfile: new class to represent a (multi)scale profile e.g. a sequence of statistics on digital lengths parameterized by a grid resolution. (Backport of the ScaleProfile class of ImaGene ). (Bertrand Kerautret, Jacques-Olivier Lachaud #1075)
    • IteratorCompletion provides iterators and ranges access from a basic set of methods. (Roland Denis, #1029)
  • Image Package

    • ArrayImageAdapter adds a read-write image adapter from any random-access iterator, e.g. from a C-array. (Roland Denis, #1029)
  • Math Package

    • MultiStatistics: new class to compute different statistics (like mean variance, median) on multiple variables. (Backport of the Statistics class of ImaGene ). (Bertrand Kerautret, Jacques-Olivier Lachaud #1076)
  • Topology Package

    • New class CubicalComplex and functions associated to it. Arbitrary cubical complexes can be represented, displayed and multiple operations are defined onto them: incidence, closing, opening, closure, star, link, interior, boundary, set operations and relations, as a collapse operation. (Jacques-Olivier Lachaud, #1079)

Changes

  • Configuration

    • Types and classes in helper namespaces Z2i and Z3i for StdDefs.h header (2D and 3D digital geometry with computations on 32bit integers) are now explicitly instanciated in the compiled library. This reduces compilation time when such types are used. (David Coeurjolly, #1117)
  • DEC Package

    • DiscreteExteriorCalculus holds both primal and dual sizes of each cell. Subsequent changes have been made to insertSCell. (Pierre Gueth #1082)
    • Convenient static members for KForm : KForm::ones(), KForm::zeros() and KForm::dirac(KSpace::Cell). (Pierre Gueth #1082)
  • Base Package

    • Enabling circulators in SimpleRandomAccessRangeFromPoint. (Roland Denis, #1060)
  • Base

    • Deprecated OldAlias, OldClone, OldConstAlias have been removed. (David Coeurjolly, #1074)
  • IO

    • By default, closing a Viewer3D does not save automatically the viewer state anymore (in a .qglviewer.xml file). The automatic save can be activated by a flag (myAutoSaveState). (Bertrand Kerautret #1088)
    • In the Viewer3D, the light source position is now saved in the QGLViewer state file (.qglviewer.xml). (Bertrand Kerautret #1087)
    • Minor improvements of default settings in Viewer3D. (David Coeurjolly, #1066)
    • change the chronological order to display primitives (in the draw function) in order to see the cube primitive through the transparency of the ball primitives. (Bertrand Kerautret, #1081)
    • New possibility to move the light source direction using the mouse move in Viewer3D (with the key SHIFT+CTRL (SHIFT+CMD on mac)). The light source direction is now defined according the main coordinate system (no more from the camera center). (Bertrand Kerautret #1070)
    • Adding raw I/O capabilities for non integral types and signed integers. (Roland Denis #1084)
  • Shapes Package

    • New methods to remove faces from a Mesh or to obtain the barycenter of a face. (Bertrand Kerautret #1091)

Bug Fixes

  • Configuration/General

    • catch unit test framework upgraded to the develop version. (David Coeurjolly, #1055)
    • Fixing boost include path issue when building tools using DGtal and its cmake DGtalConfig.cmake. (David Coeurjolly, #1059)
    • Fixing parenthese warnings in Catch. Waiting for an official fix. (Roland Denis, #1069)
    • Fix constness in selfDisplay and operator<<. (Pierre Gueth #1082)
    • DGtal cmake configuration scripts are now installed in the ${PREFIX_PATH}/lib/DGtal/ folder on linux systems (when running make install command). The documentation is copied to the folder ${PREFIX_PATH}/share/DGtal/html/. This fixes issue #1095. (David Coeurjolly, #1103)
    • Fix for swapped coordinates in TangentFromDSS2DFunctor. (Kacper Pluta, #1083)
    • Update of the README.md page. (David Coeurjolly, #1109)
  • Base Package

    • Fix wrong initialization of reverse iterators in SimpleRandomAccess(Const)RangeFromPoint. (Roland Denis, #1060)
  • Geometry Package

    • Fix pseudo-random number generator in KanungoNoise (David Coeurjolly, #1078)
  • IO Package

    • Fix line export in Board3D. (Bertrand Kerautret ##1119)
    • Fix viewer tests including qt4 headers even with configuring WITH_QT5=ON. (Pablo Hernandez-Cerdan, #1100)
    • Fix Viewer3D axis display when they are included in a transparent element. (issue #873) (Bertrand Kerautret ##1108))

DGtal 0.9

New Features / Critical Changes

  • Geometry Package

  • New segment computer allowing the recognition of thick digital segments, adapted to noisy contours (from a given thickness parameter). The current implementation (mainly a backport from imagene) is a model of CForwardSegmentComputer with a ParallelStrip primitive. This primitive is similar to the blurred segment of [Debled-Rennesson etal 2005] with isothetic thickness. It is also an implementation of the alpha-thick segment of Alexandre Faure and Fabien Feschet. (Bertrand Kerautret, #963)

  • Configuration/General

    • Continuous integration enabled on both linux and macosx systems. Furthermore, the nightly build documentation is automatically deployed. (David Coeurjolly, #955)
    • New unit test framework based on catch. Catch allows to design quick and efficient unit tests with nice trace outputs. (David Coeurjolly, #1019)
    • Documentation added for Catch. (David Coeurjolly, #1042)
  • Kernel

    • New template class DigitalSetlByAssociativeContainer allows to define digital sets from any associative container of the STL. For instance, using std::unordered_set (c++11) or boost::unordered_set (hash function based containers), speed-up up to 40% can be measured when processing digital sets. (David Coeurjolly, #1023
    • By default, Z2i::DigitalSet, Z3i::DigitalSet and digital set from DigitalSetSelector use the new hash function based container. (David Coeurjolly, #1023
    • Specializations of std::hash (c++11) and boost::hash to define a hash functions on DGtal points. (David Coeurjolly, #1023

Changes

  • DEC Package

    • Coherent signed cells support allows lower dimension manifold embedding. (Pierre Gueth #977)
    • OppositeDuality struct allows generic hodge and laplace definition. (Pierre Gueth #977)
    • Easy k-form and vector field transversal using .length() and .getSCell(). (Pierre Gueth #977)
    • Unified operators interface : .hodge<order, duality>() replace primalHodge() and dualHodge(), .laplace() replace primalLaplace() and dualLaplace(). (Pierre Gueth #977)
    • New antiderivative<order, duality>() operator. (Pierre Gueth #977)
    • New flatDirectional<duality, direction>() and sharpDirectional<duality, direction>() operators defined as flat(vector_field_along_direction) and sharp(1-form).extractZeroForm(direction). (Pierre Gueth #977)
    • DiscreteExteriorCalculus<dim_embedded, dim_ambient, Backend> takes 2 dimension template parameters for embedding manifold in ambient euclidean space. (Pierre Gueth #977)
    • Basic openmp support for derivative computation. (Pierre Gueth #977)
    • New propagation example and extended embedding tests. (Pierre Gueth #977)
    • Improved operator generation using new CSparseMatrix concepts. (Pierre Gueth #1007)
    • DEC constructors are replaced by static factory functions: DiscreteExteriorCalculusFactory::createFromDigitalSet and DiscreteExteriorCalculusFactory::createFromNSCells. (Pierre Gueth #1008)
    • Mutable iterator on DiscreteExteriorCalculus. (Pierre Gueth #1008)
    • Unary minus operators for k-forms, vector fields and linear operators. (Pierre Gueth #1020)
    • Introduction of .updateIndexes() that needs to be called after any call to .insertSCell() or .eraseCell(). (Pierre Gueth #1020)
    • Transpose of linear operators. (Pierre Gueth #1020)
    • Intensity operator on vector fields. (Pierre Gueth #1020)
    • Reorder operators to remap indexes. (Pierre Gueth #1020)
  • Geometry Package

    • New EstimatorCache class to cache quantities estimated by a surfel local estimator. (David Coeurjolly, #927)
    • New digital surface local estimator that computes a sphere fitting. It requires to have the Patate library installed (and WITH_PATATE=true): http://patate.gforge.inria.fr/html/. See SphereFittingEstimator (David Coeurjolly, #929)
    • Algorithm to compute the union of two DSSs in logarithmic time (Isabelle Sivignon, #949)
    • InexactPredicateLpSeparableMetric class is now templated by an EuclideanRing type. (David Coeurjolly, #1017)
    • Main example files of geometry/curves are introduced in the list of examples and briefly described. (Tristan Roussillon, #1026)
    • New algorithms to compute the convex hull of planar point sets. (Tristan Roussillon, #1028)
    • Lambda maximal segment tangent direction estimator 2D/3D: LambdaMST2D, LambdaMST3D. A fast tangent direction estimator which uses maximal digital straight segments. (Kacper Pluta, #1021)
    • Segmentation of 3D digital curves by a combination of the segmentations of its 2D projections onto 2D base planes: XY, XZ, YZ. Notice that, only valid projections are used. By valid one understands that there are no two 3D points which are projected onto the same 2D point. A segment is computed as long as is extendable and at least two projections are valid. : NaiveDSS3DComputer. (Kacper Pluta, #1021)
  • Math Package

    • Utilities added (OrderedLinearRegression) to perform sequential linear model estimation of scalar data. (David Coeurjolly, Jérémy Levallois #935, backport from imagene)
    • New linear algebra concepts: CDenseVector, CDenseMatrix, CSparseMatrix. (Pierre Gueth #1007)
  • Image Package

    • Adding copy between images of different types. (Roland Denis [#1001] (DGtal-team#1001))
  • IO Package

    • Fix RawWriter and RawReader. Added templated generic RawReader::importRaw and RawWriter::exportRaw. (Pierre Gueth #1010)
    • New 2D DEC board style with orientated cells. (Pierre Gueth #977)
    • Limited interaction added to QGLViewer Viewer3D class. The user may assign integer identifiers (OpenGL names) to surfels and callback functions, which are called when surfels are selected. (Jacques-Olivier Lachaud #942)
    • Balls can be exported to OBJ in Board3D and ball resolution can now be specified in Viewer3D and Board3D (David Coeurjolly, #945)
    • Viewer3d cleanings with better organisation through the separation of all code generating the GL lists. (Bertrand Kerautret) (#945)
    • Operators added to perform computations on Color objects (addition, substraction scaling...). Color is now CopyConstructible and Assignable (David Coeurjolly #940)
    • Improvement of memory footprint of DGtal::Color (David Coeurjolly, #961)
    • New colormap adapter to add ticks/iso-contours (regularly spaced or specified by the user) to a given colormap. (David Coeurjolly, #987)
    • New flag (-DWITH_QT5) enables QT5 support in libqglviewer. (Nicolas Aubry, #983)
    • Board2D now supports quadratic Bezier curve drawing. (Tristan Roussillon, #1002)
    • MeshWriter class can now export OBJ file including colors. (Bertrand Kerautret, #1016)
    • Viewer3D: Shift-L / L key binding added to save and restore camera settings. (Bertrand Kerautret, #1024)
    • Viewer3D: change the chronological order to diplay primitives (in the draw function) in order to see see textured image primitives through the transparency of other 3D primitives. (Bertrand Kerautret, #1041)
  • Kernel Package

  • HyperRectDomain can now be empty (lowerBound == upperBound + diagonal(1)). Warning about the use of lexicographical order in comparison operators of PointVector. (Roland Denis, #996)

    • Adds generic linearization (point to index) and reverse process (index to point), specialized for HyperRectDomain. (Roland Denis, #1039)
    • HyperRectDomain can now be empty (lowerBound == upperBound + diagonal(1)). Warning about the use of lexicographical order in comparison operators of PointVector. (Roland Denis, [#996](https:/DGtal-team/DGtal/pull/
  • Shapes Package

    • Adds a vertex Iterator in the Mesh class in addition to the ConstIterator and adds a new method to change the color of a specific face. (Bertrand Kerautret, #937)
    • New methods to generate basic 3D tubular meshes and height fields. New mesh module documentation added. (Bertrand Kerautret, #969)
    • Refactoring of CSG operations on Euclidean / Digital shapes to easily combine several operations. EuclideanShapesUnion, EuclideanShapesIntersection and EuclideanShapesMinus are now deprecated. Use EuclideanShapesCSG instead. DigitalShapesUnion, DigitalShapesIntersection and DigitalShapesMinus are now deprecated. Use DigitalShapesCSG instead. (Jérémy Levallois #962)
    • Add various methods in the Mesh class to get the bounding box, to change the mesh scale or to subdivide triangular faces. (Bertrand Kerautret, #990 and #992)
    • New copy constructor and copy operator on Mesh object (and documentation added about vertex ordering for obj format). (Bertrand Kerautret, #976)
  • Arithmetic Package

    • Algorithm to compute the fraction of smallest denominator in between two irreducible fractions (Isabelle Sivignon #949)

Bug Fixes

  • Configuration

    • Removing code coverage with coverall.io (David Coeurjolly, 1040).
    • Forces Eigen 3.2.1 minimum (for a bug fix). (Jacques-Olivier Lachaud, 1032).
    • Fix issue #925, detection of Eigen3 (3.1 minimum) and also issue #924, DGtal configuration file when using Eigen3. (Jacques-Olivier Lachaud, #926)
    • Backport of changes in google/benchmarck API for micro-benchmarking (David Coeurjolly, #1014)
    • New travis configuration file to enable new travis Docker based container system (David Coeurjolly, #1030)
    • Various fixes of compiler warnings due to unused paramters (David Coeurjolly, Roland Denis, #1034)
  • Base Package

    • Fix bug with LabelledMap copy constructor and copy iterator. (Roland Denis, #973)
    • Fix bug with Labels iterator when first index is set (Roland Denis, #972)
    • Iterator category fix for boost > 1.57 (David Coeurjolly, #938)
    • Cleanup of DGtal namespaces (David Coeurjolly, #993)
  • Geometry Package

    • Fix bug occuring in the computation of the Faithful Polygon (class FP) in the closed case, ie. with circulators. (Tristan Roussillon, #939)
    • Fixing DSS based length estimator on open curves. (David Coeurjolly, #941)
    • Fix bug of method ArithmeticalDSL::getPoint with negative values of positions as input arguments. (Tristan Roussillon, #944)
    • Fix too restrictive asserts of methods ArithmeticalDSSConvexHull::smartCH and ArithmeticalDSSConvexHull::smartCHNextVertex to enable negative positions as input arguments. (Isabelle Sivignon, #950)
    • Fix Bezout Vector computation (Isabelle Sivignon, #948)
    • Fix issues with SphereFitting and TensorVoting local estimators on digital surfaces (Jérémy Levallois, David Coeurjolly #970)
  • IO Package

    • Performance improvement of color managment in Display3D, Board3D and Viewer3D: no more "createNew...List" when setting a new color. (David Coeurjolly, #958)
    • Radius and resolution of balls have been fixed when used to represent a 3D point in grid mode (David Coeurjolly, #978)
    • Change in the mesh export in OFF format: now it tries by default to export colors (if stored). (Bertrand Kerautret, #985)
    • Bugfix in quad visualization in BoardD3D and Viewer3D (David Coeurjolly, #980)
    • Fix warnings message of std::abs in Display3D. (Bertrand Kerautret, #991)
    • Fix memory leaks present in the Viewer3d. (Bertrand Kerautret, #995)
    • Fix issues in OBJ color export when exporting voxels. (David Coeurjolly, #1022)
    • Fix compilation issue on gentoo system related to MeshWriter (gcc version 4.9.2-r2). (Van Tho Nguyen, #1035)
    • Fix deprecated usage of setMouseBindingDescription with QGLViewer >= 2.5.0. (Roland Denis, #1036)
  • Kernel Package

    • BasicDomainSubSampler can now handle non 0 origin point. This update also correct the search of point which are outside the source domain (it is now checked in testBasicPointFunctors). (Bertrand Kerautret, 989).
  • Topology Package

    • Fix loop bug in extractAllConnectedSCell of Surfaces from helpers. (Bertrand Kerautret, 994).
  • DEC Package

    • Fix missing include in testEigenSolver. (Jacques-Olivier Lachaud, 1032).

DGtal 0.8

New Features / Critical Changes

  • General

    • This Changelog has been ported to MarkDown (David Coeurjolly, #846)
    • The DGtal main website is now http://dgtal.org
  • Global refactoring of base functors (David Coeurjolly, #861)

    • BasicFunctor functors have been moved to functors:: namespace.
    • DefaultFunctor has been renamed functors::Identity.
    • xxxFunctor have been renamed to xxx.
  • Moving graph, topology, geometry/estimation concepts into namespace concepts::, also moving some functors into namespace functors:: (Jacques-Olivier Lachaud, #912).

  • DEC Package

    • DGtal 0.8 contains the first release of the Discrete Exterior Calculus Package. DEC provides an easy and efficient way to describe linear operator over various structure. Basic operators, such as Hodge duality operator or exterior derivative, can be combined to create classical vector analysis operator such as gradient, curl and divergence. (Pierre Gueth, #877)
  • Geometry Package

    • Add digital nD Voronoi Covariance Measure support, as well as digital geometric estimators based on it. Add tests and examples of feature detection with VCM. (Jacques-Olivier Lachaud, #803)

    • Add Integral Invariant estimators so that they meet the concept of surface local estimator. Add geometric functors to define easily all the geometric estimators that can be built from the volume and coariance matrix. Previous estimators (IntegralInvariantMeanCurvatureEstimator and IntegralInvariantGaussianCurvatureEstimator) are removed. Please use the new ones instead. (Jeremy Levallois, Jacques-Olivier Lachaud, #803 #856 #893)

    • Various geometric predicates are now available in order to test the orientation of three points in the planes. Most classes are template classes parametrized by a type for the points (or its coordinates) and an integral type for the computations. They always return an exact value (or sign), provided that the integral type used for the computations is well chosen with respect to the coordinates of the points. Some implementations do not increase the size of the input integers during the computations. (Tristan Roussillon, #755)

    • Logarithmic construction of an arithmetical DSS of minimal parameters from a bounding DSL and two end points (ctor of ArithmeticalDSS) (Tristan Roussillon, #819)

    • Proof-of-concept that path-based norms can be implemented in a separable approach using logarithmic cost predicates (experimental::ChamferNorm2D). (David Coeurjolly, #898)

    • Logarithmic construction of an arithmetical DSS of minimal parameters from a bounding DSS (of known leaning points) and two end points (ctor of ArithmeticalDSS) (Tristan Roussillon, #914)

    • Feature extraction algorithm from Tensor Voting.(Jérémy Levallois, David Coeurjolly, #895)

    • Ray shooting intersection predicates (ray-triangle, ray-quad, ray-surfel) added in geometry/tools (David Coeurjolly, #904)

  • IO Package

    • Now VolReader/VolWriter and LongvolReader/LongvolWriter support the usage of Center-(X,Y,Z) parameters, as described in Vol file specification. (Jérémy Levallois, #879)
  • Math Package

    • New classes to compute nD eigen decomposition of symmetric matrix (class EigenDecomposition). Add tests. (Jacques-Olivier Lachaud, #803)
    • Simple Linear Regression tool added (backport from imagene). (David Coeurjolly, #794)
  • Kernel package

    • BasicPointFunctors functors have been moved in the functors:: namespace (David Coeurjolly, #863)
  • For developpers

    • Google Benchmark can be enabled to allow micro-benchmarking in some DGtal unit tests (https:/google/benchmark) (David Coeurjolly, #790)
  • Images

    • Classes to perform rigid transformations of 2D and 3D images (Kacper Pluta, #869)

Changes

  • Base Package

    • Add comparison operators in variants of CountedPtr. Improve coverage of these classes and fix compilation problem (Jacques-Olivier Lachaud)
    • Update doc of CountedPtr, CountedPtrOrPtr and CountedConstPtrOrConstPtr. Add asserts. Add tests. Fix issue 773 (DGtal-team#773). (Jacques-Olivier Lachaud, #894).
    • XXXOutputRangeYYY classes are now called XXXRangeWithWritableIteratorYYY (Tristan Roussillon, #850).
  • Geometry Package

    • Fix and add concept of CSurfelLocalEstimator and related ground truth estimators for implicit polynomial shapes (TrueDigitalSurfaceLocalEstimator). (Jacques-Olivier Lachaud, #803)
    • Random-access iterators added in ArithmeticalDSL. (Tristan Roussillon, #801)
    • Updates in Metric concepts: better and simpler concept structure and a new adapter to adapt any euclidean metric to a digital one (with values on Z) (David Coeurjolly, #870
    • CubicalSudivision has been renamed SpatialCubicalSubdivision and moved to "geometry/tools" (David Coeurjolly, #862)
  • IO Package

    • Better handling of materials in Board3D and OBJ exports. (David Coeurjolly, #784)
    • New 'basic' display mode for surfels (oriented or not), useful for large digital surface displays (quads instead of 3D prism) (Bertrand Kerautret, #783)
    • New clear() method to subclasses of Display3D (Viewer3D and Board3D) to clear the current drawning buffer. (Kacper Pluta, #807)
    • New draw() method for 3D display models (Viewer3D and Board3D) to display surfels with prescribed normal vectors (David Coeurjolly, #802).
    • When exporting an 3D visualization to OBJ, a new option will rescale the geometry to fit in [-1/2,1/2]^3. (David Coeurjolly, #820)
    • New raw import/export for 32 bits images (Bertrand Kerautret, #877)
  • Kernel Package

    • New functor DomainSubSampler allowing to apply different samplings with larger or smaller size on N dimensional domain. New tests and examples are given for 2D and 3D images (Bertrand Kerautret, 825 and 882).
  • Shapes Package

    • Shape concepts have been moved to concepts:: namespace (David Coeurjolly, #871)
  • Topology Package

    • Surfaces::findABell accepts now arbitrary pair of points (Jacques-Olivier Lachaud, David Coeurjolly, #851)

Bug Fixes

  • Base Package

    • Fixing issue on Circulator/IteratorFunctions (related to #770 on MacOS).
  • Kernel Package

    • BinaryPointPredicate is now specialized for DGtal::AndBoolFct2 and DGtal::OrBoolFct2 in order to guarantee that the second computation is not performed when the first point predicate return false (resp. true) with DGtal::AndBoolFct2 (resp. DGtal::OrBoolFct2) (Tristan Roussillon #852).
  • Geometry Package

    • Bug fix in PowerMap construction. (David Coeurjolly, #814)
    • Bug fix in 3d display of StandardDSS6Computer (Tristan Roussillon #854)
  • Topology Package

    • small fix in ImplicitDigitalSurface. (Jacques-Olivier Lachaud, #803)
    • fix examples volTrackBoundary and volScanBoundary for DEBUG mode (Jacques-Olivier Lachaud, David Coeurjolly, #851)
    • New methods to fill the interior/exterior of digital contours (in the Surface class of topology/helpers). (Bertrand Kerautret #827)
  • Graph Package

    • fix examples volDistanceTraversal for DEBUG mode (Jacques-Olivier Lachaud, David Coeurjolly, #851)
  • Image Package

    • Fixing template types in ImageAdapter (David Coeurjolly, #835)
    • Fixing image thresholders (SimpleThresholdForegroundPredicate and IntervalForegroundPredicate) which require CConstImage instead of CImage (David Coeurjolly, #843)
  • IO

    • Bug fix for reading PGM(P2) 3D. (Kacper Pluta, #853)
    • Renaming BasicColorToScalarFunctors namespace to functors:: (David Coeurjolly, #857)
    • Fix OpenGL warnings by redefining openGL primitive (glSphere) (Bertrand Kerautret #981)

=== DGtal 0.7 ===

General

  • Unit tests build is now disabled by default (to turn it on, run cmake with "-DBUILD_TESTING=on")

  • The "boost program option library" dependency was removed.

  • DGtal needs boost >= 1.46.

  • Thanks to new compiler warning option (-Wdocumentation), the doxygen documentation has been considerably improved.

Base Package

  • Complete rewriting of Clone, Alias and ConstAlias classes. Parameter passing is now documented with a standardized method to determine parameters unambiguously. Associated classed CowPtr, CountedPtrOrPtr and CountedConstPtrOrConstPtr are now used in conjunction with the previous classes.

  • Few improvments in Clock and Trace base classes.

Kernel Package

  • Two initialisation methods (initRemoveOneDim and initAddOneDim) for the Projector Functor from the BasicPointFunctors class in order to simplify the slice images (with example and test in 2D slice image extraction from 3D volume file).

  • New basic functors:

  • SliceRotator2D: to rotate 2D Slice images from 3D volume.

  • Point2DEmbedderIn3D: a simple functor to embed in 3d a 2d points (useful to extract 2D image from 3D volume).

  • Sets have been updated to own their domain with a copy-on-write pointer, in order to avoid some inconsistencies.

Topology Package

  • Fixing bugs in Object::isSimple for some digital topologies. Speed of Object::isSimple has been improved. Homotopic thinning is much faster (even without a precomputed simplicity table).

  • Objects have been updated to use Clone services.

Geometry Package

  • New classes to deal with arithmetical digital straight segments. Now the representation of the primitives and their recognition along a discrete structure are separated. The unique class ArithmeticalDSS, which was a segment computer, has been replaced by mainly three classes: ArithmeticalDSL, ArithmeticalDSS and ArithmeticalDSSComputer. This is described in a doc page of the geometry package. Note that Backward/Forward suffixes have been renamed into Back/Front. Moreover, get prefixes for data members accessors have been removed.

  • Generic adapter to transform a metric (model of CMetric) with monotonic (see doc) properties to a separable metric (model of CSeparableMetric) which can be used in VoronoiMap/DistanceTransformation algorithms.

  • New possibility to access the 3 2D ArithmeticDSS object within an ArithmeticDSS3d.

  • New local estimator adapter to make easy implementation of locally defined differential estimator on digital surfaces.

  • New documentation on local estimators from digital surface patches and surfel functors. New normal vector estimator from weighted sum of elementary surfel normal vectors added.

  • With an optional binding with CGAL and Eigen3, new curvature and normal vector estimators have been added. For instance, you can now estimate curvature from polynomial surface fitting (Jet Fitting) and Monge forms.

  • Minor improvements in the spherical accumulator.

  • Improvement of integral invariant estimators (better memory footprint, ...). They also allow to estimate principal curvatures using Covariance matrix. Covariance matrix is also "masks" based, so the computation is efficient.

  • New algorithms to compute the minimal characteristics of a Digital Straight Line subsegment in logarithmic time using local convex hulls or Farey Fan. Also works when the DSL characteristics are not integers.

  • Chord algorithm for (naive) plane recognition and width computation.

  • New organization for computing primitives. Introduction of the concept of PrimitiveComputer and specialization. COBA algorithm and Chord algorithm are now models of AdditivePrimitiveComputer.

  • Introduction of the primitive ParallelStrip, computed by COBA and Chord algorithms

  • New documentation for planarity decision, plane recognition and width computation. Quantitative and qualitative evaluation of COBA and Chord algorithm.

  • Bug fix in COBA algorithm when extending an empty computer with a group of points.

  • add standard plane recognition with adapter classes both for COBA and Chord algorithm.

Shape Package

  • The class MeshFromPoints was transformed into Mesh (more from shapes/fromPoints to shapes/ directory), iterators on mesh points and mesh face.

Topology Package

  • The class SCellToMidPoint is now deprecated. Use CanonicSCellEmbedder instead to map a signed cell to its corresponding point in the Euclidean space

IO Package

  • Complete refactoring of 3D viewers and boards (Viewer3D, Board3DTo2D).
  • New Board3D to export 3D displays to OBJ 3D vector format.
  • A new display of 2D and 3D image in Viewer3D.
  • New reader: HDF5 file with 2D image dataset(s) (8-bit with palette and 24-bit truecolor with INTERLACE_PIXEL).
  • New GenericReader and Generic Writer for both 2D, 3D and ND images.
  • Adding a Table Reader to extract objets given in a specific column from a text file.
  • Adding missing PPM Reader.
  • Adding missing DICOM reader (with ITK library)
  • Adding ITK reader and ITK writer
  • OpenInventor (SOQT/Coin3D) based viewer has been removed (please consider release <=0.6 if interested).

Image Package

  • New concepts : CImageFactory to define the concept describing an image factory and CImageCacheReadPolicy/CImageCacheWritePolicy to define the concept describing cache read/write policies.

  • New classes : ImageFactoryFromImage to implement a factory to produce images from a "bigger/original" one according to a given domain, ImageCache to implement an images cache with 'read and write' policies, TiledImageFromImage to implement a tiled image from a "bigger/original" one.

  • ImageContainerByITKImage complies with CImage. The container has been moved from the DGtal::experimental namespace to the main DGtal namespace.

Graph Package

  • New graph visitor, which allows to visit a graph according to any distance object (like the Euclidean distance to some point).

Math Package

  • add Histogram class and CBinner concept.
  • add math concepts diagram.

=== DGtal 0.6 ===

General

  • Multithread capabilities via OpenMP are now detected during DGtal build. Example of usage can be found in the Volumetric module.

Documentation

  • update documentation for boost concepts, so that subconcepts are displayed and html reference pages are pointed.
  • package/module documentation files are now in their associated package folder (e.g. kernel/doc/ for kernel package related documentation pages). The "make doc" command (or "make dox", see below) generates the documentation in the "html/" sub-folder of your current build folder.
  • latex citations within doxygen documents are now working

Base Package

  • correct concept checks for some range concepts.
  • Statistic class moved to math package

Kernel Package

  • digital sets are now also point predicates, update of DigitalSetDomain accordingly. As a consequence, SetPredicate is now deprecated.

  • exposed Compare template parameter of underlying std::set in DigitalSetBySTLSet class.

  • new documentation for module digital sets.

Arithmetic Package

  • new class for representing lattice polytopes in 2D (with cut operations)
  • bugfix in LighterSternBrocot::Fraction
  • bugfix in ArithmeticalDSS (thanks, Kacper)

Image Package

  • Update on image writers (no colormap required for scalar only writers). Documentation updated.
  • New image adapters to adapt both domains and values of an image (ImageAdapter and ConstImageAdapter).
  • several enhancements of the main image concept and its image container models

Geometry Package

  • New primitives for digital plane recognition. Naive planes, and more generally planes with arbitrary axis-width can be detected and recognized incrementally. Based on a COBA algorithm implementation, which uses 2D lattice polytopes.
  • Fréchet segment computer added to compute bounded simplifications of digital curves for instance.
  • Complete rewritting of volumetric tools by separable processes: new generic algorithms (VoronoiMap, PowerMap) and metric concepts hierarchy (l_2, l_p, ...p) to efficiently compute DistanceTransformation, ReverseDistanceTransformation and preliminary medial axis extraction.
  • Separable volumetric tools are now multithread using OpenMP.
  • New curvature estimator in 2D/3D based on integral invariants (both mean and gaussian curvatures in 3D).

Shape Package

  • New operators available on digital and Euclidean shapes (Union, Intersection, Minus)

Topology Package

  • update documentation for digital surfaces and digital surface containers so as to emphasize the fact that the ranges are only single-pass.

Graph Package

  • New package gathering graph related structures and algorithms (visitors, graph concepts, ...)
  • Add concepts for graph visitors
  • Add boost::graph support for DigitalSurface
  • Add documentation for graph package.

Math Package

  • Exact exponentiation x^p by squaring on O(log p) added (BasicMathFunctions::power).

For developers

  • new "make dox" target to only build dox file documentation ("make doc" for complete documentation build)

=== DGtal 0.5.1 === Posted on June, 6th, 2012 by David Coeurjolly

  • New way to cite package/module authors in the documentation
  • Improvement of DGtal::GridCurve ranges
  • Improvement of package concepts in the documentation
  • new documentation for DGTal build on MSWindows
  • arithmetic is now a main package (previously in math)
  • Specialized classes for classical metric adjacencies

=== DGtal 0.5 === Posted on May, 9th, 2012 by David Coeurjolly

Many changes have been pushed to this release with a lot of nice tools. Before going into details component by component, we would like to focus on a couple of new cool features:

  • new arithmetic package (fractions, models of fraction, Stern-Brocot, continued fraction,...)
  • new nD DigitalSurface model (collections of (n-1) topological cells with many tools/utilities to track surface elements)
  • update of the build system to make easier the use of DGtal in your projects.
  • DGtal and DGtalTools
  • many bugfixes..
  • Overall Project

    • In previous DGtal releases, tools were given in the source "tools/" folder. In this release, we have chosen to move the tools to another GitHub project (http:/DGtal-team/DGtalTools) with a specific development process. Please have a look to this project to get nice tools built upon the DGtal library.

    • cmake scripts and DGtalConfig have been widely updated to make easier the use of the library in your own code

    • We are debugging both the code and the scripts to make it compile on windows. We still have couple of issues but most of DGtal compiles.

    • Again, efforts have been done on the documentation.

  • Package Topology:

  • Creation of the graph concept (see Doxygen documentation)

  • Graph tools have been added: breadth first visitor for any model of graph

  • Creation of high-level classes to represent several kinds of digital surfaces. Surfaces are n-1 dimensional objetcs and may be open or closed. There are several models of digital surface containers: boundary of a set of points, explicit set of surfels, boundary of a digital object defined by a predicate, frontier between two regions, light containers that are discovered on traversal but not stored explicitly, etc.

  • All these digital surfaces can be manipulated through the same object (DigitalSurface), whichever the container.

  • DigitalSurface is a model of a graph whose vertices are the surfels and whose arcs are the connections between surfels.

  • Definition of umbrellas over digital surfaces, that forms faces on the surface graph.

  • In 3D, digital surface form combinatorial 2-manifolds with boundary

  • Digital surface can be exported in OFF format

  • Several examples using digital surfaces are provided, like extracting isosurfaces from images or volume files defining surfaces in labelled images.

  • Package Algebraic (new package)
  • Definition of n-variate polynomial as a one-dimensional polynomial whose coefficients are n-1-variate polynomials. Coefficient ring and dimension are templated.

  • Creation of a reader that can transform a string representation of multivariate polynomial into such polynomial object. Use boost::spirit.

  • Example using package Topology to extract and display implicit polynomial surfaces in 3D.

  • Package Arithmetic (new package)
  • Standard arithmetic computations are provided: greatest common divisor, Bézout vectors, continued fractions, convergent.

  • Several representations of irreducible fractions are provided. They are based on the Stern-Brocot tree structure. With these fractions, amortized constant time operations are provided for computing reduced fractions.

  • An implementation of patterns and subpatterns is provided, based on the irreducible fractions.

  • A representation of digital standard line in the first quadrant is provided, as well as fast algorithms to recognize digital straight subsegments.

  • Package Image

    • Complete refactoring of Images and ImageContainers (more consistent design)

    • Documentation added

    • Graph of concepts added in the documentation

  • Package Geometry

    • New SegmentComputer (a.k.a. geometrical primitives to use for recognition, curve decomposition,...) : ArithDSS3D (3D DSS), DCA (Digital Circular Arcs), CombinatorialDSSS, ...

    • New normal vector field estimation based on elementary normal vector convolution in n-D

    • Distance Transformation by Fast Marching Method added.

  • Package IO

    • Complete refactoring of the way a DGtal object is displayed in boards/viewers.

    • New 2D board backend: you can export your drawning in TikZ for latex includes.

=== DGtal 0.4 === Posted on September 26, 2011 by David Coeurjolly

  • Global changes:

    • A better decomposition of DGtal algorithms and data structures into packages.
    • By default, DGtal is built with minimal dependencies.
    • Concepts and concept checking mechanism have been considerably improved.
  • Kernel Package: refactoring of Integer types considered in DGtal.

  • Topology Package: Interpixel/cellular topological model, boundary tracking tools, ...

  • Geometry Package:

    • many things have been added in the 1D contour analysis module: multi-modal representation of 1D contours and curves (GridCurve facade), decomposition/segmentation into primitives, many differential estimators added, helpers for multigrid comparison of estimators
    • multigrid digital set generators from implicit and parametric shapes in dimension 2.
  • I/O Package: refactoring/enhancements of DGtal boards and viewers, enhancement of 2D boards with libcairo and a new Board3Dto2D board has been added.

  • Tools: multigrid shapeGenerator/contourGenerator added, lengthEstimator/estimatorComparator added for differential estimator multigrid comparison, connected components extraction in 3D, ...

  • Documentation: User guide has been improved thanks to a decomposition of the library into packages.

=== DGtal 0.3.1 === Posted on April 4, 2011 by David Coeurjolly

  • Quick release due to a build problem on linux. No more feature added.
  • Preliminary cellular grid documentation added.
  • Documentation cleanup.

=== DGtal 0.3.0 === Posted on April 1, 2011 by David Coeurjolly

Beside the DGtal presentation at DGCI 2011, we are pleased to announce a new DGtal release 0.3.0.

New features:

User-guide added (based on doxygen system) Kernel: new concepts and controls to enhance the Interger type management, new iterators (Range/SubRange) on HyperRectDomains. Topology: interpixel model added (cells, boundary tracking mechanisms,…) Geometry 2D: 2D curve primitive decomposition, tangential cover, convexity/concavity decomposition. Geometry nD: reverse Euclidean distance transformation Visualisation: stream mechanism to visualize 3D DGtal objects with libQGLViewer (optional) Shape generator factory added in nD

BugFixes, enhancements:

Many bugs have been fixed for this release. cmake DGtal dependency checking process is more stable now

Known problems:

For technical reasons, we haven’t be able to verify that this release also compile on Windows Visual Studio systems (see ticket #87). A new release will fix this problem as soon as possible.

=== Older Releases ===

2011-04-01 dcoeurjo

  • Release 0.3.0
  • Kernel: global enhancement of different Integer types and associated concepts.
  • Topology: interpixel topology, cells, surface tracking
  • Geometry2D: contour primitive decomposition, tangential cover, convexity/concavity decomposition.
  • GeometrynD: Reverse DT transformation (Euclidean)
  • Infrastructure: 3D visualisation of DGtal objects with libQGLViewer, shape factory
  • IO: PointListReader added
  • Documentation: first DGtal user-guide

2010-01-12 dcoeurjo

  • Release 0.2
  • Kernel: DGtalBoard mechanism for 2D drawing of DGtal objects, ..
  • Geometry package
    • Volumetric: distance transformation with separable metric (l2, l1 and linfinity) in arbitrary dimension
    • 2D: Arithmetical DSS, Greedy decomposition of a contour into primitives, FreemanChain code iterators
  • Topolopy package: Set, Adjacencies, Object, border extraction, connected components computation, ...
  • IO: 2D file formats with Magick++, Vol/Raw format in 3D, Raw format in n-D (non-portable)
  • Misc: Compiles on linux, MacOS and VisualStudio 2008

2010-21-05 dcoeurjo

  • Iterators added to PointVector
  • Debug methods removed in Trace class
  • Many bug fixes for VS compatibility

2010-05-15 dcoeurjo

  • Assert.h: added macro ASSERT() added based on the boost/assert.hpp (TODO: implement a nice callback)
  • Point and Vector templated classes added
  • Space.*: skeleton of a DGtal::Space added

2010-03-03 dcoeurjo

  • math/MeasureOfStraightLines: new class to compute the measure of a set of Straight lines defined as a polygon in the (a,b) parameter space.
  • test_measure: added

2010-02-17 dcoeurjo

  • Trace: new class models for output streams in Trace class.
  • TraceWriter/TraceWriterTerm/TraceWriterFile: added

2010-02-12 dcoeurjo

  • models: bug fix in INLINE commands
  • Trace/Clock: minor edit and bug report

2010-01-05 dcoeurjo

  • Trace can be initialized on diffrent output stream (e.g. std::cerr or a file stream)
  • test_trace: update to test the new API

2010-01-04 dcoeurjo

  • Clock: no more static variables and methods (in order to have several running clocks)
  • Trace: new interface and the endBlock displays and returns the ellapsed time within the block

2009-12-28 dcoeurjo

  • Trace: a new class to trace out messages to the standard output. Four type of messages are possible: info, debug, error and "emphased". On color linux terminal, messages appears with an appropriate color foreground.
  • test_trace: an illustration of the Trace interface

2009-12-14 dcoeurjo

  • CMakeLists, test_clock updates to ensure compatibility with VisualStudio
  • New cmake options
  • OPTION(BUILD_SHARED_LIBS "Build shared libraries." ON)
  • OPTION(BUILD_TESTS "Build tests." ON)

2009-12-11 dcoeurjo

  • CMakeLists scripts and first backport from imagene (Clock class)

2009-12-11 dcoeurjo

  • Repository cleanup:
    • Modeles and genereateClass.sh removed
    • JOL scripts & templates added

2009-12-03 dcoeurjo

  • Modeles: class templates added with generateClass.sh script