Smoothing 2D Contours Using Local Regression Lines

This submission contains both the implementation and the test function for 2D contour smoothing.

Download
Download

You are now following this Submission

Cite As

Tolga Birdal (2026). Smoothing 2D Contours Using Local Regression Lines (https://www.mathworks.com/matlabcentral/fileexchange/30793-smoothing-2d-contours-using-local-regression-lines), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Description updated

Download
1.1.0

Now uses Andrey Sokolov's Weighted Orthogonal Least Squares fit, with gaussian weighting. This is smoother, more robust and less prone to sudden changes such as corners. (If gaussian weighting is not used, it's also faster).

Download
1.0.0

Download