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

#include <opencv2/rgbd/depth.hpp>

Collaboration diagram for cv::rgbd::RgbdNormals:

公開型

enum  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)
 
- 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< RgbdNormalscreate (int rows, int cols, int depth, InputArray K, int window_size=5, int method=RgbdNormals::RGBD_NORMALS_METHOD_FALS)
 
- 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)
 ファイルノードからアルゴリズムを読み込む。
 

限定公開メンバ関数

void initialize_normals_impl (int rows, int cols, int depth, const Mat &K, int window_size, int method) const
 
- Protected Member Functions inherited from 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 depth,
InputArray K,
int window_size = 5,
int method = RgbdNormals::RGBD_NORMALS_METHOD_FALS )

コンストラクタ

引数
rows法線を計算する対象となる深度画像の行数
cols法線を計算する対象となる深度画像の列数
depth法線のビット深度 (CV_32F または CV_64F のみ)
K使用するキャリブレーション行列
window_size法線を計算するウィンドウサイズ: 1, 3, 5, 7 のいずれかのみ指定可能
method使用する手法のいずれか: 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 depth,
InputArray K,
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() -> None

後の計算のためにキャッシュされる一部のデータを初期化する。この関数が呼ばれない場合、法線が初めて計算されるときに呼び出される

◆ initialize_normals_impl()

void cv::rgbd::RgbdNormals::initialize_normals_impl ( int rows,
int cols,
int depth,
const Mat & K,
int window_size,
int method ) const
protected

◆ operator()()

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

深度画像中の3次元点の集合が与えられたとき、各点における法線を計算する。

引数
pointsCV_32F/CV64F の rows x cols x 3 行列、または CV_U16S の rows x cols x 1 行列
normalsrows x cols x 3 の行列

◆ setCols()

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

◆ setDepth()

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

◆ setK()

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

◆ setMethod()

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

◆ setRows()

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

◆ setWindowSize()

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

メンバ変数詳解

◆ cols_

int cv::rgbd::RgbdNormals::cols_
protected

◆ depth_

int cv::rgbd::RgbdNormals::depth_
protected

◆ K_

Mat cv::rgbd::RgbdNormals::K_
protected

◆ method_

int cv::rgbd::RgbdNormals::method_
protected

◆ rgbd_normals_impl_

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

◆ rows_

int cv::rgbd::RgbdNormals::rows_
protected

◆ window_size_

int cv::rgbd::RgbdNormals::window_size_
protected

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