🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.ptcloud
クラス Odometry
- java.lang.Object
-
- org.opencv.ptcloud.Odometry
-
public class Odometry extends java.lang.Object
-
-
フィールドの要約
フィールド Modifier and Type Field Description protected longnativeObj
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description Odometry()Odometry​(int otype)Odometry​(int otype, OdometrySettings settings, int algtype)protectedOdometry​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static Odometry__fromPtr__​(long addr)booleancompute​(Mat srcDepth, Mat dstDepth, Mat Rt)Compute Rigid Transformation between two frames so that Rt * src = dstbooleancompute​(Mat srcDepth, Mat srcRGB, Mat dstDepth, Mat dstRGB, Mat Rt)Compute Rigid Transformation between two frames so that Rt * src = dstbooleancompute​(OdometryFrame srcFrame, OdometryFrame dstFrame, Mat Rt)Compute Rigid Transformation between two frames so that Rt * src = dst Both frames, source and destination, should have been prepared by calling prepareFrame() firstlonggetNativeObjAddr()RgbdNormalsgetNormalsComputer()Get the normals computer object used for normals calculation (if presented).voidprepareFrame​(OdometryFrame frame)Prepare frame for odometry calculationvoidprepareFrames​(OdometryFrame srcFrame, OdometryFrame dstFrame)Prepare frame for odometry calculation
-
-
-
コンストラクタの詳細
-
Odometry
protected Odometry​(long addr)
-
Odometry
public Odometry()
-
Odometry
public Odometry​(int otype)
-
Odometry
public Odometry​(int otype, OdometrySettings settings, int algtype)
-
-
メソッドの詳細
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static Odometry __fromPtr__​(long addr)
-
prepareFrame
public void prepareFrame​(OdometryFrame frame)
Prepare frame for odometry calculation- 引数:
frame- odometryはこのフレームをsrcフレームとdstフレームとして同時に準備する
-
prepareFrames
public void prepareFrames​(OdometryFrame srcFrame, OdometryFrame dstFrame)
Prepare frame for odometry calculation- 引数:
srcFrame- srcフレーム(「元」画像)として準備されるフレームdstFrame- dsrフレーム(「回転後」画像)として準備されるフレーム
-
compute
public boolean compute​(OdometryFrame srcFrame, OdometryFrame dstFrame, Mat Rt)
Compute Rigid Transformation between two frames so that Rt * src = dst Both frames, source and destination, should have been prepared by calling prepareFrame() first- 引数:
srcFrame- srcフレーム(「元」画像)dstFrame- dstフレーム(「回転後」画像)Rt- 剛体変換。計算される対象で、次の形式: { R_11 R_12 R_13 t_1 R_21 R_22 R_23 t_2 R_31 R_32 R_33 t_3 0 0 0 1 }- 戻り値:
- 成功した場合は true、変換が見つからなかった場合は false
-
compute
public boolean compute​(Mat srcDepth, Mat dstDepth, Mat Rt)
Compute Rigid Transformation between two frames so that Rt * src = dst- 引数:
srcDepth- ソース深度(「元」画像)dstDepth- 宛先深度(「回転後」画像)Rt- 剛体変換。計算される対象で、次の形式: { R_11 R_12 R_13 t_1 R_21 R_22 R_23 t_2 R_31 R_32 R_33 t_3 0 0 0 1 }- 戻り値:
- 成功した場合は true、変換が見つからなかった場合は false
-
compute
public boolean compute​(Mat srcDepth, Mat srcRGB, Mat dstDepth, Mat dstRGB, Mat Rt)
Compute Rigid Transformation between two frames so that Rt * src = dst- 引数:
srcDepth- ソース深度(「元」画像)srcRGB- ソースRGBdstDepth- 宛先深度(「回転後」画像)dstRGB- 宛先RGBRt- 剛体変換。計算される対象で、次の形式: { R_11 R_12 R_13 t_1 R_21 R_22 R_23 t_2 R_31 R_32 R_33 t_3 0 0 0 1 }- 戻り値:
- 成功した場合は true、変換が見つからなかった場合は false
-
getNormalsComputer
public RgbdNormals getNormalsComputer()
Get the normals computer object used for normals calculation (if presented). The normals computer is generated at first need during prepareFrame when normals are required for the ICP algorithm but not presented by a user. Re-generated each time the related settings change or a new frame arrives with the different size.- 戻り値:
- 自動生成
-
-