Skip to content

mts-public/feature-characterization-for-profile-surface-texture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Feature Characterization

This repository contains the companion code for the paper "Feature Characterization for Profile Surface Texture". The algorithm is based on the definitions in ISO 21920-2.

Watershed Segmentation

In the following are some illustrations to show the idea of watershed segmentation. For more information, see the paper.

Method to determine watersheds in 2.5D data set

animation.mp4

Method transferred to 2D data set

Usage of feature characterization

The Convention is summarized in the following figure:

The functionality can be tested directly using "minimal_example.m" with or "minimal_example.py" an editable dummy profile. Alternatively, there is a GUI for Matlab "GUI.mlapp" where, for example, the profiles from "data/profiles for case studies" can be loaded and the algorithm applied by varying the various input arguments.

Preliminaries MATLAB

Add "featurecharacterization2d"-folder to search path of Matlab

addpath(*path to featurecharacterization2d*)

to permanently save the path

save path
Version
  • MATLAB 2017a and higher

Preliminaries Python

Install featurecharacterization2d package.

cd python
pip install .

Additional dependencies for development and plotting (scipy, matplotlib, jupyter notebook) are installed by

pip install .[extra]
Version
  • python>=3.11

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors