Hi, I'm not sure if this should go to ros-users or the opencv mailing list, but I'm getting a runtime error in cv::Canny(): OpenCV Error: Unsupported format or combination of formats () in cvCanny, file /opt/ros/cturtle/stack/vision_opencv/opencv2/build/opencv-svn/modules/imgproc/src/canny.cpp, line 66 terminate called after throwing an instance of 'cv::Exception' Here's my code: Mat1b I2, E; I = 256*I; // I is a Mat1d I.assignTo(I2, DataType::type); I = I/256; E.create(I2.size()); Canny(I2,E,100,240); I'm also getting some warnings during compilation about the opencv headers: In file included from /u/jglov/lis/bookbot/src/bookFinder.cpp:2: /opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:47:2: warning: #warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module" In file included from /opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:64, from /u/jglov/lis/bookbot/src/bookFinder.cpp:2: /opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv2/core/internal.hpp:297:1: warning: "CV_IMPL" redefined In file included from /u/jglov/lis/bookbot/src/bookFinder.cpp:2: /opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:60:1: warning: this is the location of the previous definition /opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:67:8: warning: extra tokens at end of #endif directive I've attached the manifest.xml and CMakeLists.txt of the project for reference. Thanks, Jared