Ask Your Question

Revision history [back]

Gpu sample program error

Hi! I installed openCV in my computer and I am trying to work on computer vision with openCV using CUDA. I have downloaded openCV 2.4.3 which is compatible with NVidia SDK 4.2 and I am doing the programming in microsoft visual studion 2008. I have tried one sample program of displaying an image which runs well and I can see the image. However when I am trying to run the sample program given in this website I am getting an error like

error C2440: 'initializing' : cannot convert from 'cv::gpu::GpuMat' to 'cv::Mat'

what is this error about and how can I get rid of it? Thanks for all your cooperation.