ed_sensor_integration
Functions
kinect/updater.cpp File Reference
#include "ed/kinect/updater.h"
#include <ed/world_model.h>
#include <ed/entity.h>
#include <ed/update_request.h>
#include <rgbd/view.h>
#include <geolib/Shape.h>
#include <geolib/shapes.h>
#include "ed/kinect/association.h"
#include "ed/kinect/renderer.h"
#include "ed/convex_hull_calc.h"
#include <opencv2/highgui/highgui.hpp>
#include <ros/console.h>
Include dependency graph for kinect/updater.cpp:

Go to the source code of this file.

Functions

EntityUpdate mergeConvexHulls (const rgbd::Image &image, const geo::Pose3D &sensor_pose, const geo::DepthCamera &cam_model, const Segmenter &segmenter_, const EntityUpdate &u1, const EntityUpdate &u2)
 mergeConvexHulls, creating a new convexHull around the two objects. Working in both XY and Z. More...
 
std::vector< EntityUpdatemergeOverlappingConvexHulls (const rgbd::Image &image, const geo::Pose3D &sensor_pose, const geo::DepthCamera &cam_model, const Segmenter &segmenter_, const std::vector< EntityUpdate > &updates)
 
void refitConvexHull (const rgbd::Image &image, const geo::Pose3D &sensor_pose, const geo::DepthCamera &cam_model, const Segmenter &segmenter_, EntityUpdate &up)
 

Function Documentation

◆ mergeConvexHulls()

EntityUpdate mergeConvexHulls ( const rgbd::Image image,
const geo::Pose3D sensor_pose,
const geo::DepthCamera cam_model,
const Segmenter segmenter_,
const EntityUpdate u1,
const EntityUpdate u2 
)

mergeConvexHulls, creating a new convexHull around the two objects. Working in both XY and Z.

Parameters
u1EntityUpdate used as starting point
u2Merge points into u1
Returns
new EntityUpdate including new convexHull and measurement points of both inputs.

Definition at line 82 of file kinect/updater.cpp.

◆ mergeOverlappingConvexHulls()

std::vector<EntityUpdate> mergeOverlappingConvexHulls ( const rgbd::Image image,
const geo::Pose3D sensor_pose,
const geo::DepthCamera cam_model,
const Segmenter segmenter_,
const std::vector< EntityUpdate > &  updates 
)

Definition at line 112 of file kinect/updater.cpp.

◆ refitConvexHull()

void refitConvexHull ( const rgbd::Image image,
const geo::Pose3D sensor_pose,
const geo::DepthCamera cam_model,
const Segmenter segmenter_,
EntityUpdate up 
)

Definition at line 25 of file kinect/updater.cpp.