OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项
cv::rgbd::RgbdNormals 类参考

#include <opencv2/rgbd/depth.hpp>

cv::rgbd::RgbdNormals 的协作图

公共类型

枚举  RGBD_NORMALS_METHOD {
  RGBD_NORMALS_METHOD_FALS = 0 ,
  RGBD_NORMALS_METHOD_LINEMOD = 1 ,
  RGBD_NORMALS_METHOD_SRI = 2
}
 

公共成员函数

 RgbdNormals ()
 
 RgbdNormals (int rows, int cols, int depth, InputArray K, int window_size=5, int method=RgbdNormals::RGBD_NORMALS_METHOD_FALS)
 
 ~RgbdNormals ()
 
int getCols () const
 
int getDepth () const
 
cv::Mat getK () const
 
int getMethod () const
 
int getRows () const
 
int getWindowSize () const
 
void initialize () const
 
void operator() (InputArray points, OutputArray normals) const
 
void setCols (int val)
 
void setDepth (int val)
 
void setK (const cv::Mat &val)
 
void setMethod (int val)
 
void setRows (int val)
 
void setWindowSize (int val)
 
- 从 cv::Algorithm 继承的公共成员函数
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 清除算法状态。
 
virtual bool empty () const
 如果 Algorithm 为空(例如,在最开始或读取不成功后),则返回 true。
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 从文件存储中读取算法参数。
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
virtual void write (FileStorage &fs) const
 将算法参数存储到文件存储中。
 
void write (FileStorage &fs, const String &name) const
 

静态公共成员函数

static Ptr< RgbdNormalscreate (int rows, int cols, int depth, InputArray K, int window_size=5, int method=RgbdNormals::RGBD_NORMALS_METHOD_FALS)
 
- 从 cv::Algorithm 继承的静态公共成员函数
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 从文件中加载算法。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 从字符串加载算法。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 从文件节点读取算法。
 

保护成员函数

void initialize_normals_impl (int rows, int cols, int depth, const Mat &K, int window_size, int method) const
 
- 从 cv::Algorithm 继承的保护成员函数
void writeFormat (FileStorage &fs) const
 

保护属性

int cols_
 
int depth_
 
Mat K_
 
int method_
 
void * rgbd_normals_impl_
 
int rows_
 
int window_size_
 

详细描述

可以计算图像中法线的对象。 它是一个对象,因为它可以缓存数据以提高速度效率。已实现的算法是

  • FALS(最快的)和 SRI 来自 H. Badino、D. Huber、Y. Park 和 T. Kanade 的 Fast and Accurate Computation of Surface Normals from Range Images
  • 以及来自 S. Hinterstoisser、C. Cagniart、S. Ilic、P. Sturm、N. Navab、P. Fua 和 V. Lepetit 的 Gradient Response Maps for Real-Time Detection of Texture-Less Objects 中对深度图像进行双边滤波后的法线

成员枚举文档

◆ RGBD_NORMALS_METHOD

枚举器
RGBD_NORMALS_METHOD_FALS 
RGBD_NORMALS_METHOD_LINEMOD 
RGBD_NORMALS_METHOD_SRI 

构造函数 & 析构函数文档

◆ RgbdNormals() [1/2]

cv::rgbd::RgbdNormals::RgbdNormals ( )
inline

◆ RgbdNormals() [2/2]

cv::rgbd::RgbdNormals::RgbdNormals ( int rows,
int cols,
int 深度,
InputArray 输入的相机内参矩阵。,
int window_size = 5,
int method = RgbdNormals::RGBD_NORMALS_METHOD_FALS )

构造函数

参数
rows将要计算法线的深度图像的行数
cols将要计算法线的深度图像的列数
深度法线的深度(仅 CV_32F 或 CV_64F)
输入的相机内参矩阵。要使用的校准矩阵
window_size计算法线的窗口大小:只能是 1、3、5 或 7
方法要使用的方法之一:RGBD_NORMALS_METHOD_SRI、RGBD_NORMALS_METHOD_FALS

◆ ~RgbdNormals()

cv::rgbd::RgbdNormals::~RgbdNormals ( )

成员函数文档

◆ create()

static Ptr< RgbdNormals > cv::rgbd::RgbdNormals::create ( int rows,
int cols,
int 深度,
InputArray 输入的相机内参矩阵。,
int window_size = 5,
int method = RgbdNormals::RGBD_NORMALS_METHOD_FALS )
static
Python
cv.rgbd.RgbdNormals.create(rows, cols, depth, K[, window_size[, method]]) -> retval
cv.rgbd.RgbdNormals_create(rows, cols, depth, K[, window_size[, method]]) -> retval

◆ getCols()

int cv::rgbd::RgbdNormals::getCols ( ) const
inline
Python
cv.rgbd.RgbdNormals.getCols() -> retval

◆ getDepth()

int cv::rgbd::RgbdNormals::getDepth ( ) const
inline
Python
cv.rgbd.RgbdNormals.getDepth() -> retval

◆ getK()

cv::Mat cv::rgbd::RgbdNormals::getK ( ) const
inline
Python
cv.rgbd.RgbdNormals.getK() -> retval

◆ getMethod()

int cv::rgbd::RgbdNormals::getMethod ( ) const
inline
Python
cv.rgbd.RgbdNormals.getMethod() -> retval

◆ getRows()

int cv::rgbd::RgbdNormals::getRows ( ) const
inline
Python
cv.rgbd.RgbdNormals.getRows() -> retval

◆ getWindowSize()

int cv::rgbd::RgbdNormals::getWindowSize ( ) const
inline
Python
cv.rgbd.RgbdNormals.getWindowSize() -> retval

◆ initialize()

void cv::rgbd::RgbdNormals::initialize ( ) const
Python
cv.rgbd.RgbdNormals.initialize() ->

初始化一些缓存以供以后计算的数据。如果未调用该函数,则将在首次计算法线时调用它

◆ initialize_normals_impl()

void cv::rgbd::RgbdNormals::initialize_normals_impl ( int rows,
int cols,
int 深度,
const Mat & 输入的相机内参矩阵。,
int window_size,
int method ) const
保护

◆ operator()()

void cv::rgbd::RgbdNormals::operator() ( InputArray points,
OutputArray normals ) const

给定深度图像中的一组 3D 点,计算每个点的法线。

参数
points一个 rows x cols x 3 的 CV_32F/CV64F 矩阵或一个 rows x cols x 1 的 CV_U16S 矩阵
normals一个 rows x cols x 3 的矩阵

◆ setCols()

void cv::rgbd::RgbdNormals::setCols ( int val)
inline
Python
cv.rgbd.RgbdNormals.setCols(val) ->

◆ setDepth()

void cv::rgbd::RgbdNormals::setDepth ( int val)
inline
Python
cv.rgbd.RgbdNormals.setDepth(val) ->

◆ setK()

void cv::rgbd::RgbdNormals::setK ( const cv::Mat & val)
inline
Python
cv.rgbd.RgbdNormals.setK(val) ->

◆ setMethod()

void cv::rgbd::RgbdNormals::setMethod ( int val)
inline
Python
cv.rgbd.RgbdNormals.setMethod(val) ->

◆ setRows()

void cv::rgbd::RgbdNormals::setRows ( int val)
inline
Python
cv.rgbd.RgbdNormals.setRows(val) ->

◆ setWindowSize()

void cv::rgbd::RgbdNormals::setWindowSize ( int val)
inline
Python
cv.rgbd.RgbdNormals.setWindowSize(val) ->

成员数据文档

◆ cols_

int cv::rgbd::RgbdNormals::cols_
保护

◆ depth_

int cv::rgbd::RgbdNormals::depth_
保护

◆ K_

Mat cv::rgbd::RgbdNormals::K_
保护

◆ method_

int cv::rgbd::RgbdNormals::method_
保护

◆ rgbd_normals_impl_

void* cv::rgbd::RgbdNormals::rgbd_normals_impl_
mutableprotected

◆ rows_

int cv::rgbd::RgbdNormals::rows_
保护

◆ window_size_

int cv::rgbd::RgbdNormals::window_size_
保护

此类文档是从以下文件生成的