OrbbecSDK2 2.0.2
OrbbecSDK2: New generation Software-Development-Kit for Orbbec 3D-Sensor devices
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
ob2::image_format_converter类 参考

图像格式转换器 更多...

#include <OB2Extension.hpp>

Public 成员函数

 image_format_converter ()
 图像格式转换器构造函数 更多...
 
 image_format_converter (image_format_converter &&converter)
 通过其他转换器对象构造(移动构造,主要用于派生类的实现) 更多...
 
virtual ~image_format_converter () noexcept
 图像格式转换器析构函数 更多...
 
virtual std::shared_ptr< imageyuyv_to_rgb (const std::shared_ptr< image > source_image)
 YUYV 转 RGB 更多...
 
virtual std::shared_ptr< imageuyvy_to_rgb (const std::shared_ptr< image > source_image)
 UYVY 转 RGB 更多...
 
virtual std::shared_ptr< imagei420_to_rgb (const std::shared_ptr< image > source_image)
 I420 转 RGB 更多...
 
virtual std::shared_ptr< imagenv21_to_rgb (const std::shared_ptr< image > source_image)
 NV21 转 RGB 更多...
 
virtual std::shared_ptr< imagenv12_to_rgb (const std::shared_ptr< image > source_image)
 NV12 转 RGB 更多...
 
virtual std::shared_ptr< imagergb_to_bgr (const std::shared_ptr< image > source_image)
 RGB 转 BGR 更多...
 
virtual std::shared_ptr< imagemjpg_to_i420 (const std::shared_ptr< image > source_image)
 MJPG 转 I420 更多...
 
virtual std::shared_ptr< imagemjpg_to_nv21 (const std::shared_ptr< image > source_image)
 MJPG 转 NV21 更多...
 
virtual std::shared_ptr< imagemjpg_to_rgb (const std::shared_ptr< image > source_image)
 MJPG 转 RGB 更多...
 
virtual std::shared_ptr< imagemjpg_to_bgr (const std::shared_ptr< image > source_image)
 MJPG 转 BGR 更多...
 
virtual std::shared_ptr< imagemjpg_to_bgra (const std::shared_ptr< image > source_image)
 MJPG 转 BGRA 更多...
 

详细描述

图像格式转换器

在文件 OB2Extension.hpp434 行定义.

构造及析构函数说明

◆ image_format_converter() [1/2]

ob2::image_format_converter::image_format_converter ( )
inline

图像格式转换器构造函数

在文件 OB2Extension.hpp448 行定义.

◆ image_format_converter() [2/2]

ob2::image_format_converter::image_format_converter ( image_format_converter &&  converter)
inline

通过其他转换器对象构造(移动构造,主要用于派生类的实现)

注意
调用该构造函数后,原对象将不再可以访问
参数
converter其转换器对象

在文件 OB2Extension.hpp474 行定义.

◆ ~image_format_converter()

virtual ob2::image_format_converter::~image_format_converter ( )
inlinevirtualnoexcept

图像格式转换器析构函数

在文件 OB2Extension.hpp491 行定义.

成员函数说明

◆ yuyv_to_rgb()

virtual std::shared_ptr< image > ob2::image_format_converter::yuyv_to_rgb ( const std::shared_ptr< image source_image)
inlinevirtual

YUYV 转 RGB

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp516 行定义.

◆ uyvy_to_rgb()

virtual std::shared_ptr< image > ob2::image_format_converter::uyvy_to_rgb ( const std::shared_ptr< image source_image)
inlinevirtual

UYVY 转 RGB

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp542 行定义.

◆ i420_to_rgb()

virtual std::shared_ptr< image > ob2::image_format_converter::i420_to_rgb ( const std::shared_ptr< image source_image)
inlinevirtual

I420 转 RGB

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp568 行定义.

◆ nv21_to_rgb()

virtual std::shared_ptr< image > ob2::image_format_converter::nv21_to_rgb ( const std::shared_ptr< image source_image)
inlinevirtual

NV21 转 RGB

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp594 行定义.

◆ nv12_to_rgb()

virtual std::shared_ptr< image > ob2::image_format_converter::nv12_to_rgb ( const std::shared_ptr< image source_image)
inlinevirtual

NV12 转 RGB

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp620 行定义.

◆ rgb_to_bgr()

virtual std::shared_ptr< image > ob2::image_format_converter::rgb_to_bgr ( const std::shared_ptr< image source_image)
inlinevirtual

RGB 转 BGR

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp646 行定义.

◆ mjpg_to_i420()

virtual std::shared_ptr< image > ob2::image_format_converter::mjpg_to_i420 ( const std::shared_ptr< image source_image)
inlinevirtual

MJPG 转 I420

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp672 行定义.

◆ mjpg_to_nv21()

virtual std::shared_ptr< image > ob2::image_format_converter::mjpg_to_nv21 ( const std::shared_ptr< image source_image)
inlinevirtual

MJPG 转 NV21

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp698 行定义.

◆ mjpg_to_rgb()

virtual std::shared_ptr< image > ob2::image_format_converter::mjpg_to_rgb ( const std::shared_ptr< image source_image)
inlinevirtual

MJPG 转 RGB

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp724 行定义.

◆ mjpg_to_bgr()

virtual std::shared_ptr< image > ob2::image_format_converter::mjpg_to_bgr ( const std::shared_ptr< image source_image)
inlinevirtual

MJPG 转 BGR

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp750 行定义.

◆ mjpg_to_bgra()

virtual std::shared_ptr< image > ob2::image_format_converter::mjpg_to_bgra ( const std::shared_ptr< image source_image)
inlinevirtual

MJPG 转 BGRA

参数
[in]source_image原始图像
返回
std::shared_ptr<image> 格式转换后输出的图像对象智能指针

在文件 OB2Extension.hpp776 行定义.


该类的文档由以下文件生成: