Skip to content

DGtal-team/DGtalTools-contrib

Repository files navigation

DGtalTools-contrib

Various tools from the community built using DGtal. Contrary to the DGtalTools project, these tools are not necessary final but can be considered as development tools or prototypes used to share recent research in progress.

More Information

  • Release 1.3 DOI
  • Release 1.2 DOI
  • Release 1.1.1 DOI DOI
  • Release 0.9.4.1 DOI DOI
  • Release 0.9.4 DOI DOI
  • Release 0.9.3 DOI DOI
  • Release 0.9.2 DOI DOI
  • Release 0.9.1 DOI DOI
  • Continuous Integration (Linux/MacOS/Windows) Build status

Organisation

This project is actually organized as follows:

Geometry2d

This section can contains various utilities related to 2d geometry (2d estimators, 2d contour tools, ...):

  • houghLineDetect: line detection from the hough transform (from OpenCV implementation, use cmake option:-DWITH_OPENCV=true).

  • meaningFullThickness: to display the meaningful thickness of digital contour. [Bertrand Kerautret, Jacques-Olivier Lachaud and Mouhammad Said; Meaningful Thickness Detection on Polygonal Curve ; Proceedings of the 1st International Conference on Pattern Recognition Applications and Methods 2012 pp. 372--379)]

  • distanceTransform:

    • LUTBasedNSDistanceTransform: Compute the 2D translated neighborhood-sequence distance transform of a binary image.
    • CumulativeSequenceTest and RationalBeattySequenceTest: tests from LUTBasedNSDistanceTransform.
  • rosinThreshold : applies the Rosin Threshold algorithm on a simple file of data values.

  • rotNmap: Applies a rotation in the input normal map (it rotates both the position and normals orientation to be consistant).

meaningFullThickness

Geometry3d

As the previous section but in 3d, it contains actually these tools:

  • basicEditMesh: to apply basic mesh edition (scale change, mesh face contraction, face filtering).
  • basicMorphoFilter: apply basic morpho filter from a ball structural element.
  • computeMeshDistances: computes for each face of a mesh A the minimal distance to another mesh B.
  • graph2vol: converts graph object into volumetric image.
  • meshAxisCutter: cuts the input mesh according one axis into sereral separate meshes.
  • volLocalMax: extract the local maximas of a vol image within a spherical kernel.
  • xyzScale: a basic tool to adjust the scale of an xyz file.
  • off2obj: tool to convert a mesh represented in off format into obj format.
  • obj2off: tool to convert a .obj mesh into the .off format.
  • off2sdp: converts a mesh into a set of points (.sdp).
  • volFillCCSize: fills each Connected Component with a value corresponding to the number of voxels of the CC.
result after olFillCSSize input vol
computeMeshDistances volFillCCSize (visualisation of input (left) and result (right)

Visualisation

This section, can contain all tools related to visualisation:

  • displayLineSegments: to display lines as vectorial image.
  • displayTgtCoverAlphaTS: to display alpha-thick segment given on a simple contour.
  • meshViewerEdit: tool to visualize a mesh and to apply simple edits (face removal, color edits...).
  • graphViewer: tool to display graphs from a list of edges, a list of vertex and an optionnal list of radius for each edge.
  • polyMeshEdit: tool to edit a mesh (add local noise, remove selected faces).
displayTgtCoverAlphaTS meshViewerEdit graphViewer
polyMeshEdit