Matlab - Chroma based road tracking. More...
#include <ros/ros.h>#include <image_transport/image_transport.h>#include <cv_bridge/cv_bridge.h>#include <sensor_msgs/image_encodings.h>#include <opencv2/imgproc/imgproc.hpp>#include <opencv2/highgui/highgui.hpp>
Go to the source code of this file.
Functions | |
| void | imageCallback (const sensor_msgs::ImageConstPtr &original_image) |
| int | main (int argc, char **argv) |
Variables | |
| image_transport::Publisher | pub |
| static const char | WINDOW0 [] = "Image Raw" |
| static const char | WINDOW1 [] = "Image Processed" |
Matlab - Chroma based road tracking.
Definition in file road_recognition.cpp.
| void imageCallback | ( | const sensor_msgs::ImageConstPtr & | original_image | ) |
This function is called everytime a new image is published
Definition at line 54 of file road_recognition.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Always running ( check if there is a new message )
Definition at line 197 of file road_recognition.cpp.
| image_transport::Publisher pub |
Definition at line 48 of file road_recognition.cpp.
const char WINDOW0[] = "Image Raw" [static] |
Definition at line 45 of file road_recognition.cpp.
const char WINDOW1[] = "Image Processed" [static] |
Definition at line 44 of file road_recognition.cpp.