SHOTEstimation estimates the Signature of Histograms of OrienTations (SHOT) descriptor for a given point cloud dataset containing points and normals. More...
#include <shot.h>
Public Types | |
typedef boost::shared_ptr < const SHOTEstimationBase < PointInT, PointNT, PointOutT, PointRFT > > | ConstPtr |
typedef Feature< PointInT, PointOutT >::PointCloudIn | PointCloudIn |
typedef boost::shared_ptr < SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT > > | Ptr |
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. | |
virtual float | getLRFRadius () const |
Get the radius used for local reference frame estimation. | |
virtual void | setLRFRadius (float radius) |
Set the radius used for local reference frame estimation if the frames are not set by the user. | |
virtual | ~SHOTEstimationBase () |
Empty destructor. | |
Protected Member Functions | |
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. | |
float | lrf_radius_ |
The radius used for the LRF computation. | |
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. |
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.
typedef boost::shared_ptr<const SHOTEstimationBase<PointInT, PointNT, PointOutT, PointRFT> > pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::ConstPtr |
Reimplemented from pcl::FeatureFromNormals< PointInT, PointNT, PointOutT >.
Reimplemented in pcl::SHOTColorEstimation< PointInT, PointNT, PointOutT, PointRFT >, pcl::SHOTEstimation< PointInT, PointNT, PointOutT, PointRFT >, pcl::SHOTColorEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >, and pcl::SHOTEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >.
typedef Feature<PointInT, PointOutT>::PointCloudIn pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::PointCloudIn |
Reimplemented from pcl::FeatureFromNormals< PointInT, PointNT, PointOutT >.
Reimplemented in pcl::SHOTColorEstimation< PointInT, PointNT, PointOutT, PointRFT >, pcl::SHOTEstimation< PointInT, PointNT, PointOutT, PointRFT >, pcl::SHOTColorEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >, and pcl::SHOTEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >.
typedef boost::shared_ptr<SHOTEstimationBase<PointInT, PointNT, PointOutT, PointRFT> > pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::Ptr |
Reimplemented from pcl::FeatureFromNormals< PointInT, PointNT, PointOutT >.
Reimplemented in pcl::SHOTColorEstimation< PointInT, PointNT, PointOutT, PointRFT >, pcl::SHOTEstimation< PointInT, PointNT, PointOutT, PointRFT >, pcl::SHOTColorEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >, and pcl::SHOTEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >.
pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::SHOTEstimationBase | ( | int | nr_shape_bins = 10 | ) | [inline, protected] |
virtual pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::~SHOTEstimationBase | ( | ) | [inline, virtual] |
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.
[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 >, and pcl::SHOTEstimation< PointInT, PointNT, PointOutT, PointRFT >.
void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::createBinDistanceShape | ( | int | index, |
const std::vector< int > & | indices, | ||
std::vector< double > & | bin_distance_shape | ||
) | [protected] |
Create a binned distance shape histogram.
[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] | bin_distance_shape | the resultant histogram |
virtual float pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::getLRFRadius | ( | ) | const [inline, virtual] |
bool pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::initCompute | ( | ) | [protected, virtual] |
This method should get called before starting the actual computation.
Reimplemented from pcl::FeatureFromNormals< PointInT, PointNT, PointOutT >.
Reimplemented in pcl::SHOTColorEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >, and pcl::SHOTEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >.
void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::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 | ||
) | [protected] |
Quadrilinear interpolation used when color and shape descriptions are NOT activated simultaneously.
[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 |
void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::normalizeHistogram | ( | Eigen::VectorXf & | shot, |
int | desc_length | ||
) | [protected] |
virtual void pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::setLRFRadius | ( | float | radius | ) | [inline, virtual] |
int pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::descLength_ [protected] |
float pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::lrf_radius_ [protected] |
const int pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::maxAngularSectors_ [protected] |
const int pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::nr_grid_sector_ [protected] |
int pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::nr_shape_bins_ [protected] |
double pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::radius1_2_ [protected] |
double pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::radius1_4_ [protected] |
double pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::radius3_4_ [protected] |
Eigen::VectorXf pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::shot_ [protected] |
double pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >::sqradius_ [protected] |