필터 지우기
필터 지우기

displacement vector

조회 수: 11 (최근 30일)
shah baba
shah baba 2011년 5월 23일
댓글: Sharaz Haider 2021년 11월 17일
Hi, I have two images of same size such that
im1_o=image at time 0
im2_1=image at time 1
I want to compute displacement vetor for these two images using intensity correlation for given Window size (odd). I donot understand where to start. Can I use some builtin function of matlab? Any help or link to some code.
  댓글 수: 2
Sharaz Haider
Sharaz Haider 2021년 11월 17일
Sharaz Haider
Sharaz Haider 2021년 11월 17일
any thing like this available?

댓글을 달려면 로그인하십시오.

채택된 답변

Alex Taylor
Alex Taylor 2011년 5월 25일
If you look at the cross correlation registration demo in the Image Processing Toolbox, you'll see how normxcorr2 can be used to solve for the displacement vector you are interested in.
  댓글 수: 2
Sh Ahmadi
Sh Ahmadi 2019년 6월 2일
편집: Sh Ahmadi 2019년 6월 2일
Hi , I'm tring to open this link , but is not active. How I can log in to this link ?
Sharaz Haider
Sharaz Haider 2021년 11월 17일
any solution plzz

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Aaronne
Aaronne 2011년 8월 25일
편집: John Kelly 2014년 5월 27일
I guess you are looking for something at the end the page
Use 'quiver' function.
Thanks.

Sean de Wolski
Sean de Wolski 2011년 5월 23일
  댓글 수: 7
Sean de Wolski
Sean de Wolski 2011년 5월 24일
But the object is changing size (i.e. morphing) and so what you want is the new area defined by the flood. This is not a displacement vector as there is something completely new in the image. A displacement vector is the change in location of an object in BOTH images. So what you want to do is register the images to the best of your ability and then do an image comparison, such as a subtraction/area calculation/segmentation etc, to figure out how much has flooded. Post your images if you want better answers.
shah baba
shah baba 2011년 5월 24일
Thanx for your kind reply. Infact I need only displacement vector.
Situation:
I have image of object (going under deformation) at 0 epoch and n Epoch.
I can get difference when I have displacement_vector1 (image1-image0) based on correlation and then I make image of displacement_vector1. Length of vector is displacement.
Now Why I registered first to avoide instability of camera during experiment.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by