このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
estimateGeometricTransform
(非推奨) マッチする点のペアから幾何学的変換を推定
estimateGeometricTransform
は推奨されません。代わりに、関数 estgeotform2d
または estgeotform3d
を使用してください。詳細については、互換性の考慮事項を参照してください。
構文
説明
は、2 次元幾何学的変換オブジェクト tform
= estimateGeometricTransform(matchedPoints1
,matchedPoints2
,transformType
)tform
を返します。tform
オブジェクトは、matchedPoints1
のインライアを matchedPoints2
のインライアにマッピングします。
関数は、M-estimator SAmple Consensus (MSAC) アルゴリズムを使用して外れ値を排除します。MSAC アルゴリズムは、Random Sample Consensus (RANSAC) アルゴリズムのバリアントです。MSAC アルゴリズムのランダム性のために、すべての実行で結果が同一にならない場合があります。
[
は、tform
,inlierpoints1
,inlierpoints2
] = estimateGeometricTransform(matchedPoints1
,matchedPoints2
,transformType
)inlierpoints1
と inlierpoints2
の対応するインライア点を返します。
[___,
は、ステータス コード status
] = estimateGeometricTransform(matchedPoints1
,matchedPoints2
,transformType
)0
、1
または 2
を返します。status
コードの出力を要求しない場合、関数は結果を生成できない状態に対してエラーを返します。
[___] = estimateGeometricTransform(
は、名前と値の引数を 1 つ以上指定したオプションを追加で使用します。matchedPoints1
,matchedPoints2
,transformType
, Name,Value
)
例
入力引数
出力引数
参照
[1]
[2]