Skip to content

Commit b45c4ea

Browse files
duanbotu123mvieth
andauthored
Update registration/include/pcl/registration/fricp.h
Co-authored-by: Markus Vieth <39675748+mvieth@users.noreply.github.com>
1 parent 397b7f3 commit b45c4ea

File tree

1 file changed

+9
-0
lines changed
  • registration/include/pcl/registration

1 file changed

+9
-0
lines changed

registration/include/pcl/registration/fricp.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ namespace pcl {
5656
* The solver relies on Welsch reweighting for robustness and optional Anderson
5757
* acceleration for faster convergence.
5858
*
59+
* \code
60+
* pcl::FastRobustIterativeClosestPoint<PointT, PointT> reg;
61+
* reg.setInputSource (src); // src and tgt are clouds that must be created before
62+
* reg.setInputTarget (tgt);
63+
* reg.setMaximumIterations (60); // parameters may have to be tuned, depending on the point clouds
64+
* reg.setTransformationEpsilon (1e-8);
65+
* pcl::PointCloud<PointT> output;
66+
* reg.align (output);
67+
* \endcode
5968
* \ingroup registration
6069
*/
6170
template <typename PointSource, typename PointTarget, typename Scalar = float>

0 commit comments

Comments
 (0)