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

Class SparseMatchInterpolator

  • 既知の直接サブクラス:
    EdgeAwareInterpolator, RICInterpolator

    public class SparseMatchInterpolator
    extends Algorithm
    Main interface for all filters, that take sparse matches as an input and produce a dense per-pixel matching (optical flow) as an output.
    • コンストラクタの詳細

      • SparseMatchInterpolator

        protected SparseMatchInterpolator​(long addr)
    • メソッドの詳細

      • interpolate

        public void interpolate​(Mat from_image,
                                Mat from_points,
                                Mat to_image,
                                Mat to_points,
                                Mat dense_flow)
        Interpolate input sparse matches.
        引数:
        from_image - マッチングされた 2 枚の画像のうち 1 枚目。8 ビットのシングルチャンネルまたは 3 チャンネル。
        from_points - to_image に対応点が存在する from_image 上の点(Point2f のベクトルまたは深度 CV_32F の Mat)
        to_image - マッチングされた 2 枚の画像のうち 2 枚目。8 ビットのシングルチャンネルまたは 3 チャンネル。
        to_points - from_points に対応する to_image 上の点(Point2f のベクトルまたは深度 CV_32F の Mat)
        dense_flow - 出力される密なマッチング(2 チャンネルの CV_32F 画像)