🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.ptcloud
クラス RgbdNormals
- java.lang.Object
-
- org.opencv.ptcloud.RgbdNormals
public class RgbdNormals extends java.lang.Object画像中の法線を計算できるオブジェクト。速度効率のためにデータをキャッシュできるオブジェクトとなっている。実装されている手法は次のいずれかである: - FALS (最速) と SRI (Fast and Accurate Computation of Surface Normals from Range Images by H. Badino, D. Huber, Y. Park and T. Kanade より) - depth画像へのバイラテラルフィルタリングによる法線 (Gradient Response Maps for Real-Time Detection of Texture-Less Objects by S. Hinterstoisser, C. Cagniart, S. Ilic, P. Sturm, N. Navab, P. Fua, and V. Lepetit より)
-
-
フィールドの要約
フィールド Modifier and Type Field Description protected longnativeObjstatic intRGBD_NORMALS_METHOD_CROSS_PRODUCTstatic intRGBD_NORMALS_METHOD_FALSstatic intRGBD_NORMALS_METHOD_LINEMODstatic intRGBD_NORMALS_METHOD_SRI
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedRgbdNormals​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static RgbdNormals__fromPtr__​(long addr)voidapply​(Mat points, Mat normals)Given a set of 3d points in a depth image, compute the normals at each point.voidcache()Prepares cached data required for calculation If not called by user, called automatically at first calculationstatic RgbdNormalscreate()Creates new RgbdNormals objectstatic RgbdNormalscreate​(int rows)Creates new RgbdNormals objectstatic RgbdNormalscreate​(int rows, int cols)Creates new RgbdNormals objectstatic RgbdNormalscreate​(int rows, int cols, int depth)Creates new RgbdNormals objectstatic RgbdNormalscreate​(int rows, int cols, int depth, Mat K)Creates new RgbdNormals objectstatic RgbdNormalscreate​(int rows, int cols, int depth, Mat K, int window_size)Creates new RgbdNormals objectstatic RgbdNormalscreate​(int rows, int cols, int depth, Mat K, int window_size, float diff_threshold)Creates new RgbdNormals objectstatic RgbdNormalscreate​(int rows, int cols, int depth, Mat K, int window_size, float diff_threshold, int method)Creates new RgbdNormals objectintgetCols()intgetDepth()voidgetK​(Mat val)intgetMethod()longgetNativeObjAddr()intgetRows()intgetWindowSize()voidsetCols​(int val)voidsetK​(Mat val)voidsetRows​(int val)voidsetWindowSize​(int val)
-
-
-
フィールドの詳細
-
nativeObj
protected final long nativeObj
-
RGBD_NORMALS_METHOD_FALS
public static final int RGBD_NORMALS_METHOD_FALS
- 関連項目:
- 定数フィールド値
-
RGBD_NORMALS_METHOD_LINEMOD
public static final int RGBD_NORMALS_METHOD_LINEMOD
- 関連項目:
- 定数フィールド値
-
RGBD_NORMALS_METHOD_SRI
public static final int RGBD_NORMALS_METHOD_SRI
- 関連項目:
- 定数フィールド値
-
RGBD_NORMALS_METHOD_CROSS_PRODUCT
public static final int RGBD_NORMALS_METHOD_CROSS_PRODUCT
- 関連項目:
- 定数フィールド値
-
-
メソッドの詳細
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static RgbdNormals __fromPtr__​(long addr)
-
create
public static RgbdNormals create​(int rows, int cols, int depth, Mat K, int window_size, float diff_threshold, int method)
Creates new RgbdNormals object- 引数:
rows- 法線を計算する対象のdepth画像の行数cols- 法線を計算する対象のdepth画像の列数depth- 法線のビット深度 (CV_32F または CV_64F のみ)K- 使用するキャリブレーション行列window_size- 法線を計算するウィンドウサイズ: 1,3,5,7 のいずれかのみ指定可能diff_threshold- depthの差に対するしきい値。LINEMODアルゴリズムで使用されるmethod- 使用する手法のいずれか: RGBD_NORMALS_METHOD_SRI, RGBD_NORMALS_METHOD_FALS- 戻り値:
- 自動生成
-
create
public static RgbdNormals create​(int rows, int cols, int depth, Mat K, int window_size, float diff_threshold)
Creates new RgbdNormals object- 引数:
rows- 法線を計算する対象のdepth画像の行数cols- 法線を計算する対象のdepth画像の列数depth- 法線のビット深度 (CV_32F または CV_64F のみ)K- 使用するキャリブレーション行列window_size- 法線を計算するウィンドウサイズ: 1,3,5,7 のいずれかのみ指定可能diff_threshold- depthの差に対するしきい値。LINEMODアルゴリズムで使用される- 戻り値:
- 自動生成
-
create
public static RgbdNormals create​(int rows, int cols, int depth, Mat K, int window_size)
Creates new RgbdNormals object- 引数:
rows- 法線を計算する対象のdepth画像の行数cols- 法線を計算する対象のdepth画像の列数depth- 法線のビット深度 (CV_32F または CV_64F のみ)K- 使用するキャリブレーション行列window_size- 法線を計算するウィンドウサイズ: 1,3,5,7 のいずれかのみ指定可能- 戻り値:
- 自動生成
-
create
public static RgbdNormals create​(int rows, int cols, int depth, Mat K)
Creates new RgbdNormals object- 引数:
rows- 法線を計算する対象のdepth画像の行数cols- 法線を計算する対象のdepth画像の列数depth- 法線のビット深度 (CV_32F または CV_64F のみ)K- 使用するキャリブレーション行列- 戻り値:
- 自動生成
-
create
public static RgbdNormals create​(int rows, int cols, int depth)
Creates new RgbdNormals object- 引数:
rows- 法線を計算する対象のdepth画像の行数cols- 法線を計算する対象のdepth画像の列数depth- 法線のビット深度 (CV_32F または CV_64F のみ)- 戻り値:
- 自動生成
-
create
public static RgbdNormals create​(int rows, int cols)
Creates new RgbdNormals object- 引数:
rows- 法線を計算する対象のdepth画像の行数cols- 法線を計算する対象のdepth画像の列数- 戻り値:
- 自動生成
-
create
public static RgbdNormals create​(int rows)
Creates new RgbdNormals object- 引数:
rows- 法線を計算する対象のdepth画像の行数- 戻り値:
- 自動生成
-
create
public static RgbdNormals create()
Creates new RgbdNormals object- 戻り値:
- 自動生成
-
apply
public void apply​(Mat points, Mat normals)
Given a set of 3d points in a depth image, compute the normals at each point.- 引数:
points- CV_32F/CV64F の rows x cols x 3 行列、または CV_U16S の rows x cols x 1 行列normals- rows x cols x 3 の行列
-
cache
public void cache()
Prepares cached data required for calculation If not called by user, called automatically at first calculation
-
getRows
public int getRows()
-
setRows
public void setRows​(int val)
-
getCols
public int getCols()
-
setCols
public void setCols​(int val)
-
getWindowSize
public int getWindowSize()
-
setWindowSize
public void setWindowSize​(int val)
-
getDepth
public int getDepth()
-
getK
public void getK​(Mat val)
-
setK
public void setK​(Mat val)
-
getMethod
public int getMethod()
-
-