displacement vector
Mostrar comentarios más antiguos
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 comentarios
Sharaz Haider
el 17 de Nov. de 2021

Sharaz Haider
el 17 de Nov. de 2021
any thing like this available?
Respuesta aceptada
Más respuestas (2)
Aaronne
el 25 de Ag. de 2011
Editada: John Kelly
el 27 de Mayo de 2014
1 voto
I guess you are looking for something at the end the page
Use 'quiver' function.
Thanks.
Sean de Wolski
el 23 de Mayo de 2011
doc normxcorr2
7 comentarios
shah baba
el 23 de Mayo de 2011
Sean de Wolski
el 23 de Mayo de 2011
1) Yes, the size of template - the first input argument to normxcorr2
2) If you have them registered already then why do you need to calculate a displacement vector...?
shah baba
el 23 de Mayo de 2011
Sean de Wolski
el 23 de Mayo de 2011
So then why do you need a displacement vector? Wouldn't an image subtraction work. You're not going to be able to calculate a displacement vector for an object that is not in both images (e.g. flood waters v. Vicksburg MS)
shah baba
el 24 de Mayo de 2011
Sean de Wolski
el 24 de Mayo de 2011
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
el 24 de Mayo de 2011
Categorías
Más información sobre Geometric Transformation and Image Registration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!