ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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