Surface metrology open profile spline filter

Procedures and function set for surface open profile filtering using spline filter by ISO 16610-22.
286 Downloads
Updated 6 Nov 2015

View License

ISO/TS 16610-22 Open profile spline filter
The library contains functions which implement open 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=[y1 y2…yn], sampling interval dx and cut-off wavelength lc. An output argument is filtered profile line vector W=[y1 y2…yn]. 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. Other library component is the function for standardized transmission calculation and the procedure for standardized transmission characteristic plotting.

-----------------------------------------------------------------------------------
Main function:
--------------------------------------------------------
- The function [wprofile] = splfltlin( pprofile,dx,lc,show ) for open profile filtering.
--------------------------------------------------------
Auxiliary, testing and demonstrating procedures:
--------------------------------------------------------
- The function [pmatrix] = pmatlin( n ) for P-matrix generating.
- The function [qmatrix] = qmatlin( n ) for Q-matrix generating.
- The function [yvector,xvector,dx] = linprogen( length,n,lambda,amplitude ) for harmonic open profile generating.
- The function [transmission] = splfltlwt( l,dx,lc ) for open profile spline filter long wave component transmission calculation.
- The procedure splfltlwchar for long wave component transmission characteristic displaying.
- The function [transmission] = splfltswt( l,dx,lc ) for open profile spline filter short wave component transmission calculation.
- The procedure splfltswchar for short wave component transmission characteristic displaying.
--------------------------------------------------------
and
- The procedure howtousesplfltlin for demonstration how to use the function for open profile spline filtering.

Cite As

Jiri Vit (2024). Surface metrology open profile spline filter (https://www.mathworks.com/matlabcentral/fileexchange/52562-surface-metrology-open-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.1.0.0

Styling for article
Abstract

2.0.0.0

Code design improvement.

1.2.0.0

Library separation into Open profile spline filter library and Closed profile spline filter library.
Description editing.

1.1.0.0

Styling adjustment only.

1.0.0.0