I'm working on a video stabilisation project using OpenCV, and I've got a CPU implementation working but the performance needs improvement so I'm trying to move most of the processing to the GPU.
The current implementation primarily uses these four OpenCV functions:
cv::goodFeaturesToTrackcv::calcOpticalFlowPyrLKcv::estimateRigidTransformcv::warpAffineSo far I've found the following equivalents on the GPU:
cv::cuda::createGoodFeaturesToTrackDetectorcv::cuda::SparsePyrLKOpticalFlowcv::cuda::warpAffineIs there a CUDA equivalent of estimateRigidTransform?
OpenCV doesn't have implementation for estimateRigidTransform on CUDA. There is opencv based project on github, which has functions for computing homographies and estimating rigid transforms: https://github.com/danielsuo/cuSIFT
Here is function you need: https://github.com/danielsuo/cuSIFT/blob/master/extras/rigidTransform.cu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With