Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no feature found #60

Open
bigdimboom opened this issue Apr 10, 2019 · 2 comments
Open

no feature found #60

bigdimboom opened this issue Apr 10, 2019 · 2 comments

Comments

@bigdimboom
Copy link

image

System:
win64-vc140-debug
nvcc 9.1

@bigdimboom
Copy link
Author

image

@gmcgrath-lakehead
Copy link

I actually encountered this problem a few days ago. Are you converting your image to greyscale and then converting it to CV_32FC1? Example from my code where Left is a class containing both Mat grey and Mat Frame:

cvtColor(Left.Frame, Left.gray, COLOR_BGR2GRAY); Left.gray.convertTo(Left.Frame, CV_32FC1);

For convertTo you need to include #include <opencv2/core/mat.hpp> and for cvtColor you need to include #include <opencv2/cudaimgproc.hpp>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants