Range image visualizer class. More...
#include <range_image_visualizer.h>
Public Member Functions | |
RangeImageVisualizer (const std::string &name="Range Image") | |
Constructor. | |
void | showRangeImage (const pcl::RangeImage &range_image, float min_value=-std::numeric_limits< float >::infinity(), float max_value=std::numeric_limits< float >::infinity(), bool grayscale=false) |
Visualize a range image. | |
void | visualizeBorders (const pcl::RangeImage &range_image, float min_value, float max_value, bool grayscale, const pcl::PointCloud< pcl::BorderDescription > &border_descriptions) |
~RangeImageVisualizer () | |
Destructor. | |
Static Public Member Functions | |
static RangeImageVisualizer * | getAnglesWidget (const pcl::RangeImage &range_image, float *angles_image, const std::string &name) |
static RangeImageVisualizer * | getHalfAnglesWidget (const pcl::RangeImage &range_image, float *angles_image, const std::string &name) |
static RangeImageVisualizer * | getInterestPointsWidget (const pcl::RangeImage &range_image, const float *interest_image, float min_value, float max_value, const pcl::PointCloud< pcl::InterestPoint > &interest_points, const std::string &name) |
static RangeImageVisualizer * | getRangeImageBordersWidget (const pcl::RangeImage &range_image, float min_value, float max_value, bool grayscale, const pcl::PointCloud< pcl::BorderDescription > &border_descriptions, const std::string &name="Range image with borders") |
static RangeImageVisualizer * | getRangeImageWidget (const pcl::RangeImage &range_image, float min_value, float max_value, bool grayscale, const std::string &name="Range image") |
Protected Attributes | |
std::string | name_ |
Range image visualizer class.
Definition at line 54 of file range_image_visualizer.h.
pcl::visualization::RangeImageVisualizer::RangeImageVisualizer | ( | const std::string & | name = "Range Image" | ) |
Constructor.
Definition at line 39 of file range_image_visualizer.cpp.
Destructor.
Definition at line 43 of file range_image_visualizer.cpp.
pcl::visualization::RangeImageVisualizer * pcl::visualization::RangeImageVisualizer::getAnglesWidget | ( | const pcl::RangeImage & | range_image, |
float * | angles_image, | ||
const std::string & | name | ||
) | [static] |
Get a widget visualizing the given angle image (assuming values in (-PI, PI]). -PI and PI will return the same color You are responsible for deleting it after usage!
Definition at line 115 of file range_image_visualizer.cpp.
pcl::visualization::RangeImageVisualizer * pcl::visualization::RangeImageVisualizer::getHalfAnglesWidget | ( | const pcl::RangeImage & | range_image, |
float * | angles_image, | ||
const std::string & | name | ||
) | [static] |
Get a widget visualizing the given angle image (assuming values in (-PI/2, PI/2]). -PI/2 and PI/2 will return the same color You are responsible for deleting it after usage!
Definition at line 125 of file range_image_visualizer.cpp.
pcl::visualization::RangeImageVisualizer * pcl::visualization::RangeImageVisualizer::getInterestPointsWidget | ( | const pcl::RangeImage & | range_image, |
const float * | interest_image, | ||
float | min_value, | ||
float | max_value, | ||
const pcl::PointCloud< pcl::InterestPoint > & | interest_points, | ||
const std::string & | name | ||
) | [static] |
Get a widget visualizing the interest values and extracted interest points. The interest points will be marked green. You are responsible for deleting it after usage!
Definition at line 135 of file range_image_visualizer.cpp.
pcl::visualization::RangeImageVisualizer * pcl::visualization::RangeImageVisualizer::getRangeImageBordersWidget | ( | const pcl::RangeImage & | range_image, |
float | min_value, | ||
float | max_value, | ||
bool | grayscale, | ||
const pcl::PointCloud< pcl::BorderDescription > & | border_descriptions, | ||
const std::string & | name = "Range image with borders" |
||
) | [static] |
Same as above, but returning a new widget. You are responsible for deleting it after usage!
Definition at line 102 of file range_image_visualizer.cpp.
pcl::visualization::RangeImageVisualizer * pcl::visualization::RangeImageVisualizer::getRangeImageWidget | ( | const pcl::RangeImage & | range_image, |
float | min_value, | ||
float | max_value, | ||
bool | grayscale, | ||
const std::string & | name = "Range image" |
||
) | [static] |
Get a widget visualizing the given range image. You are responsible for deleting it after usage!
Definition at line 66 of file range_image_visualizer.cpp.
void pcl::visualization::RangeImageVisualizer::showRangeImage | ( | const pcl::RangeImage & | range_image, |
float | min_value = -std::numeric_limits<float>::infinity () , |
||
float | max_value = std::numeric_limits<float>::infinity () , |
||
bool | grayscale = false |
||
) |
Visualize a range image.
Definition at line 57 of file range_image_visualizer.cpp.
void pcl::visualization::RangeImageVisualizer::visualizeBorders | ( | const pcl::RangeImage & | range_image, |
float | min_value, | ||
float | max_value, | ||
bool | grayscale, | ||
const pcl::PointCloud< pcl::BorderDescription > & | border_descriptions | ||
) |
Visualize the given range image and the detected borders in it. Borders on the obstacles are marked green, borders on the background are marked bright blue.
Definition at line 75 of file range_image_visualizer.cpp.
Definition at line 112 of file range_image_visualizer.h.