Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found the problem. The line

cuda::StereoBeliefPropagation *bp =
    cuda::createStereoBeliefPropagation();

should instead be

Ptr<cuda::StereoBeliefPropagation> bp =
    cuda::createStereoBeliefPropagation();

I found the problem. The line

cuda::StereoBeliefPropagation *bp =
    cuda::createStereoBeliefPropagation();

should instead be

Ptr<cuda::StereoBeliefPropagation> bp =
    cuda::createStereoBeliefPropagation();

As a note, the OpenCV GPU examples were very useful in solving this problem.