locate (x,y) coordinates on an image

4 ビュー (過去 30 日間)
Anisha Jamil
Anisha Jamil 2021 年 6 月 27 日
編集済み: Anisha Jamil 2021 年 6 月 28 日
Hi, I performed image registration of two images using the function cpselect where I selected some points on the fixed and moving images and later transformed them. Any idea on how I can locate the specific points on the moving image which can later be transformed into the fixed imag?

回答 (1 件)

Matt J
Matt J 2021 年 6 月 28 日
Assuming the transform type you're using supports it, you would use transformPointsInverse.
  2 件のコメント
Anisha Jamil
Anisha Jamil 2021 年 6 月 28 日
Thank you! Is there a way to select points on the fixed image (without using ginput) to transform and find the corresponding coordinates on the moving image?
Matt J
Matt J 2021 年 6 月 28 日
編集済み: Matt J 2021 年 6 月 28 日
You can use datatip() instead of ginput, although youwill have to set SnapToDataVertex appropriately, if you want to be able to select non-integer pixel locations.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by