Point Cloud Library (PCL)
1.10.0
|
44 #include <pcl/features/feature.h>
62 template <
typename Po
intInT,
typename Po
intOutT = pcl::UniqueShapeContext1960,
typename Po
intRFT = pcl::ReferenceFrame>
192 #ifdef PCL_NO_PRECOMPILE
193 #include <pcl/features/impl/usc.hpp>
This file defines compatibility wrappers for low level I/O functions.
FeatureWithLocalReferenceFrames provides a public interface for descriptor extractor classes which ne...
double getLocalRadius() const
std::size_t getAzimuthBins() const
void setMinimalRadius(double radius)
The minimal radius value for the search sphere (rmin) in the original paper.
std::size_t getElevationBins() const
typename Feature< PointInT, PointOutT >::PointCloudIn PointCloudIn
std::vector< float > radii_interval_
values of the radii interval.
void setPointDensityRadius(double radius)
This radius is used to compute local point density density = number of points within this radius.
shared_ptr< const UniqueShapeContext< PointInT, PointOutT, PointRFT > > ConstPtr
shared_ptr< UniqueShapeContext< PointInT, PointOutT, PointRFT > > Ptr
std::vector< float > volume_lut_
Volumes look up table.
void setLocalRadius(double radius)
Set the local RF radius value.
std::vector< float > phi_divisions_
Phi divisions interval.
std::vector< float > theta_divisions_
Theta divisions interval.
UniqueShapeContext()
Constructor.
double min_radius_
Minimal radius value.
double search_radius_
The nearest neighbors search radius for each point.
typename Feature< PointInT, PointOutT >::PointCloudOut PointCloudOut
void computePointDescriptor(std::size_t index, std::vector< float > &desc)
Compute 3D shape context feature descriptor.
double local_radius_
Radius to compute local RF.
std::size_t getRadiusBins() const
std::size_t elevation_bins_
Bins along the elevation dimension.
void computeFeature(PointCloudOut &output) override
The actual feature computation.
UniqueShapeContext implements the Unique Shape Context Descriptor described here:
bool initCompute() override
Initialize computation by allocating all the intervals and the volume lookup table.
std::size_t radius_bins_
Bins along the radius dimension.
double point_density_radius_
Point density radius.
std::string feature_name_
The feature name.
std::size_t azimuth_bins_
Bins along the azimuth dimension.
std::size_t descriptor_length_
Descriptor length.
double getPointDensityRadius() const
double getMinimalRadius() const
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.
Feature represents the base feature class.