ed_sensor_integration
Functions
tools/segmenter.cpp File Reference
#include <ed/models/model_loader.h>
#include <ed/world_model.h>
#include <ed/update_request.h>
#include <ed/serialization/serialization.h>
#include <ed/io/json_reader.h>
#include <ed/kinect/updater.h>
#include <tue/filesystem/crawler.h>
#include <rgbd/image.h>
#include <rgbd/serialization.h>
#include <rgbd/view.h>
#include <opencv2/highgui/highgui.hpp>
#include <tue/config/read.h>
#include <tue/config/reader.h>
#include <tue/config/data_pointer.h>
#include <ed/entity.h>
#include <fstream>
#include <vector>
#include "ed_sensor_integration/tools/snapshot.h"
Include dependency graph for tools/segmenter.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void usage ()
 usage: instruct user how to use the executable More...
 
void visualizeSegmentation (const ed::Snapshot &snapshot, const UpdateResult &res, cv::Mat canvas)
 visualizeSegmentation paint segmentation result over an image More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 83 of file tools/segmenter.cpp.

◆ usage()

void usage ( )

usage: instruct user how to use the executable

Definition at line 77 of file tools/segmenter.cpp.

◆ visualizeSegmentation()

void visualizeSegmentation ( const ed::Snapshot snapshot,
const UpdateResult res,
cv::Mat  canvas 
)

visualizeSegmentation paint segmentation result over an image

Parameters
[in]snapshotsnapshot containing the image that was segmented
[in]ressegmentation result on the image
[out]canvascanvas to paint to.

Definition at line 33 of file tools/segmenter.cpp.