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

#include <depth.hpp>

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

公開型

enum  RGBD_PLANE_METHOD { RGBD_PLANE_METHOD_DEFAULT }
 

公開メンバ関数

 RgbdPlane (int method=RgbdPlane::RGBD_PLANE_METHOD_DEFAULT)
 
 RgbdPlane (int method, int block_size, int min_size, double threshold, double sensor_error_a=0, double sensor_error_b=0, double sensor_error_c=0)
 
 CV_WRAP_AS (apply) void operator()(InputArray points3d
 
 CV_WRAP_AS (apply) void operator()(InputArray points3d
 
CV_WRAP int getBlockSize () const
 
CV_WRAP void setBlockSize (int val)
 
CV_WRAP int getMinSize () const
 
CV_WRAP void setMinSize (int val)
 
CV_WRAP int getMethod () const
 
CV_WRAP void setMethod (int val)
 
CV_WRAP double getThreshold () const
 
CV_WRAP void setThreshold (double val)
 
CV_WRAP double getSensorErrorA () const
 
CV_WRAP void setSensorErrorA (double val)
 
CV_WRAP double getSensorErrorB () const
 
CV_WRAP void setSensorErrorB (double val)
 
CV_WRAP double getSensorErrorC () const
 
CV_WRAP void setSensorErrorC (double 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< RgbdPlanecreate (int method, int block_size, int min_size, double threshold, double sensor_error_a=0, double sensor_error_b=0, double sensor_error_c=0)
 
- 基底クラス 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 [詳解]
 

公開変数類

InputArray normals
 
InputArray OutputArray mask
 
InputArray OutputArray OutputArray plane_coefficients
 
OutputArray mask
 
OutputArray OutputArray plane_coefficients
 

その他の継承メンバ

- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

詳解

Object that can compute planes in an image

構築子と解体子

◆ RgbdPlane()

cv::rgbd::RgbdPlane::RgbdPlane ( int  method,
int  block_size,
int  min_size,
double  threshold,
double  sensor_error_a = 0,
double  sensor_error_b = 0,
double  sensor_error_c = 0 
)

Constructor

引数
block_sizeThe size of the blocks to look at for a stable MSE
min_sizeThe minimum size of a cluster to be considered a plane
thresholdThe maximum distance of a point from a plane to belong to it (in meters)
sensor_error_acoefficient of the sensor error. 0 by default, 0.0075 for a Kinect
sensor_error_bcoefficient of the sensor error. 0 by default
sensor_error_ccoefficient of the sensor error. 0 by default
methodThe method to use to compute the planes.

関数詳解

◆ CV_WRAP_AS() [1/2]

cv::rgbd::RgbdPlane::CV_WRAP_AS ( apply  )

Find The planes in a depth image

引数
points3dthe 3d points organized like the depth image: rows x cols with 3 channels
normalsthe normals for every point in the depth image
maskAn image where each pixel is labeled with the plane it belongs to and 255 if it does not belong to any plane
plane_coefficientsthe coefficients of the corresponding planes (a,b,c,d) such that ax+by+cz+d=0, norm(a,b,c)=1 and c < 0 (so that the normal points towards the camera)

◆ CV_WRAP_AS() [2/2]

cv::rgbd::RgbdPlane::CV_WRAP_AS ( apply  )

Find The planes in a depth image but without doing a normal check, which is faster but less accurate

引数
points3dthe 3d points organized like the depth image: rows x cols with 3 channels
maskAn image where each pixel is labeled with the plane it belongs to and 255 if it does not belong to any plane
plane_coefficientsthe coefficients of the corresponding planes (a,b,c,d) such that ax+by+cz+d=0

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