![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/803679/image.jpeg)
displacement vector
6 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
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 件のコメント
その他の回答 (2 件)
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.
0 件のコメント
Sean de Wolski
2011 年 5 月 23 日
doc normxcorr2
7 件のコメント
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.
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!