how can I warp an image using HS optic flow

3 ビュー (過去 30 日間)
moshe
moshe 2014 年 4 月 7 日
回答済み: Alex Taylor 2014 年 4 月 7 日
I have an image A and B. I calculated U V using Horn-Schunck algorithm. how can I warp image B to image A using the optic flow u v between them? thanks

回答 (1 件)

Alex Taylor
Alex Taylor 2014 年 4 月 7 日
Essentially, you are going to going to want to form a plaid grid of the displacements of each pixel using meshgrid, add these displacements to the locations of the output grid locations, and then use interp2 to resample the input image at the remapped locations from the optical flow estimate of the displacement field.

カテゴリ

Help Center および File ExchangeOptics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by