Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

64bits openCV error convertToGrayscalePlanarImages

$
0
0

Hey! i implement this code to my app and i start getting the error in the bottom any ideas?
I think is the convertToGrayscalePlanarImages function.


photoCV.convertToGrayscalePlanarImages(r, g, b);

r.brightnessContrast(brillo, contraste);
g.brightnessContrast(brillo, contraste);
b.brightnessContrast(brillo, contraste);

photoCV.setFromGrayscalePlanarImages(r, g, b);

OpenCV Error: Null pointer (Null pointer to image) in cvGetImageROI, file /Users/danielrosser/Documents/openFrameworks/scripts/apothecary/build/OpenCV/modules/core/src/array.cpp, line 3057
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/danielrosser/Documents/openFrameworks/scripts/apothecary/build/OpenCV/modules/core/src/array.cpp:3057: error: (-27) Null pointer to image in function cvGetImageROI


Viewing all articles
Browse latest Browse all 40524

Trending Articles