TriDiMap Matlab toolbox


Determination of the mechanical properties of each individual phase in the case of a multiphase, heterogeneous or composite material can be achieved using the grid nanoindentation technique [1], [2] and [3].

The TriDiMap toolbox has been developed to plot, to map and to analyze (nano)indentation dataset.

With this Matlab toolbox, it is possible:
  • to map (in 2D or 3D), to interpolate and to smooth indentation map;

  • to plot elastic modulus vs hardness values;

  • to plot and to fit probability density functions;

  • to plot and to fit cumulative density functions;

  • to extract statistical values (mean, min, max with standard deviations) of mechanical properties and fractions for each phase;

  • to correct mechanical map using image correlation with microstructural map;

  • to correlate/compare mechanical map with microstructural map;

  • to plot 4D mechanical property map (indentation tomography).


Source code is hosted at Github.


Download source code as a .zip file.


Download the documentation as a pdf file.


Figure 1 Screenshot of the TriDiMap toolbox




David Mercier [1]

[1] CRM Group, Avenue du Bois Saint-Jean 21, B27 – Quartier Polytech 4, 4000 Liège, Belgium

Reference papers


Matlab toolbox; nanoindentation; mapping; grid; 2D; 3D; mechanical properties; probability density function; deconvolution; multimodal Gaussian fit; cumulative density function; image correlation.


  • Pierre Huyghes (ULB, Bruxelles) and Antoine Hilhorst (UCL, Louvain-La-Neuve) contributed to the Matlab code.

  • Franck Nozahic (OCAS, Zwijnaarde) contributed to the documentation.


The author is grateful to Dr. Jiri Nemecek from Czech Technical University, Czech Republic (Prague) and to Dr. Nicholas Randall from Alemnis AG, for discussions and many advices about nanoindentation mapping.

The author is grateful to Jean-François Vanhumbeeck and Xavier Vanden Eynde (CRM Group, Belgium (Liège)), for fruitful discussion and co-authoring of reference papers.

The author is grateful to Debora Rosseel, Franck Nozahic and Mélanie Gauvin (OCAS, Belgium (Zwijnaarde)), for providing example files and lots of fruitful feedbacks/remarks.