Point Cloud Library (PCL)
1.11.1-dev
|
42 #include <pcl/point_cloud.h>
44 #include <pcl/gpu/people/tree.h>
45 #include <pcl/gpu/containers/device_array.h>
68 PCL_EXPORTS void colorizeLabels(
const DeviceArray<pcl::RGB>& color_map,
const DeviceArray2D<unsigned char>& labels, DeviceArray2D<pcl::RGB>& color_labels);
73 const DeviceArray2D<RGB>& image, DeviceArray2D<RGB>& color_labels);
76 inline void colorFG (
int W,
int H,
const unsigned char* labels,
unsigned char* c )
79 for(
int pi = 0; pi < numPix; ++pi)
PCL_EXPORTS void uploadColorMap(DeviceArray< pcl::RGB > &color_map)
void colorLMap(int W, int H, const trees::Label *l, unsigned char *c)
PointCloud represents the base class in PCL for storing collections of 3D points.
void colorFG(int W, int H, const unsigned char *labels, unsigned char *c)
PCL_EXPORTS void colorizeMixedLabels(const DeviceArray< RGB > &color_map, const DeviceArray2D< unsigned char > &labels, const DeviceArray2D< RGB > &image, DeviceArray2D< RGB > &color_labels)
pcl::RGB getLColor(unsigned char l)
gives a label and returns the color out of the colormap
A structure representing RGB color information.
const int LUT_COLOR_LABEL_LENGTH
const unsigned char LUT_COLOR_LABEL[]
PCL_EXPORTS void colorizeLabels(const DeviceArray< pcl::RGB > &color_map, const DeviceArray2D< unsigned char > &labels, DeviceArray2D< pcl::RGB > &color_labels)