OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::rgbd::RgbdPlane クラス

#include <opencv2/rgbd/depth.hpp>

Collaboration diagram for cv::rgbd::RgbdPlane:

公開型

enum  RGBD_PLANE_METHOD { 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)
 
 RgbdPlane (int method=RgbdPlane::RGBD_PLANE_METHOD_DEFAULT)
 
 ~RgbdPlane ()
 
int getBlockSize () const
 
int getMethod () const
 
int getMinSize () const
 
double getSensorErrorA () const
 
double getSensorErrorB () const
 
double getSensorErrorC () const
 
double getThreshold () const
 
void operator() (InputArray points3d, InputArray normals, OutputArray mask, OutputArray plane_coefficients)
 
void operator() (InputArray points3d, OutputArray mask, OutputArray plane_coefficients)
 
void setBlockSize (int val)
 
void setMethod (int val)
 
void setMinSize (int val)
 
void setSensorErrorA (double val)
 
void setSensorErrorB (double val)
 
void setSensorErrorC (double val)
 
void setThreshold (double val)
 
- Public Member Functions inherited from 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< 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)
 
- Static Public Member Functions inherited from 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)
 ファイルノードからアルゴリズムを読み込む。
 

Additional Inherited Members

- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

詳細説明

画像内の平面を計算できるオブジェクト

列挙型メンバ詳解

◆ RGBD_PLANE_METHOD

列挙値
RGBD_PLANE_METHOD_DEFAULT 

構築子と解体子の詳解

◆ RgbdPlane() [1/2]

cv::rgbd::RgbdPlane::RgbdPlane ( int method = RgbdPlane::RGBD_PLANE_METHOD_DEFAULT)
inline

◆ RgbdPlane() [2/2]

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 )

コンストラクタ

引数
block_size安定したMSEを調べる際に対象とするブロックのサイズ
min_size平面とみなすために必要なクラスタの最小サイズ
threshold点が平面に属するとみなされるための、点から平面までの最大距離(単位はメートル)
sensor_error_aセンサ誤差の係数。デフォルトは0、Kinectの場合は0.0075
sensor_error_bセンサ誤差の係数。デフォルトは0
sensor_error_cセンサ誤差の係数。デフォルトは0
method平面の計算に使用する手法。

◆ ~RgbdPlane()

cv::rgbd::RgbdPlane::~RgbdPlane ( )

メンバ関数詳解

◆ create()

static Ptr< RgbdPlane > cv::rgbd::RgbdPlane::create ( 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 )
static
Python:
cv.rgbd.RgbdPlane.create(method, block_size, min_size, threshold[, sensor_error_a[, sensor_error_b[, sensor_error_c]]]) -> retval
cv.rgbd.RgbdPlane_create(method, block_size, min_size, threshold[, sensor_error_a[, sensor_error_b[, sensor_error_c]]]) -> retval

◆ getBlockSize()

int cv::rgbd::RgbdPlane::getBlockSize ( ) const
inline
Python:
cv.rgbd.RgbdPlane.getBlockSize() -> retval

◆ getMethod()

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

◆ getMinSize()

int cv::rgbd::RgbdPlane::getMinSize ( ) const
inline
Python:
cv.rgbd.RgbdPlane.getMinSize() -> retval

◆ getSensorErrorA()

double cv::rgbd::RgbdPlane::getSensorErrorA ( ) const
inline
Python:
cv.rgbd.RgbdPlane.getSensorErrorA() -> retval

◆ getSensorErrorB()

double cv::rgbd::RgbdPlane::getSensorErrorB ( ) const
inline
Python:
cv.rgbd.RgbdPlane.getSensorErrorB() -> retval

◆ getSensorErrorC()

double cv::rgbd::RgbdPlane::getSensorErrorC ( ) const
inline
Python:
cv.rgbd.RgbdPlane.getSensorErrorC() -> retval

◆ getThreshold()

double cv::rgbd::RgbdPlane::getThreshold ( ) const
inline
Python:
cv.rgbd.RgbdPlane.getThreshold() -> retval

◆ operator()() [1/2]

void cv::rgbd::RgbdPlane::operator() ( InputArray points3d,
InputArray normals,
OutputArray mask,
OutputArray plane_coefficients )

深度画像内の平面を見つける

引数
points3d深度画像と同様に整理された3次元点。3チャンネルの rows x cols
normals深度画像内の各点に対する法線
mask各ピクセルに、それが属する平面のラベルが付けられ、どの平面にも属さない場合は255が付けられた画像
plane_coefficients対応する平面の係数 (a,b,c,d)。ax+by+cz+d=0, norm(a,b,c)=1, c < 0 を満たす(これにより法線がカメラの方を向く)

◆ operator()() [2/2]

void cv::rgbd::RgbdPlane::operator() ( InputArray points3d,
OutputArray mask,
OutputArray plane_coefficients )

法線チェックを行わずに深度画像内の平面を見つける。より高速だが精度は低い

引数
points3d深度画像と同様に整理された3次元点。3チャンネルの rows x cols
mask各ピクセルに、それが属する平面のラベルが付けられ、どの平面にも属さない場合は255が付けられた画像
plane_coefficients対応する平面の係数 (a,b,c,d)。ax+by+cz+d=0 を満たす

◆ setBlockSize()

void cv::rgbd::RgbdPlane::setBlockSize ( int val)
inline
Python:
cv.rgbd.RgbdPlane.setBlockSize(val) -> None

◆ setMethod()

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

◆ setMinSize()

void cv::rgbd::RgbdPlane::setMinSize ( int val)
inline
Python:
cv.rgbd.RgbdPlane.setMinSize(val) -> None

◆ setSensorErrorA()

void cv::rgbd::RgbdPlane::setSensorErrorA ( double val)
inline
Python:
cv.rgbd.RgbdPlane.setSensorErrorA(val) -> None

◆ setSensorErrorB()

void cv::rgbd::RgbdPlane::setSensorErrorB ( double val)
inline
Python:
cv.rgbd.RgbdPlane.setSensorErrorB(val) -> None

◆ setSensorErrorC()

void cv::rgbd::RgbdPlane::setSensorErrorC ( double val)
inline
Python:
cv.rgbd.RgbdPlane.setSensorErrorC(val) -> None

◆ setThreshold()

void cv::rgbd::RgbdPlane::setThreshold ( double val)
inline
Python:
cv.rgbd.RgbdPlane.setThreshold(val) -> None

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