ed_sensor_integration
Functions
segment_and_show.cpp File Reference
#include <ros/ros.h>
#include <ed_sensor_integration/Segment.h>
#include <ed/uuid.h>
#include <ed_gui_server/GetEntityInfo.h>
#include <ed_perception/Classify.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <vector>
Include dependency graph for segment_and_show.cpp:

Go to the source code of this file.

Functions

bool fullColumnHasColor (const cv::Mat &img, int x, const cv::Vec3b &clr)
 
bool fullRowHasColor (const cv::Mat &img, int y, const cv::Vec3b &clr)
 
cv::Rect getBoundingRect (const cv::Mat &img)
 
int main (int argc, char **argv)
 
void mouseCallback (int event, int x, int y, int flags, void *userdata)
 

Function Documentation

◆ fullColumnHasColor()

bool fullColumnHasColor ( const cv::Mat &  img,
int  x,
const cv::Vec3b &  clr 
)

Definition at line 16 of file segment_and_show.cpp.

◆ fullRowHasColor()

bool fullRowHasColor ( const cv::Mat &  img,
int  y,
const cv::Vec3b &  clr 
)

Definition at line 29 of file segment_and_show.cpp.

◆ getBoundingRect()

cv::Rect getBoundingRect ( const cv::Mat &  img)

Definition at line 42 of file segment_and_show.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 111 of file segment_and_show.cpp.

◆ mouseCallback()

void mouseCallback ( int  event,
int  x,
int  y,
int  flags,
void *  userdata 
)

Definition at line 89 of file segment_and_show.cpp.