Public Types |
typedef Feature< PointInT,
PointOutT >::PointCloudIn | PointCloudIn |
Public Member Functions |
virtual void | computePointSHOT (const int index, const std::vector< int > &indices, const std::vector< float > &sqr_dists, Eigen::VectorXf &shot)=0 |
| Estimate the SHOT descriptor for a given point based on its spatial neighborhood of 3D points with normals.
|
Protected Member Functions |
void | computeFeatureEigen (pcl::PointCloud< Eigen::MatrixXf > &) |
| Make the computeFeature (&Eigen::MatrixXf); inaccessible from outside the class.
|
void | createBinDistanceShape (int index, const std::vector< int > &indices, std::vector< double > &bin_distance_shape) |
| Create a binned distance shape histogram.
|
virtual bool | initCompute () |
| This method should get called before starting the actual computation.
|
void | interpolateSingleChannel (const std::vector< int > &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.
|
void | normalizeHistogram (Eigen::VectorXf &shot, int desc_length) |
| Normalize the SHOT histogram.
|
| SHOTEstimationBase (int nr_shape_bins=10) |
| Empty constructor.
|
Protected Attributes |
int | descLength_ |
| One SHOT length.
|
const int | maxAngularSectors_ |
| ...
|
const int | nr_grid_sector_ |
| Number of azimuthal sectors.
|
int | nr_shape_bins_ |
| The number of bins in each shape histogram.
|
double | radius1_2_ |
| 1/2 of the search radius.
|
double | radius1_4_ |
| 1/4 of the search radius.
|
double | radius3_4_ |
| 3/4 of the search radius.
|
Eigen::VectorXf | shot_ |
| Placeholder for a point's SHOT.
|
double | sqradius_ |
| The squared search radius.
|
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::SHOT.
- 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 67 of file shot.h.
template<typename PointInT, typename PointNT, typename PointOutT, typename PointRFT = pcl::ReferenceFrame>
template<typename PointInT, typename PointNT, typename PointOutT, typename PointRFT = pcl::ReferenceFrame>
virtual void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::computePointSHOT |
( |
const int |
index, |
|
|
const std::vector< int > & |
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, PointRFT >, pcl::SHOTEstimation< PointInT, PointNT, PointOutT, PointRFT >, and pcl::SHOTEstimation< PointInT, PointNT, pcl::SHOT352, PointRFT >.
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT >