🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

クラス Odometry


  • public class Odometry
    extends java.lang.Object
    • フィールドの詳細

      • nativeObj

        protected final long nativeObj
    • コンストラクタの詳細

      • 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 - ソースRGB
        dstDepth - 宛先深度(「回転後」画像)
        dstRGB - 宛先RGB
        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
      • 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.
        戻り値:
        自動生成