locate (x,y) coordinates on an image

조회 수: 5 (최근 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 CenterFile Exchange에서 Geometric 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