How to compute the displacement field between different images?
8 views (last 30 days)
Show older comments
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 Comments
Santhosh Vallakati
on 8 Sep 2020
Edited: Santhosh Vallakati
on 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?
Answers (1)
Image Analyst
on 25 Nov 2015
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.
0 Comments
See Also
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!