40 #include <pcl/pcl_config.h>
41 #include <pcl/range_image/range_image.h>
42 #include <pcl/visualization/image_viewer.h>
46 namespace visualization
65 float max_value,
bool grayscale,
const std::string& name=
"Range image");
75 const std::string& name=
"Range image with borders");
104 float min_value = -std::numeric_limits<float>::infinity (),
105 float max_value = std::numeric_limits<float>::infinity (),
106 bool grayscale =
false);
PointCloud represents the base class in PCL for storing collections of 3D points.
RangeImage is derived from pcl/PointCloud and provides functionalities with focus on situations where...
ImageViewer is a class for 2D image visualization.
Range image visualizer class.
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)
Get a widget visualizing the interest values and extracted interest points.
static RangeImageVisualizer * getRangeImageWidget(const pcl::RangeImage &range_image, float min_value, float max_value, bool grayscale, const std::string &name="Range image")
Get a widget visualizing the given range image.
~RangeImageVisualizer() override
Destructor.
void 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.
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.
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")
Same as above, but returning a new widget.
static RangeImageVisualizer * getHalfAnglesWidget(const pcl::RangeImage &range_image, float *angles_image, const std::string &name)
Get a widget visualizing the given angle image (assuming values in (-PI/2, PI/2]).
RangeImageVisualizer(const std::string &name="Range Image")
Constructor.
static RangeImageVisualizer * getAnglesWidget(const pcl::RangeImage &range_image, float *angles_image, const std::string &name)
Get a widget visualizing the given angle image (assuming values in (-PI, PI]).