|
using | Ptr = shared_ptr< BOARDLocalReferenceFrameEstimation< PointInT, PointNT, PointOutT > > |
|
using | ConstPtr = shared_ptr< const BOARDLocalReferenceFrameEstimation< PointInT, PointNT, PointOutT > > |
|
using | PointCloudN = pcl::PointCloud< PointNT > |
|
using | PointCloudNPtr = typename PointCloudN::Ptr |
|
using | PointCloudNConstPtr = typename PointCloudN::ConstPtr |
|
using | Ptr = shared_ptr< FeatureFromNormals< PointInT, PointNT, ReferenceFrame > > |
|
using | ConstPtr = shared_ptr< const FeatureFromNormals< PointInT, PointNT, ReferenceFrame > > |
|
using | BaseClass = PCLBase< PointInT > |
|
using | Ptr = shared_ptr< Feature< PointInT, ReferenceFrame > > |
|
using | ConstPtr = shared_ptr< const Feature< PointInT, ReferenceFrame > > |
|
using | KdTree = pcl::search::Search< PointInT > |
|
using | KdTreePtr = typename KdTree::Ptr |
|
using | PointCloudIn = pcl::PointCloud< PointInT > |
|
using | PointCloudInPtr = typename PointCloudIn::Ptr |
|
using | PointCloudInConstPtr = typename PointCloudIn::ConstPtr |
|
using | PointCloudOut = pcl::PointCloud< ReferenceFrame > |
|
using | SearchMethod = std::function< int(std::size_t, double, pcl::Indices &, std::vector< float > &)> |
|
using | SearchMethodSurface = std::function< int(const PointCloudIn &cloud, std::size_t index, double, pcl::Indices &, std::vector< float > &)> |
|
using | PointCloud = pcl::PointCloud< PointInT > |
|
using | PointCloudPtr = typename PointCloud::Ptr |
|
using | PointCloudConstPtr = typename PointCloud::ConstPtr |
|
using | PointIndicesPtr = PointIndices::Ptr |
|
using | PointIndicesConstPtr = PointIndices::ConstPtr |
|
|
| BOARDLocalReferenceFrameEstimation () |
| Constructor. More...
|
|
| ~BOARDLocalReferenceFrameEstimation () override=default |
| Empty destructor. More...
|
|
void | setTangentRadius (float radius) |
| Set the maximum distance of the points used to estimate the x_axis and y_axis of the BOARD Reference Frame for a given point. More...
|
|
float | getTangentRadius () const |
| Get the maximum distance of the points used to estimate the x_axis and y_axis of the BOARD Reference Frame for a given point. More...
|
|
void | setFindHoles (bool find_holes) |
| Sets whether holes in the margin of the support, for each point, are searched and accounted for in the estimation of the Reference Frame or not. More...
|
|
bool | getFindHoles () const |
| Gets whether holes in the margin of the support, for each point, are searched and accounted for in the estimation of the Reference Frame or not. More...
|
|
void | setMarginThresh (float margin_thresh) |
| Sets the percentage of the search radius (or tangent radius if set) after which a point is considered part of the support margin. More...
|
|
float | getMarginThresh () const |
| Gets the percentage of the search radius (or tangent radius if set) after which a point is considered part of the support margin. More...
|
|
void | setCheckMarginArraySize (int size) |
| Sets the number of slices in which is divided the margin for the search of missing regions. More...
|
|
int | getCheckMarginArraySize () const |
| Gets the number of slices in which is divided the margin for the search of missing regions. More...
|
|
void | setHoleSizeProbThresh (float prob_thresh) |
| Given the angle width of a hole in the support margin, sets the minimum percentage of a circumference this angle must cover to be considered a missing region in the support and hence used for the estimation of the Reference Frame. More...
|
|
float | getHoleSizeProbThresh () const |
| Given the angle width of a hole in the support margin, gets the minimum percentage of a circumference this angle must cover to be considered a missing region in the support and hence used for the estimation of the Reference Frame. More...
|
|
void | setSteepThresh (float steep_thresh) |
| Sets the minimum steepness that the normals of the points situated on the borders of the hole, with reference to the normal of the best point found by the algorithm, must have in order to be considered in the calculation of the Reference Frame. More...
|
|
float | getSteepThresh () const |
| Gets the minimum steepness that the normals of the points situated on the borders of the hole, with reference to the normal of the best point found by the algorithm, must have in order to be considered in the calculation of the Reference Frame. More...
|
|
| FeatureFromNormals () |
| Empty constructor. More...
|
|
void | setInputNormals (const PointCloudNConstPtr &normals) |
| Provide a pointer to the input dataset that contains the point normals of the XYZ dataset. More...
|
|
PointCloudNConstPtr | getInputNormals () const |
| Get a pointer to the normals of the input XYZ point cloud dataset. More...
|
|
| Feature () |
| Empty constructor. More...
|
|
void | setSearchSurface (const PointCloudInConstPtr &cloud) |
| Provide a pointer to a dataset to add additional information to estimate the features for every point in the input dataset. More...
|
|
PointCloudInConstPtr | getSearchSurface () const |
| Get a pointer to the surface point cloud dataset. More...
|
|
void | setSearchMethod (const KdTreePtr &tree) |
| Provide a pointer to the search object. More...
|
|
KdTreePtr | getSearchMethod () const |
| Get a pointer to the search method used. More...
|
|
double | getSearchParameter () const |
| Get the internal search parameter. More...
|
|
void | setKSearch (int k) |
| Set the number of k nearest neighbors to use for the feature estimation. More...
|
|
int | getKSearch () const |
| get the number of k nearest neighbors used for the feature estimation. More...
|
|
void | setRadiusSearch (double radius) |
| Set the sphere radius that is to be used for determining the nearest neighbors used for the feature estimation. More...
|
|
double | getRadiusSearch () const |
| Get the sphere radius used for determining the neighbors. More...
|
|
void | compute (PointCloudOut &output) |
| Base method for feature estimation for all points given in <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in setSearchMethod () More...
|
|
| PCLBase () |
| Empty constructor. More...
|
|
| PCLBase (const PCLBase &base) |
| Copy constructor. More...
|
|
virtual | ~PCLBase ()=default |
| Destructor. More...
|
|
virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. More...
|
|
PointCloudConstPtr const | getInputCloud () const |
| Get a pointer to the input point cloud dataset. More...
|
|
virtual void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More...
|
|
virtual void | setIndices (const IndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More...
|
|
virtual void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More...
|
|
virtual void | setIndices (std::size_t row_start, std::size_t col_start, std::size_t nb_rows, std::size_t nb_cols) |
| Set the indices for the points laying within an interest region of the point cloud. More...
|
|
IndicesPtr | getIndices () |
| Get a pointer to the vector of indices used. More...
|
|
IndicesConstPtr const | getIndices () const |
| Get a pointer to the vector of indices used. More...
|
|
const PointInT & | operator[] (std::size_t pos) const |
| Override PointCloud operator[] to shorten code. More...
|
|
|
void | resetData () |
|
float | computePointLRF (const int &index, Eigen::Matrix3f &lrf) |
| Estimate the LRF descriptor for a given point based on its spatial neighborhood of 3D points with normals. More...
|
|
void | computeFeature (PointCloudOut &output) override |
| Abstract feature estimation method. More...
|
|
void | directedOrthogonalAxis (Eigen::Vector3f const &axis, Eigen::Vector3f const &axis_origin, Eigen::Vector3f const &point, Eigen::Vector3f &directed_ortho_axis) |
| Given an axis (with origin axis_origin), return the orthogonal axis directed to point. More...
|
|
float | getAngleBetweenUnitVectors (Eigen::Vector3f const &v1, Eigen::Vector3f const &v2, Eigen::Vector3f const &axis) |
| return the angle (in radians) that rotate v1 to v2 with respect to axis . More...
|
|
void | normalDisambiguation (pcl::PointCloud< PointNT > const &normals_cloud, pcl::Indices const &normal_indices, Eigen::Vector3f &normal) |
| Disambiguates a normal direction using adjacent normals. More...
|
|
void | planeFitting (Eigen::Matrix< float, Eigen::Dynamic, 3 > const &points, Eigen::Vector3f ¢er, Eigen::Vector3f &norm) |
| Compute Least Square Plane Fitting in a set of 3D points. More...
|
|
void | projectPointOnPlane (Eigen::Vector3f const &point, Eigen::Vector3f const &origin_point, Eigen::Vector3f const &plane_normal, Eigen::Vector3f &projected_point) |
| Given a plane (origin and normal) and a point, return the projection of x on plane. More...
|
|
void | randomOrthogonalAxis (Eigen::Vector3f const &axis, Eigen::Vector3f &rand_ortho_axis) |
| Given an axis, return a random orthogonal axis. More...
|
|
bool | areEquals (float val1, float val2, float zero_float_eps=1E-8f) const |
| Check if val1 and val2 are equals. More...
|
|
virtual bool | initCompute () |
| This method should get called before starting the actual computation. More...
|
|
const std::string & | getClassName () const |
| Get a string representation of the name of this class. More...
|
|
virtual bool | deinitCompute () |
| This method should get called after ending the actual computation. More...
|
|
int | searchForNeighbors (std::size_t index, double parameter, pcl::Indices &indices, std::vector< float > &distances) const |
| Search for k-nearest neighbors using the spatial locator from setSearchmethod, and the given surface from setSearchSurface. More...
|
|
int | searchForNeighbors (const PointCloudIn &cloud, std::size_t index, double parameter, pcl::Indices &indices, std::vector< float > &distances) const |
| Search for k-nearest neighbors using the spatial locator from setSearchmethod, and the given surface from setSearchSurface. More...
|
|
bool | initCompute () |
| This method should get called before starting the actual computation. More...
|
|
bool | deinitCompute () |
| This method should get called after finishing the actual computation. More...
|
|
template<typename PointInT, typename PointNT, typename PointOutT = ReferenceFrame>
class pcl::BOARDLocalReferenceFrameEstimation< PointInT, PointNT, PointOutT >
BOARDLocalReferenceFrameEstimation implements the BOrder Aware Repeatable Directions algorithm for local reference frame estimation as described here:
- A. Petrelli, L. Di Stefano, "On the repeatability of the local reference frame for partial shape matching", 13th International Conference on Computer Vision (ICCV), 2011
- Author
- Alioscia Petrelli (original), Tommaso Cavallari (PCL port)
Definition at line 58 of file board.h.