#include <opencv/cv.h>
#include <math.h>
#include <iostream>
#include <opencv/highgui.h>
#include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/RegionOfInterest.h>
#include <cv_bridge/CvBridge.h>
#include "ias_projected_light/cp.h"
Go to the source code of this file.
Functions | |
bool | equals (CvPoint p1, CvPoint p2) |
void | getImageRoi (const sensor_msgs::ImageConstPtr &ms) |
int | main (int argc, char **argv) |
Variables | |
IplImage * | black |
sensor_msgs::CvBridge | bridge |
ros::ServiceClient | cl |
string | input_topic |
string | output_topic |
int | pattern = 0 |
float | percentage = 0.3 |
ros::Publisher | pub |
sensor_msgs::RegionOfInterest | r |
bool | recompute = false |
ros::Subscriber | sub |
int | threshold = 2 |
bool | use_partitions = false |
IplImage * | white |
bool equals | ( | CvPoint | p1, |
CvPoint | p2 | ||
) |
Definition at line 64 of file roi_diff_image.cpp.
void getImageRoi | ( | const sensor_msgs::ImageConstPtr & | ms | ) |
Definition at line 69 of file roi_diff_image.cpp.
Definition at line 206 of file roi_diff_image.cpp.
IplImage* black |
Definition at line 58 of file roi_diff_image.cpp.
sensor_msgs::CvBridge bridge |
Definition at line 55 of file roi_diff_image.cpp.
Definition at line 54 of file roi_diff_image.cpp.
Definition at line 49 of file roi_diff_image.cpp.
Definition at line 50 of file roi_diff_image.cpp.
Definition at line 61 of file roi_diff_image.cpp.
float percentage = 0.3 |
Definition at line 43 of file roi_diff_image.cpp.
Definition at line 53 of file roi_diff_image.cpp.
sensor_msgs::RegionOfInterest r |
Definition at line 56 of file roi_diff_image.cpp.
bool recompute = false |
Definition at line 45 of file roi_diff_image.cpp.
Definition at line 52 of file roi_diff_image.cpp.
Definition at line 47 of file roi_diff_image.cpp.
bool use_partitions = false |
Definition at line 44 of file roi_diff_image.cpp.
IplImage* white |
Definition at line 59 of file roi_diff_image.cpp.