Point Cloud Library (PCL)
1.14.1-dev
|
CRHAlignment uses two Camera Roll Histograms (CRH) to find the roll rotation that aligns both views. More...
#include <pcl/recognition/crh_alignment.h>
Public Member Functions | |
CRHAlignment () | |
Constructor. More... | |
void | getTransforms (std::vector< Eigen::Matrix4f, Eigen::aligned_allocator< Eigen::Matrix4f > > &transforms) |
returns the computed transformations More... | |
void | setInputAndTargetView (PointTPtr &input_view, PointTPtr &target_view) |
sets model and input views More... | |
void | setInputAndTargetCentroids (Eigen::Vector3f &c1, Eigen::Vector3f &c2) |
sets model and input centroids More... | |
void | align (pcl::PointCloud< pcl::Histogram< nbins_ > > &input_ftt, pcl::PointCloud< pcl::Histogram< nbins_ > > &target_ftt) |
Computes the transformation aligning model to input. More... | |
void | computeRollAngle (pcl::PointCloud< pcl::Histogram< nbins_ > > &input_ftt, pcl::PointCloud< pcl::Histogram< nbins_ > > &target_ftt, std::vector< float > &peaks) |
Computes the roll angle that aligns input to model. More... | |
CRHAlignment uses two Camera Roll Histograms (CRH) to find the roll rotation that aligns both views.
See:
Definition at line 30 of file crh_alignment.h.
|
inline |
Constructor.
Definition at line 106 of file crh_alignment.h.
|
inline |
Computes the transformation aligning model to input.
[in] | input_ftt | CRH histogram of the input cloud |
[in] | target_ftt | CRH histogram of the target cloud |
Definition at line 146 of file crh_alignment.h.
|
inline |
Computes the roll angle that aligns input to model.
[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 184 of file crh_alignment.h.
References kiss_fft_cpx::i, and kiss_fft_cpx::r.
|
inline |
returns the computed transformations
[out] | transforms | transformations |
Definition at line 115 of file crh_alignment.h.
|
inline |
sets model and input centroids
[in] | c1 | model view centroid |
[in] | c2 | input view centroid |
Definition at line 135 of file crh_alignment.h.
|
inline |
sets model and input views
[in] | input_view | |
[in] | target_view |
Definition at line 124 of file crh_alignment.h.