RobotsIO
|
Public Member Functions | |
virtual bool | reset () |
virtual bool | step_frame () |
virtual bool | is_stepping_required () const =0 |
virtual void | reset_data_loading_time () |
virtual double | get_data_loading_time () const |
virtual int | get_frames_between_iterations () const |
virtual std::pair< bool, cv::Mat > | segmentation (const bool &blocking)=0 |
virtual std::pair< bool, cv::Mat > | latest_segmentation () |
virtual double | get_time_stamp () |
virtual void | set_rgb_image (const cv::Mat &image, const double ×tamp) |
Definition at line 22 of file Segmentation.h.
|
virtual |
Definition at line 13 of file Segmentation.cpp.
|
virtual |
Definition at line 34 of file Segmentation.cpp.
|
virtual |
N > 1 indicates that the segmentation is available every N frames N = 1 indicates that the segmentation is available at all frames N < 1 indicates that this information is not available
By default, this method returns N = 1. User might override this setting by re-implementing this method.
Reimplemented in RobotsIO::Utils::SegmentationYarpPort.
Definition at line 40 of file Segmentation.cpp.
|
virtual |
Provide the timestamp of the latest valid segmentation that has been received.
By default, this return -1. User might override this method if required.
Reimplemented in RobotsIO::Utils::SegmentationYarpPort.
Definition at line 52 of file Segmentation.cpp.
|
virtual |
Provide the latest valid segmentation mask that has been received.
By default, this return (false, cv::Mat()). User might override this method if required.
Reimplemented in RobotsIO::Utils::SegmentationYarpPort.
Definition at line 46 of file Segmentation.cpp.
|
virtual |
Definition at line 17 of file Segmentation.cpp.
|
virtual |
Definition at line 29 of file Segmentation.cpp.
|
pure virtual |
Provide a new segmentation mask.
Implemented in RobotsIO::Utils::SegmentationYarpPort.
|
virtual |
If required, the user might override this method to set the RGB image on which the segmentation has to be evaluated.
Reimplemented in RobotsIO::Utils::SegmentationYarpPort.
Definition at line 58 of file Segmentation.cpp.
|
virtual |
Definition at line 23 of file Segmentation.cpp.