Fitting an Asphere to a set of 3D point cloud data

조회 수: 5 (최근 30일)
Feri
Feri 2020년 3월 16일
편집: Feri 2020년 3월 26일
Hello,
I have a set of X, Y, Z values that form an "asphere", the formula for this asphere is as follows:
R = -353.5;
k = -1.0;
c = 1/R;
Form =@(x, y, k, c) c*((x-x0).^2+(y-y0).^2) ./(1+sqrt(1-(1+k)*c^2*((x-x0).^2+(y-y0).^2))); % x0, y0 coordinates of the center of the asphere
My qustion is: how can I use MATLAB cftool (or any other way) to fit an asphere made with the above formula to the 3D data (X, Y, Z) to obtain the minimum residual.
Any help is much appreciated.

답변 (1개)

darova
darova 2020년 3월 16일
I tried usual paraboloid
  댓글 수: 8
Feri
Feri 2020년 3월 17일
Darova I really appreciate your help but I still don’t have the answer to my question.
The residual should be a flat plane.
darova
darova 2020년 3월 17일

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by