ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

solved: the 3 lines ("error" one, lower and upper lines) should be replaced with

CvMat frame= cv_ptr->image;

cvThreshold(&frame, &frame,200, 255,CV_THRESH_BINARY);

i hope it will help someone else with the same problem cheers