How to find displacement in pixels of two images?

8 views (last 30 days)
hi all.. I have two Gray scaled images of same surface having black and white horizontal lines alternatively.But in second image there are some shifts in each pixels. I want to find vertical pixel displacement in second image ,considering first image is the reference image. How to do it? Can anyone help me?
  1 Comment
Mert Karaoglu
Mert Karaoglu on 11 Apr 2017
Hello Sajeesh,
As a Junior Electrical Engineering Student, I warn you that i will not be giving the most decent answer you are seeking, but I know a way to solve your problem.
In order to find the local displacement, you have to follow several alghorithms such as SURF, MSAC etc. There is already this method explained on the mathworks/help, on the following link.
http://www.mathworks.com/help/vision/examples/video-stabilization-using-point-feature-matching.html?searchHighlight=video%20stabilization&s_tid=doc_srchtitle
I hope this helps,
Cheers!

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!