CRHAlignment uses two Camera Roll Histograms (CRH) to find the roll rotation that aligns both views.
More...
#include <pcl/recognition/crh_alignment.h>
Classes |
| struct | peaks_ordering |
| | Sorts peaks.
|
Detailed Description
template<typename PointT, int nbins_>
class pcl::CRHAlignment< PointT, nbins_ >
CRHAlignment uses two Camera Roll Histograms (CRH) to find the roll rotation that aligns both views.
See:
- CAD-Model Recognition and 6 DOF Pose Estimation A. Aldoma, N. Blodow, D. Gossow, S. Gedikli, R.B. Rusu, M. Vincze and G. Bradski ICCV 2011, 3D Representation and Recognition (3dRR11) workshop Barcelona, Spain, (2011)
- Author
- Aitor Aldoma
Definition at line 31 of file crh_alignment.h.
Constructor & Destructor Documentation
template<typename PointT , int nbins_>
Member Function Documentation
template<typename PointT , int nbins_>
Computes the transformation aligning model to input.
- Parameters
-
| [in] | input_ftt | CRH histogram of the input cloud |
| [in] | target_ftt | CRH histogram of the target cloud |
Definition at line 147 of file crh_alignment.h.
template<typename PointT , int nbins_>
Computes the roll angle that aligns input to modle.
- Parameters
-
| [in] | input_ftt | CRH histogram of the input cloud |
| [in] | target_ftt | CRH histogram of the target cloud |
| [out] | peaks | Vector containing angles where the histograms correlate |
Definition at line 185 of file crh_alignment.h.
References pcl::PointCloud< PointT >::points, and kiss_fft_cpx::r.
template<typename PointT , int nbins_>
| void pcl::CRHAlignment< PointT, nbins_ >::getTransforms |
( |
std::vector< Eigen::Matrix4f, Eigen::aligned_allocator< Eigen::Matrix4f > > & |
transforms | ) |
|
|
inline |
returns the computed transformations
- Parameters
-
| [out] | transforms | transformations |
Definition at line 116 of file crh_alignment.h.
template<typename PointT , int nbins_>
| void pcl::CRHAlignment< PointT, nbins_ >::setInputAndTargetCentroids |
( |
Eigen::Vector3f & |
c1, |
|
|
Eigen::Vector3f & |
c2 |
|
) |
| |
|
inline |
sets model and input centroids
- Parameters
-
| [in] | c1 | model view centroid |
| [in] | c2 | input view centroid |
Definition at line 136 of file crh_alignment.h.
template<typename PointT , int nbins_>
| void pcl::CRHAlignment< PointT, nbins_ >::setInputAndTargetView |
( |
PointTPtr & |
input_view, |
|
|
PointTPtr & |
target_view |
|
) |
| |
|
inline |
sets model and input views
- Parameters
-
| [in] | input_view | |
| [in] | target_view | |
Definition at line 125 of file crh_alignment.h.
The documentation for this class was generated from the following file: