#include <transformation_estimation_point_to_plane_weighted.h>
Classes | |
struct | Functor |
struct | OptimizationFunctor |
struct | OptimizationFunctorWithIndices |
Public Types | |
typedef boost::shared_ptr < const TransformationEstimationPointToPlaneWeighted < PointSource, PointTarget, MatScalar > > | ConstPtr |
typedef TransformationEstimation < PointSource, PointTarget, MatScalar >::Matrix4 | Matrix4 |
typedef boost::shared_ptr < TransformationEstimationPointToPlaneWeighted < PointSource, PointTarget, MatScalar > > | Ptr |
typedef Eigen::Matrix < MatScalar, 4, 1 > | Vector4 |
typedef Eigen::Matrix < MatScalar, Eigen::Dynamic, 1 > | VectorX |
Public Member Functions | |
void | estimateRigidTransformation (const pcl::PointCloud< PointSource > &cloud_src, const pcl::PointCloud< PointTarget > &cloud_tgt, Matrix4 &transformation_matrix) const |
Estimate a rigid rotation transformation between a source and a target point cloud using LM. | |
void | estimateRigidTransformation (const pcl::PointCloud< PointSource > &cloud_src, const std::vector< int > &indices_src, const pcl::PointCloud< PointTarget > &cloud_tgt, Matrix4 &transformation_matrix) const |
Estimate a rigid rotation transformation between a source and a target point cloud using LM. | |
void | estimateRigidTransformation (const pcl::PointCloud< PointSource > &cloud_src, const std::vector< int > &indices_src, const pcl::PointCloud< PointTarget > &cloud_tgt, const std::vector< int > &indices_tgt, Matrix4 &transformation_matrix) const |
Estimate a rigid rotation transformation between a source and a target point cloud using LM. | |
void | estimateRigidTransformation (const pcl::PointCloud< PointSource > &cloud_src, const pcl::PointCloud< PointTarget > &cloud_tgt, const pcl::Correspondences &correspondences, Matrix4 &transformation_matrix) const |
Estimate a rigid rotation transformation between a source and a target point cloud using LM. | |
TransformationEstimationPointToPlaneWeighted & | operator= (const TransformationEstimationPointToPlaneWeighted &src) |
Copy operator. | |
void | setUseCorrespondenceWeights (bool use_correspondence_weights) |
use the weights given in the pcl::CorrespondencesPtr for one of the estimateTransformation (...) methods | |
void | setWarpFunction (const boost::shared_ptr< WarpPointRigid< PointSource, PointTarget, MatScalar > > &warp_fcn) |
Set the function we use to warp points. Defaults to rigid 6D warp. | |
void | setWeights (const std::vector< double > &weights) |
TransformationEstimationPointToPlaneWeighted () | |
Constructor. | |
TransformationEstimationPointToPlaneWeighted (const TransformationEstimationPointToPlaneWeighted &src) | |
Copy constructor. | |
virtual | ~TransformationEstimationPointToPlaneWeighted () |
Destructor. | |
Protected Attributes | |
std::vector< double > | correspondence_weights_ |
const std::vector< int > * | tmp_idx_src_ |
Temporary pointer to the source dataset indices. | |
const std::vector< int > * | tmp_idx_tgt_ |
Temporary pointer to the target dataset indices. | |
const PointCloudSource * | tmp_src_ |
Temporary pointer to the source dataset. | |
const PointCloudTarget * | tmp_tgt_ |
Temporary pointer to the target dataset. | |
bool | use_correspondence_weights_ |
boost::shared_ptr < pcl::registration::WarpPointRigid < PointSource, PointTarget, MatScalar > > | warp_point_ |
The parameterized function used to warp the source to the target. | |
Private Types | |
typedef pcl::PointCloud < PointSource > | PointCloudSource |
typedef PointCloudSource::ConstPtr | PointCloudSourceConstPtr |
typedef PointCloudSource::Ptr | PointCloudSourcePtr |
typedef pcl::PointCloud < PointTarget > | PointCloudTarget |
typedef PointIndices::ConstPtr | PointIndicesConstPtr |
typedef PointIndices::Ptr | PointIndicesPtr |
TransformationEstimationPointToPlaneWeighted uses Levenberg Marquardt optimization to find the transformation that minimizes the point-to-plane distance between the given correspondences. In addition to the TransformationEstimationPointToPlane class, this version takes per-correspondence weights and optimizes accordingly.
Definition at line 59 of file transformation_estimation_point_to_plane_weighted.h.
typedef boost::shared_ptr<const TransformationEstimationPointToPlaneWeighted<PointSource, PointTarget, MatScalar> > pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::ConstPtr |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 72 of file transformation_estimation_point_to_plane_weighted.h.
typedef TransformationEstimation<PointSource, PointTarget, MatScalar>::Matrix4 pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::Matrix4 |
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 76 of file transformation_estimation_point_to_plane_weighted.h.
typedef pcl::PointCloud<PointSource> pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::PointCloudSource [private] |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 61 of file transformation_estimation_point_to_plane_weighted.h.
typedef PointCloudSource::ConstPtr pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::PointCloudSourceConstPtr [private] |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 63 of file transformation_estimation_point_to_plane_weighted.h.
typedef PointCloudSource::Ptr pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::PointCloudSourcePtr [private] |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 62 of file transformation_estimation_point_to_plane_weighted.h.
typedef pcl::PointCloud<PointTarget> pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::PointCloudTarget [private] |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 65 of file transformation_estimation_point_to_plane_weighted.h.
typedef PointIndices::ConstPtr pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::PointIndicesConstPtr [private] |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 68 of file transformation_estimation_point_to_plane_weighted.h.
typedef PointIndices::Ptr pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::PointIndicesPtr [private] |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 67 of file transformation_estimation_point_to_plane_weighted.h.
typedef boost::shared_ptr<TransformationEstimationPointToPlaneWeighted<PointSource, PointTarget, MatScalar> > pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::Ptr |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 71 of file transformation_estimation_point_to_plane_weighted.h.
typedef Eigen::Matrix<MatScalar, 4, 1> pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::Vector4 |
Reimplemented from pcl::registration::TransformationEstimationPointToPlane< PointSource, PointTarget, MatScalar >.
Definition at line 75 of file transformation_estimation_point_to_plane_weighted.h.
typedef Eigen::Matrix<MatScalar, Eigen::Dynamic, 1> pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::VectorX |
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 74 of file transformation_estimation_point_to_plane_weighted.h.
pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::TransformationEstimationPointToPlaneWeighted | ( | ) |
Constructor.
Definition at line 50 of file transformation_estimation_point_to_plane_weighted.hpp.
pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::TransformationEstimationPointToPlaneWeighted | ( | const TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar > & | src | ) | [inline] |
Copy constructor.
[in] | src | the TransformationEstimationPointToPlaneWeighted object to copy into this |
Definition at line 84 of file transformation_estimation_point_to_plane_weighted.h.
virtual pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::~TransformationEstimationPointToPlaneWeighted | ( | ) | [inline, virtual] |
Destructor.
Definition at line 110 of file transformation_estimation_point_to_plane_weighted.h.
void pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::estimateRigidTransformation | ( | const pcl::PointCloud< PointSource > & | cloud_src, |
const pcl::PointCloud< PointTarget > & | cloud_tgt, | ||
Matrix4 & | transformation_matrix | ||
) | const [inline] |
Estimate a rigid rotation transformation between a source and a target point cloud using LM.
[in] | cloud_src | the source point cloud dataset |
[in] | cloud_tgt | the target point cloud dataset |
[out] | transformation_matrix | the resultant transformation matrix |
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 63 of file transformation_estimation_point_to_plane_weighted.hpp.
void pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::estimateRigidTransformation | ( | const pcl::PointCloud< PointSource > & | cloud_src, |
const std::vector< int > & | indices_src, | ||
const pcl::PointCloud< PointTarget > & | cloud_tgt, | ||
Matrix4 & | transformation_matrix | ||
) | const [inline] |
Estimate a rigid rotation transformation between a source and a target point cloud using LM.
[in] | cloud_src | the source point cloud dataset |
[in] | indices_src | the vector of indices describing the points of interest in cloud_src |
[in] | cloud_tgt | the target point cloud dataset |
[out] | transformation_matrix | the resultant transformation matrix |
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 124 of file transformation_estimation_point_to_plane_weighted.hpp.
void pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::estimateRigidTransformation | ( | const pcl::PointCloud< PointSource > & | cloud_src, |
const std::vector< int > & | indices_src, | ||
const pcl::PointCloud< PointTarget > & | cloud_tgt, | ||
const std::vector< int > & | indices_tgt, | ||
Matrix4 & | transformation_matrix | ||
) | const [inline] |
Estimate a rigid rotation transformation between a source and a target point cloud using LM.
[in] | cloud_src | the source point cloud dataset |
[in] | indices_src | the vector of indices describing the points of interest in cloud_src |
[in] | cloud_tgt | the target point cloud dataset |
[in] | indices_tgt | the vector of indices describing the correspondences of the interst points from indices_src |
[out] | transformation_matrix | the resultant transformation matrix |
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 159 of file transformation_estimation_point_to_plane_weighted.hpp.
void pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::estimateRigidTransformation | ( | const pcl::PointCloud< PointSource > & | cloud_src, |
const pcl::PointCloud< PointTarget > & | cloud_tgt, | ||
const pcl::Correspondences & | correspondences, | ||
Matrix4 & | transformation_matrix | ||
) | const [inline] |
Estimate a rigid rotation transformation between a source and a target point cloud using LM.
[in] | cloud_src | the source point cloud dataset |
[in] | cloud_tgt | the target point cloud dataset |
[in] | correspondences | the vector of correspondences between source and target point cloud |
[out] | transformation_matrix | the resultant transformation matrix |
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 222 of file transformation_estimation_point_to_plane_weighted.hpp.
TransformationEstimationPointToPlaneWeighted& pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::operator= | ( | const TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar > & | src | ) | [inline] |
Copy operator.
[in] | src | the TransformationEstimationPointToPlaneWeighted object to copy into this |
Definition at line 98 of file transformation_estimation_point_to_plane_weighted.h.
void pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::setUseCorrespondenceWeights | ( | bool | use_correspondence_weights | ) | [inline] |
use the weights given in the pcl::CorrespondencesPtr for one of the estimateTransformation (...) methods
Definition at line 176 of file transformation_estimation_point_to_plane_weighted.h.
void pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::setWarpFunction | ( | const boost::shared_ptr< WarpPointRigid< PointSource, PointTarget, MatScalar > > & | warp_fcn | ) | [inline] |
Set the function we use to warp points. Defaults to rigid 6D warp.
[in] | warp_fcn | a shared pointer to an object that warps points |
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 183 of file transformation_estimation_point_to_plane_weighted.h.
void pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::setWeights | ( | const std::vector< double > & | weights | ) | [inline] |
Definition at line 171 of file transformation_estimation_point_to_plane_weighted.h.
std::vector<double> pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::correspondence_weights_ [mutable, protected] |
Definition at line 188 of file transformation_estimation_point_to_plane_weighted.h.
const std::vector<int>* pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::tmp_idx_src_ [mutable, protected] |
Temporary pointer to the source dataset indices.
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 197 of file transformation_estimation_point_to_plane_weighted.h.
const std::vector<int>* pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::tmp_idx_tgt_ [mutable, protected] |
Temporary pointer to the target dataset indices.
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 200 of file transformation_estimation_point_to_plane_weighted.h.
const PointCloudSource* pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::tmp_src_ [mutable, protected] |
Temporary pointer to the source dataset.
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 191 of file transformation_estimation_point_to_plane_weighted.h.
const PointCloudTarget* pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::tmp_tgt_ [mutable, protected] |
Temporary pointer to the target dataset.
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 194 of file transformation_estimation_point_to_plane_weighted.h.
bool pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::use_correspondence_weights_ [protected] |
Definition at line 187 of file transformation_estimation_point_to_plane_weighted.h.
boost::shared_ptr<pcl::registration::WarpPointRigid<PointSource, PointTarget, MatScalar> > pcl::registration::TransformationEstimationPointToPlaneWeighted< PointSource, PointTarget, MatScalar >::warp_point_ [protected] |
The parameterized function used to warp the source to the target.
Reimplemented from pcl::registration::TransformationEstimationLM< PointSource, PointTarget, MatScalar >.
Definition at line 203 of file transformation_estimation_point_to_plane_weighted.h.