cornerpointの座標値データの取得

1 visualización (últimos 30 días)
wataru yoshimi
wataru yoshimi el 12 de En. de 2017
Comentada: wataru yoshimi el 20 de En. de 2017
以下のようなコードで、画像1と2をレジストレーションするためにコントロールポイントをmovingPoints, fixedPointsに当てはめたいので、座標値データを取得し、single,doubleに変換したいです。
movingPoints=’画像1のコーナーポイント2000点’ fixedPoints=’画像2のコーナーポイント2000点’
% code
mytform = fitgeotrans(movingPoints, fixedPoints, 'affine');
registered = imwarp(image, mytform);
end

Respuesta aceptada

Tohru Kikawada
Tohru Kikawada el 13 de En. de 2017
Computer Vision System Toolboxはお持ちでしょうか。
お持ちであれば こちら の方法でコーナー点の検出、対応点マッチング、変換行列の推定が行えます。
Image Processing Toolbox単体ですと、 corner 関数でコーナー点を検出することはできるのですが、マッチングを行うことができません。また、 fitgeotrans ですと、誤対応点を除去する仕組み(RANSACなど)がないため、実画像ではロバストに推定ができないケースがあります。
ご参考になりましたら幸いです。
  1 comentario
wataru yoshimi
wataru yoshimi el 20 de En. de 2017
ありがとうございました。 レジストレーション上手くいきました。

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by