SHOTEstimation estimates the Signature of Histograms of OrienTations (SHOT) descriptor for a given point cloud dataset containing points and normals. More...
#include <pcl/features/shot.h>
|
using |
Ptr = shared_ptr< SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT > > |
using |
ConstPtr = shared_ptr< const SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT > > |
using |
PointCloudIn = typename Feature< PointInT, PointOutT >::PointCloudIn |
using |
PointCloudN = pcl::PointCloud< PointNT > |
using |
PointCloudNPtr = typename PointCloudN::Ptr |
using |
PointCloudNConstPtr = typename PointCloudN::ConstPtr |
using |
Ptr = shared_ptr< FeatureFromNormals< PointInT, PointNT, PointOutT > > |
using |
ConstPtr = shared_ptr< const FeatureFromNormals< PointInT, PointNT, PointOutT > > |
using |
BaseClass = PCLBase< PointInT > |
using |
Ptr = shared_ptr< Feature< PointInT, PointOutT > > |
using |
ConstPtr = shared_ptr< const Feature< PointInT, PointOutT > > |
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< PointOutT > |
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 |
using |
PointCloudLRF = pcl::PointCloud< pcl::ReferenceFrame > |
using |
PointCloudLRFPtr = typename PointCloudLRF::Ptr |
using |
PointCloudLRFConstPtr = typename PointCloudLRF::ConstPtr |
|
|
SHOTEstimationBase (int nr_shape_bins=10) |
|
Empty constructor. More...
|
bool |
initCompute () override |
|
This method should get called before starting the actual computation. More...
|
void |
interpolateSingleChannel (const pcl::Indices &indices, const std::vector< float > &sqr_dists, const int index, std::vector< double > &binDistance, const int nr_bins, Eigen::VectorXf &shot) |
|
Quadrilinear interpolation used when color and shape descriptions are NOT activated simultaneously. More...
|
void |
normalizeHistogram (Eigen::VectorXf &shot, int desc_length) |
|
Normalize the SHOT histogram. More...
|
void |
createBinDistanceShape (int index, const pcl::Indices &indices, std::vector< double > &bin_distance_shape) |
|
Create a binned distance shape histogram. 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...
|
virtual bool |
initLocalReferenceFrames (const std::size_t &indices_size, const LRFEstimationPtr &lrf_estimation=LRFEstimationPtr()) |
template<typename PointInT, typename PointNT, typename PointOutT, typename PointRFT = pcl::ReferenceFrame>
class pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >
SHOTEstimation estimates the Signature of Histograms of OrienTations (SHOT) descriptor for a given point cloud dataset containing points and normals.
The suggested PointOutT is pcl::SHOT352.
-
Note
-
If you use this code in any academic work, please cite:
- F. Tombari, S. Salti, L. Di Stefano Unique Signatures of Histograms for Local Surface Description. In Proceedings of the 11th European Conference on Computer Vision (ECCV), Heraklion, Greece, September 5-11 2010.
- F. Tombari, S. Salti, L. Di Stefano A Combined Texture-Shape Descriptor For Enhanced 3D Feature Matching. In Proceedings of the 18th International Conference on Image Processing (ICIP), Brussels, Belgium, September 11-14 2011.
-
Author
-
Samuele Salti, Federico Tombari
Definition at line 69 of file shot.h.
ConstPtr
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
PointCloudIn
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
Ptr
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
SHOTEstimationBase()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
~SHOTEstimationBase()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
computePointSHOT()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
virtual void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::computePointSHOT |
( |
const int |
index, |
|
|
const pcl::Indices & |
indices, |
|
|
const std::vector< float > & |
sqr_dists, |
|
|
Eigen::VectorXf & |
shot |
|
) |
|
|
|
pure virtual |
Estimate the SHOT descriptor for a given point based on its spatial neighborhood of 3D points with normals.
-
Parameters
-
[in] |
index |
the index of the point in indices_ |
[in] |
indices |
the k-neighborhood point indices in surface_ |
[in] |
sqr_dists |
the k-neighborhood point distances in surface_ |
[out] |
shot |
the resultant SHOT descriptor representing the feature at the query point |
Implemented in pcl::SHOTColorEstimation< PointInT, PointNT, PointOutT, PointRFT >, pcl::SHOTColorEstimation< PointInT, PointNT, pcl::SHOT1344, pcl::ReferenceFrame >, pcl::SHOTEstimation< PointInT, PointNT, PointOutT, PointRFT >, and pcl::SHOTEstimation< PointInT, PointNT, pcl::SHOT352, pcl::ReferenceFrame >.
createBinDistanceShape()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT >
void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::createBinDistanceShape |
( |
int |
index, |
|
|
const pcl::Indices & |
indices, |
|
|
std::vector< double > & |
bin_distance_shape |
|
) |
|
|
|
protected |
Create a binned distance shape histogram.
-
Parameters
-
[in] |
index |
the index of the point in indices_ |
[in] |
indices |
the k-neighborhood point indices in surface_ |
[out] |
bin_distance_shape |
the resultant histogram |
Definition at line 176 of file shot.hpp.
getLRFRadius()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
initCompute()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT >
interpolateSingleChannel()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT >
void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::interpolateSingleChannel |
( |
const pcl::Indices & |
indices, |
|
|
const std::vector< float > & |
sqr_dists, |
|
|
const int |
index, |
|
|
std::vector< double > & |
binDistance, |
|
|
const int |
nr_bins, |
|
|
Eigen::VectorXf & |
shot |
|
) |
|
|
|
protected |
Quadrilinear interpolation used when color and shape descriptions are NOT activated simultaneously.
-
Parameters
-
[in] |
indices |
the neighborhood point indices |
[in] |
sqr_dists |
the neighborhood point distances |
[in] |
index |
the index of the point in indices_ |
[out] |
binDistance |
the resultant distance shape histogram |
[in] |
nr_bins |
the number of bins in the shape histogram |
[out] |
shot |
the resultant SHOT histogram |
Definition at line 237 of file shot.hpp.
normalizeHistogram()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT >
void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::normalizeHistogram |
( |
Eigen::VectorXf & |
shot, |
|
|
int |
desc_length |
|
) |
|
|
|
protected |
Normalize the SHOT histogram.
-
Parameters
-
[in,out] |
shot |
the SHOT histogram |
[in] |
desc_length |
the length of the histogram |
Definition at line 220 of file shot.hpp.
setLRFRadius()
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
descLength_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
One SHOT length.
Definition at line 194 of file shot.h.
lrf_radius_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
maxAngularSectors_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
nr_grid_sector_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
Number of azimuthal sectors.
Definition at line 188 of file shot.h.
nr_shape_bins_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
The number of bins in each shape histogram.
Definition at line 170 of file shot.h.
radius1_2_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
1/2 of the search radius.
Definition at line 185 of file shot.h.
radius1_4_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
1/4 of the search radius.
Definition at line 182 of file shot.h.
radius3_4_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
3/4 of the search radius.
Definition at line 179 of file shot.h.
sqradius_
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT = pcl::ReferenceFrame>
The squared search radius.
Definition at line 176 of file shot.h.
The documentation for this class was generated from the following files: