Constraining surface fitting to go through certain points

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Constraining surface fitting to go through certain points

Andrew Cunningham
Hi,

Is it possible to constrained the surface fitting to go through a subset of the points?

Thanks
Andrew

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Constraining surface fitting to go through certain points

MarkL
If you use Poisson reconstruction:

1) Point Weight parameter controls how much the interpolation is constrained
to be close to the original points. Default values is 4. You need to
increase it.
void setPointWeight (float point_weight)
http://docs.pointclouds.org/trunk/classpcl_1_1_poisson.html#a9152fd1faeadc56bf654f6def2ebdcee

2) Confidence parameter should be set to True, so that the magnitude of the
normals will be used as the weight for each point. Which also means you need
to update the magnitude of normals in your point cloud accordingly.
void setConfidence (bool confidence)
http://docs.pointclouds.org/trunk/classpcl_1_1_poisson.html#a85dca9e217cc4be507a79b3ab4958557

More details at the auther's article:
http://www.cs.jhu.edu/~misha/MyPapers/ToG13.pdf
Kazhdan, Michael, and Hugues Hoppe. "Screened poisson surface
reconstruction." ACM Transactions on Graphics (TOG) 32.3 (2013): 29.


Andrew Cunningham wrote
> Is it possible to constrained the surface fitting to go through a subset
> of
> the points?





--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Constraining surface fitting to go through certain points

Andrew Cunningham
Excellent,thanks for the help. Looks like some homework for me...

On Sun, Oct 15, 2017 at 3:39 AM, MarkL <[hidden email]> wrote:
If you use Poisson reconstruction:

1) Point Weight parameter controls how much the interpolation is constrained
to be close to the original points. Default values is 4. You need to
increase it.
void    setPointWeight (float point_weight)
http://docs.pointclouds.org/trunk/classpcl_1_1_poisson.html#a9152fd1faeadc56bf654f6def2ebdcee

2) Confidence parameter should be set to True, so that the magnitude of the
normals will be used as the weight for each point. Which also means you need
to update the magnitude of normals in your point cloud accordingly.
void    setConfidence (bool confidence)
http://docs.pointclouds.org/trunk/classpcl_1_1_poisson.html#a85dca9e217cc4be507a79b3ab4958557

More details at the auther's article:
http://www.cs.jhu.edu/~misha/MyPapers/ToG13.pdf
Kazhdan, Michael, and Hugues Hoppe. "Screened poisson surface
reconstruction." ACM Transactions on Graphics (TOG) 32.3 (2013): 29.


Andrew Cunningham wrote
> Is it possible to constrained the surface fitting to go through a subset
> of
> the points?





--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users