locate (x,y) coordinates on an image

3 Ansichten (letzte 30 Tage)
Anisha Jamil
Anisha Jamil am 27 Jun. 2021
Bearbeitet: Anisha Jamil am 28 Jun. 2021
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?

Antworten (1)

Matt J
Matt J am 28 Jun. 2021
Assuming the transform type you're using supports it, you would use transformPointsInverse.
  2 Kommentare
Anisha Jamil
Anisha Jamil am 28 Jun. 2021
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 am 28 Jun. 2021
Bearbeitet: Matt J am 28 Jun. 2021
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by