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_
保護

此類文件是從以下檔案生成的