4 #include <pcl/gpu/containers/device_array.h> 7 #include <pcl/point_cloud.h> 8 #include <pcl/PointIndices.h> 11 #include <pcl/gpu/kinfu/pixel_rgb.h> 12 #include <pcl/tracking/particle_filter.h> 14 #include <Eigen/Dense>
virtual bool operator()(const DeviceArray2D< PointType > &input, const DeviceArray2D< PixelRGB > &input_colors)
void setReferenceCloud(const DeviceArray2D< PointType > &ref)
set a pointer to a reference dataset to be tracked.
DeviceArray< StateType > particles_
void setParticleNum(const int particle_num)
set the number of the particles.
std::vector< float > initial_noise_mean_
DeviceArray2D< PixelRGB > input_colors_
DeviceArray2D< PointType > input_
A structure representing RGB color information.
std::string tracker_name_
int getParticleNum() const
get the number of the particles.
Defines all the PCL implemented PointT point type structures.
A point structure representing Euclidean xyz coordinates.
DeviceArray2D< PointType > ref_
int cols_
Width of input depth image.
virtual void computeTracking()
int rows_
Height of input depth image.
DeviceArray2D< PixelRGB > ref_colors_
pcl::tracking::ParticleXYZRPY StateType
std::vector< float > initial_noise_covariance_
virtual void setMotion(StateType motion)
virtual void allocateBuffers()
std::vector< float > step_noise_covariance_
virtual bool initCompute()
StateType representative_state_
virtual StateType getResult()
DeviceArray< curandState > rng_states
Defines all the PCL and non-PCL macros used.
ParticleFilterGPUTracker()
Empty constructor.
DeviceArray2D< PointType > const getReferenceCloud()
get a pointer to a reference dataset to be tracked.