week4

Week4

22/03/2023

Goals for week4:

l  Compare the extracted lens with fitting graph

l  Using color map to show deviation

l  Calculate the actual surface curvature


According to fitting graph, we can get a spherical equation:
Because we have got scatter plot of the extracted lens, the picture is below that:

Then, substitute coordinates of all pairs of points into the spherical equation, which can get deviation of position. And according to the deviation, we can use color map to show the difference clearly.

In actuality, we have come up with many ways to calculate curvature, but some ways are not useful. For example, Gaussian curvature can be calculated by using a 3-D surface where there is equidistant grid variation of points. However, after fitting graph and choosing amounts of deviated points, we only get a set of scatter plot.

As a result, we figured out another way to calculate the curvature of scatter plot: fitting a deterministic sphere by selecting the proximity of a deterministic point in 3D space. Based on this idea, we use the K-D tree to collect the set of neighbouring points of a deterministic point and we set the size of the set is 100. After doing that, we use least squares to fit the local surface and traverse all coordinate points and calculate the ideal spherical curvature.


评论

此博客中的热门博文

week1

week3