OpenCV453
公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 限定公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::rgbd::RgbdNormals クラス

#include <depth.hpp>

cv::Algorithmを継承しています。

公開型

enum  RGBD_NORMALS_METHOD { RGBD_NORMALS_METHOD_FALS = 0 , RGBD_NORMALS_METHOD_LINEMOD = 1 , RGBD_NORMALS_METHOD_SRI = 2 }
 

公開メンバ関数

 RgbdNormals (int rows, int cols, int depth, InputArray K, int window_size=5, int method=RgbdNormals::RGBD_NORMALS_METHOD_FALS)
 
 CV_WRAP_AS (apply) void operator()(InputArray points
 
CV_WRAP void initialize () const
 
CV_WRAP int getRows () const
 
CV_WRAP void setRows (int val)
 
CV_WRAP int getCols () const
 
CV_WRAP void setCols (int val)
 
CV_WRAP int getWindowSize () const
 
CV_WRAP void setWindowSize (int val)
 
CV_WRAP int getDepth () const
 
CV_WRAP void setDepth (int val)
 
CV_WRAP cv::Mat getK () const
 
CV_WRAP void setK (const cv::Mat &val)
 
CV_WRAP int getMethod () const
 
CV_WRAP void setMethod (int val)
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP void read (const FileNode &fn)
 Reads algorithm parameters from a file storage [詳解]
 
virtual CV_WRAP bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
 
virtual CV_WRAP void save (const String &filename) const
 
virtual CV_WRAP String getDefaultName () const
 

静的公開メンバ関数

static CV_WRAP 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< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file [詳解]
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String [詳解]
 

公開変数類

OutputArray normals const
 

限定公開メンバ関数

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 rows_
 
int cols_
 
int depth_
 
Mat K_
 
int window_size_
 
int method_
 
void * rgbd_normals_impl_
 

詳解

Object that can compute the normals in an image. It is an object as it can cache data for speed efficiency The implemented methods are either:

構築子と解体子

◆ RgbdNormals()

cv::rgbd::RgbdNormals::RgbdNormals ( int  rows,
int  cols,
int  depth,
InputArray  K,
int  window_size = 5,
int  method = RgbdNormals::RGBD_NORMALS_METHOD_FALS 
)

Constructor

引数
rowsthe number of rows of the depth image normals will be computed on
colsthe number of cols of the depth image normals will be computed on
depththe depth of the normals (only CV_32F or CV_64F)
Kthe calibration matrix to use
window_sizethe window size to compute the normals: can only be 1,3,5 or 7
methodone of the methods to use: RGBD_NORMALS_METHOD_SRI, RGBD_NORMALS_METHOD_FALS

関数詳解

◆ CV_WRAP_AS()

cv::rgbd::RgbdNormals::CV_WRAP_AS ( apply  )

Given a set of 3d points in a depth image, compute the normals at each point.

引数
pointsa rows x cols x 3 matrix of CV_32F/CV64F or a rows x cols x 1 CV_U16S
normalsa rows x cols x 3 matrix

◆ initialize()

CV_WRAP void cv::rgbd::RgbdNormals::initialize ( ) const

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed


このクラス詳解は次のファイルから抽出されました: