图像转换器
更多...
#include <OB2Extension.hpp>
图像转换器
图像转换器可完成深度图像转点云图及深度和 RGB 图像转彩色点云图的功能
在文件 OB2Extension.hpp 第 29 行定义.
◆ transformation() [1/2]
◆ transformation() [2/2]
◆ ~transformation()
virtual ob2::transformation::~transformation |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ depth_image_to_point_cloud()
virtual std::shared_ptr< image > ob2::transformation::depth_image_to_point_cloud |
( |
std::shared_ptr< image > |
depth_image, |
|
|
float |
position_scale |
|
) |
| |
|
inlinevirtual |
深度图转点云图
- 参数
-
[in] | depth_image | 深度图 |
[in] | position_scale | 坐标缩放系数,不缩放可填 1.0f |
- 返回
- std::shared_ptr<image> 返回点云图对象智能指针
在文件 OB2Extension.hpp 第 123 行定义.
◆ depth_image_to_colored_point_cloud()
virtual std::shared_ptr< image > ob2::transformation::depth_image_to_colored_point_cloud |
( |
std::shared_ptr< image > |
depth_image, |
|
|
std::shared_ptr< image > |
color_image, |
|
|
float |
position_scale, |
|
|
ob2_enable_ctrl_t |
color_normalization |
|
) |
| |
|
inlinevirtual |
深度图转彩色点云图
- 参数
-
[in] | depth_image | 深度图 |
[in] | color_image | 彩色图 |
[in] | position_scale | 坐标缩放系数,不缩放可填 1.0f |
[in] | color_normalization | 彩色归一化,默认输出的彩色点云 RGB 各通道数值是 0~255,使能归一化功能以后,数值归一化为 0.0f~1.0f |
- 返回
- std::shared_ptr<image> 返回点云图对象智能指针
在文件 OB2Extension.hpp 第 156 行定义.
该类的文档由以下文件生成: