Point Cloud Library (PCL)
1.11.1
|
37 #include <pcl/pcl_config.h>
46 namespace visualization
76 getVisualImage (
const float* float_image,
int width,
int height,
float min_value=-std::numeric_limits<float>::infinity (),
float max_value=std::numeric_limits<float>::infinity (),
bool gray_scale=
false);
84 unsigned short min_value=0,
85 unsigned short max_value=std::numeric_limits<unsigned short>::max (),
86 bool gray_scale=
false);
Defines all the PCL and non-PCL macros used.
static void getColorForFloat(float value, unsigned char &r, unsigned char &g, unsigned char &b)
Get RGB color values for a given float in [0, 1] or special cases like -INFINITY(light green),...
static void getColorForHalfAngle(float value, unsigned char &r, unsigned char &g, unsigned char &b)
Get RGB color values for a given float in [0, PI] or special cases like -INFINITY(light green),...
static unsigned char * getVisualHalfAngleImage(const float *angle_image, int width, int height)
Use getColorForHalfAngle for all elements of the given arrays.
static unsigned char * getVisualImage(const unsigned short *float_image, int width, int height, unsigned short min_value=0, unsigned short max_value=std::numeric_limits< unsigned short >::max(), bool gray_scale=false)
Use getColorForFloat for all elements of the given arrays, whereas the values are normalized to [0,...
static unsigned char * getVisualAngleImage(const float *angle_image, int width, int height)
Use getColorForAngle for all elements of the given arrays.
static unsigned char * getVisualImage(const float *float_image, int width, int height, float min_value=-std::numeric_limits< float >::infinity(), float max_value=std::numeric_limits< float >::infinity(), bool gray_scale=false)
Use getColorForFloat for all elements of the given arrays, whereas the values are first normalized to...
Provide some gerneral functionalities regarding 2d float arrays, e.g., for visualization purposes
static void getColorForAngle(float value, unsigned char &r, unsigned char &g, unsigned char &b)
Get RGB color values for a given float in [-PI, PI] or special cases like -INFINITY(light green),...