Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Incorporating CUDA API in prebuilt compiled Opencv ecc.cpp code

Hi, To improve the performance of image registration using findtransformecc() Opencv API ,I changed warpperspective() to cuda::warpperspective() in ecc.cpp file. But I'm stuck with the following error.

undefined reference to `cv::cuda::warpPerspective(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, cv::Size_<int>, int, int, cv::Scalar_<double>, cv::cuda::Stream&)' collect2: error: ld returned 1 exit status.