8#ifndef ROBOTSIO_SEGMENTATION_H
9#define ROBOTSIO_SEGMENTATION_H
11#include <opencv2/opencv.hpp>
30 virtual bool step_frame();
32 virtual bool is_stepping_required()
const = 0;
34 virtual void reset_data_loading_time();
36 virtual double get_data_loading_time()
const;
50 virtual std::pair<bool, cv::Mat>
segmentation(
const bool& blocking) = 0;
70 virtual void set_rgb_image(
const cv::Mat& image,
const double& timestamp);
74 const std::string log_name_ =
"Segmentation";
virtual std::pair< bool, cv::Mat > latest_segmentation()
virtual int get_frames_between_iterations() const
virtual std::pair< bool, cv::Mat > segmentation(const bool &blocking)=0
virtual double get_time_stamp()
virtual void set_rgb_image(const cv::Mat &image, const double ×tamp)