how can I warp an image using HS optic flow
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Optics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!