Surface metrology closed profile spline filter
ISO/TS 16610-22 Closed profile spline filter
The library contains functions which implement closed profile spline filter according ISO/TS 16610-22:2006. The filter is intended to use for separation of short and long wave component profiles from primary surface profile in surface metrology. Roughness parameters can be evaluated from short wave component profile. Waviness parameters and form, position and run-out deviations can be evaluated from long wave component profile. Cut-off wavelength lc is the criterion for primary profile separation. The filter is based on cardinal cubic splines and meets condition of mean-line bending energy minimization. The function forms and solves matrix equation according ISO/TS 16610:22. Input arguments of filter function are primary profile values line vector P=[r1 r2…rn], sampling peripheral interval dx and cut-off wavelength lc. An output argument is filtered profile line vector W=[r1 r2…rn]. The library contains a procedure for demonstration of filter application using attached real profile, or a harmonic sine profile generated on the bases of entered parameters.
------------------------------------------------------------------------------------
Main function:
--------------------------------------------------------
- The function [wprofile] = splfltpol( pprofile,dx,lc,show ) for closed profile filtering.
--------------------------------------------------------
Auxiliary, testing and demonstrating procedures:
--------------------------------------------------------
- The function [pmatrix] = pmatpol( n ) for P-matrix generating.
- The function [qmatrix] = qmatpol( n ) for Q-matrix generating.
- The function [rhovector,phivector,ccf] = polprogen( radius,n,fqc,amplitude ) for harmonic closed profile generating.
--------------------------------------------------------
and
- The procedure howtousesplfltpol for demonstration how to use the function for closed profile spline filtering.
Cite As
Jiri Vit (2024). Surface metrology closed profile spline filter (https://www.mathworks.com/matlabcentral/fileexchange/52858-surface-metrology-closed-profile-spline-filter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.