Skip to content

loopvoid/mls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

MLS(moving least-squares)

移动最小二乘的二维曲面的拟合

moving least-squares for surface fitting

Cpp version

simple 2-d image fitting and human face fitting example.

PS: It's an initial draft, no efficient enouth.(small image input is faster.)

simple 2-d image fitting

2d_fitbbbb_src

bbbbbbbb_png

Top is the orignial image on the left and it's 3-d image shown in Matlab on the right.

Botton it the mls output image and it's 3-d image shown in Matlab on the right.

face depth image fitting

img_8uc1img_8uc1_src

img_8uc1_30_704img_8uc1_30_704_fig

Top is the orignial face depth image on the left and it's 3-d image shown in Matlab on the right.

Botton it the mls output face depth image and it's 3-d image shown in Matlab on the right.

Matlab version

origin image:

22result

after fitting:

111

2222

Reference:

[1].Moving Least-squares for surface fitting

[2].基于移动最小二乘法的曲线曲面拟合_曾清红

[3].深入理解移动最小二乘法曲面拟合

[4].移动最小二乘法(MLS)曲线曲面拟合

[5].移动最小二乘法在点云平滑和重采样中的应用

[6].基于移动最小二乘法的曲线曲面拟合(python语言实现)

[7].MLS(移动最小二乘)