RobotsIO
|
Public Member Functions | |
SegmentationCamera (const RobotsIO::Camera::CameraParameters &camera_parameters, const std::string &mesh_path, const double &threshold=0.01) | |
void | add_object () |
std::pair< bool, cv::Mat > | mask (const Eigen::MatrixXf &scene_depth, const Eigen::Transform< double, 3, Eigen::Affine > object_transform) |
std::pair< bool, cv::Mat > | mask (std::shared_ptr< RobotsIO::Camera::Camera > camera, std::shared_ptr< RobotsIO::Utils::Transform > object_transform) |
Definition at line 28 of file SegmentationCamera.h.
SegmentationCamera::SegmentationCamera | ( | const RobotsIO::Camera::CameraParameters & | camera_parameters, |
const std::string & | mesh_path, | ||
const double & | threshold = 0.01 |
||
) |
Definition at line 17 of file SegmentationCamera.cpp.
SegmentationCamera::~SegmentationCamera | ( | ) |
Definition at line 32 of file SegmentationCamera.cpp.
std::pair< bool, cv::Mat > RobotsIO::Camera::SegmentationCamera::mask | ( | const Eigen::MatrixXf & | scene_depth, |
const Eigen::Transform< double, 3, Eigen::Affine > | object_transform | ||
) |
Segmentation mask given a depth image and an object Eigen::Transform<double, 3, Affine>
std::pair< bool, cv::Mat > RobotsIO::Camera::SegmentationCamera::mask | ( | std::shared_ptr< RobotsIO::Camera::Camera > | camera, |
std::shared_ptr< RobotsIO::Utils::Transform > | object_transform | ||
) |
Segmentation mask given a RobotsIO::Camera::Camera and a RobotsIO::Utils::Transform