How to compute the displacement field between different images?
Afficher commentaires plus anciens
Hi, we are two students and we have to compute the displacement field between images of a heart in movement. We don't know how to compute the displacement in the x direction and in the y direction. Could you help us to implement the code? Thank you.
3 commentaires
Pau Garcia i Morales
le 3 Nov 2017
Hi, we are a couple of students looking for the same answer. Did you find it?
Santhosh Vallakati
le 8 Sep 2020
Modifié(e) : Santhosh Vallakati
le 8 Sep 2020
I do not see any function in Computer Vision System Toolbox which provides the image pixel displacement between two images. I tried using imregtform() function but this is not capable of finding the movement in single object displacement. Is there any other source which helps in finding the image pixel displacement between two compared images?
Image Analyst
le 8 Sep 2020
Try normxcorr2(). Demo attached.
Réponses (1)
Image Analyst
le 25 Nov 2015
0 votes
There is an optical flow function in the Computer Vision System Toolbox that you should use. It basically gives a little vector at each pixel saying where that pixel moved to from the first image to the second image.
Catégories
En savoir plus sur Motion Estimation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!