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) |
| Estimate the SHOT descriptor for a given point based on its spatial neighborhood of 3D points with normals.
|
| SHOTColorEstimation (bool describe_shape=true, bool describe_color=true) |
| Empty constructor.
|
Static Public Member Functions |
static void | RGB2CIELAB (unsigned char R, unsigned char G, unsigned char B, float &L, float &A, float &B2) |
| Converts RGB triplets to CIELab space.
|
Static Public Attributes |
static float | sRGB_LUT [256] = {- 1} |
static float | sXYZ_LUT [4000] = {- 1} |
Protected Member Functions |
void | computeFeature (pcl::PointCloud< PointOutT > &output) |
| Estimate the Signatures of Histograms of OrienTations (SHOT) descriptors at a set of points given by <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in setSearchMethod ()
|
void | interpolateDoubleChannel (const std::vector< int > &indices, const std::vector< float > &sqr_dists, const int index, std::vector< double > &binDistanceShape, std::vector< double > &binDistanceColor, const int nr_bins_shape, const int nr_bins_color, Eigen::VectorXf &shot) |
| Quadrilinear interpolation; used when color and shape descriptions are both activated.
|
Protected Attributes |
bool | b_describe_color_ |
| Compute color descriptor.
|
bool | b_describe_shape_ |
| Compute shape descriptor.
|
int | nr_color_bins_ |
| The number of bins in each color histogram.
|
template<typename PointInT, typename PointNT, typename PointOutT = pcl::SHOT1344, typename PointRFT = pcl::ReferenceFrame>
class pcl::SHOTColorEstimation< PointInT, PointNT, PointOutT, PointRFT >
SHOTColorEstimation estimates the Signature of Histograms of OrienTations (SHOT) descriptor for a given point cloud dataset containing points, normals and colors.
- 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 512 of file shot.h.
template<typename PointInT , typename PointNT , typename PointOutT, typename PointRFT >
Estimate the Signatures of Histograms of OrienTations (SHOT) descriptors at a set of points given by <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in setSearchMethod ()
- Parameters:
-
output | the resultant point cloud model dataset that contains the SHOT feature estimates |
Definition at line 1582 of file shot.hpp.
template<typename PointInT , typename PointNT , typename PointOutT , typename PointRFT >
void pcl::SHOTColorEstimation< PointInT, PointNT, PointOutT, PointRFT >::computePointSHOT |
( |
const int |
index, |
|
|
const std::vector< int > & |
indices, |
|
|
const std::vector< float > & |
sqr_dists, |
|
|
Eigen::VectorXf & |
shot |
|
) |
| [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 |
Implements pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >.
Definition at line 988 of file shot.hpp.