Surface metrology closed profile spline filter

Function set for surface closed profile filtering using spline filter by ISO 16610-22.
196 Downloads
Updated 6 Nov 2015

View License

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
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.2.0.0

Abstract

2.1.0.0

Styling for article

2.0.0.0

Code design improvement.

1.0.0.0

Description editing.