-
pyflow optical flow영상처리/3D computer vision 2023. 11. 1. 19:29728x90
dense optical flow alogirhtm 중 성능이 좋은 classical한 algorithm을 발견했다.
아래 git으로, Ce Liu's C++ implementation of Coarse2Fine Optical Flow 를 python wrapper를 만든 것이다.
https://github.com/pathak22/pyflow
GitHub - pathak22/pyflow: Fast, accurate and easy to run dense optical flow with python wrapper
Fast, accurate and easy to run dense optical flow with python wrapper - GitHub - pathak22/pyflow: Fast, accurate and easy to run dense optical flow with python wrapper
github.com
windows에서 build시 아래 부분 수정해줘야 한다.
* src 폴더의 project.h에서 #define _LINUX_MAC 을 주석처리 해야 한다.
// if the files are compiled in linux or mac os then uncomment the following line, otherwise comment it if you compile using visual studio in windows // #define _LINUX_MAC // #define _OPENCV
frame1, frame2 그리고 optical flow 결과 frame2를 frame1으로 warping한 결과. frame1과 거의 유사하다. (disoccluded region은 어쩔 수 없지만..) Reference
C. Liu. Beyond Pixels: Exploring New Representations and Applications for Motion Analysis. Doctoral Thesis. Massachusetts Institute of Technology. May 2009.
https://people.csail.mit.edu/celiu/OpticalFlow/
Optical Flow Matlab/C++ Code
Optical Flow Matlab/C++ Code [Download the latest package] [Update Aug 1, 2011]. Recently I used successive over-relaxation (SOR) to replace conjugate gradient (CG) in solving the linear system and the code ran much faster! I developed some C++ optical flo
people.csail.mit.edu
728x90'영상처리 > 3D computer vision' 카테고리의 다른 글
야경 사진 노이즈 제거 (0) 2024.02.22 Handheld Multi-Frame Super-Resolution (2019) (0) 2023.11.23 RAFT: Recurrent All-Pairs Field Transforms for Optical Flow 돌려보기 (0) 2023.10.30 Dense Optical Flow algorithm 비교 (open cv) (2) 2023.10.15 Epipolar geometry (0) 2023.02.12