|
ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
|
Instance segmentation result backed by an OpenCV mask. More...
#include <object.hpp>
Public Member Functions | |
| void | keep_largest_part () |
| Retain only the largest connected component in the mask. | |
| Segmentation | align_to_left_top (int left, int top, int width, int height) const |
| Return a new Segmentation placed at the given (left, top) offset within a canvas of the specified dimensions. | |
| Segmentation & | operator= (const Segmentation &other) |
Public Attributes | |
| cv::Mat | mask |
| Binary or grayscale segmentation mask. | |
Instance segmentation result backed by an OpenCV mask.
Definition at line 134 of file object.hpp.
| Segmentation ReUseX::vision::common::object::Segmentation::align_to_left_top | ( | int | left, |
| int | top, | ||
| int | width, | ||
| int | height ) const |
Return a new Segmentation placed at the given (left, top) offset within a canvas of the specified dimensions.
| void ReUseX::vision::common::object::Segmentation::keep_largest_part | ( | ) |
Retain only the largest connected component in the mask.
| Segmentation & ReUseX::vision::common::object::Segmentation::operator= | ( | const Segmentation & | other | ) |
| cv::Mat ReUseX::vision::common::object::Segmentation::mask |
Binary or grayscale segmentation mask.
Definition at line 135 of file object.hpp.