40 #ifndef PCL_GPU_PEOPLE_COLORMAP_H_ 41 #define PCL_GPU_PEOPLE_COLORMAP_H_ 43 #include <pcl/point_cloud.h> 45 #include <pcl/gpu/people/tree.h> 46 #include <pcl/gpu/containers/device_array.h> 69 PCL_EXPORTS
void colorizeLabels(
const DeviceArray<pcl::RGB>& color_map,
const DeviceArray2D<unsigned char>& labels, DeviceArray2D<pcl::RGB>& color_labels);
73 PCL_EXPORTS
void colorizeMixedLabels(
const DeviceArray<RGB>& color_map,
const DeviceArray2D<unsigned char>& labels,
74 const DeviceArray2D<RGB>& image, DeviceArray2D<RGB>& color_labels);
77 inline void colorFG (
int W,
int H,
const unsigned char* labels,
unsigned char* c )
80 for(
int pi = 0; pi < numPix; ++pi)
94 #endif //PCL_GPU_PEOPLE_COLORMAP_H_
PCL_EXPORTS void uploadColorMap(DeviceArray< pcl::RGB > &color_map)
void colorFG(int W, int H, const unsigned char *labels, unsigned char *c)
This file defines compatibility wrappers for low level I/O functions.
PCL_EXPORTS void colorizeMixedLabels(const DeviceArray< RGB > &color_map, const DeviceArray2D< unsigned char > &labels, const DeviceArray2D< RGB > &image, DeviceArray2D< RGB > &color_labels)
const int LUT_COLOR_LABEL_LENGTH
A structure representing RGB color information.
Defines all the PCL implemented PointT point type structures.
pcl::RGB getLColor(unsigned char l)
gives a label and returns the color out of the colormap
PointCloud represents the base class in PCL for storing collections of 3D points.
PCL_EXPORTS void colorizeLabels(const DeviceArray< pcl::RGB > &color_map, const DeviceArray2D< unsigned char > &labels, DeviceArray2D< pcl::RGB > &color_labels)
const unsigned char LUT_COLOR_LABEL[]
void colorLMap(int W, int H, const trees::Label *l, unsigned char *c)