|
ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
|
Classes | |
| struct | Box |
| Axis-aligned bounding box defined by (left, top, right, bottom) coordinates. More... | |
| struct | PosePoint |
| A single keypoint for pose estimation, with visibility flag. More... | |
| struct | Pose |
| A set of keypoints representing a human or object pose. More... | |
| struct | Obb |
| Oriented bounding box (OBB) parameterized by center, size, and rotation angle. More... | |
| struct | SegmentMap |
| A raw binary segmentation map stored as pinned host memory. More... | |
| struct | Segmentation |
| Instance segmentation result backed by an OpenCV mask. More... | |
| struct | Depth |
| Depth map result with per-pixel depth values. More... | |
| struct | Track |
| Multi-object tracking state for a single tracked instance. More... | |
| struct | DetectionBox |
| Universal detection result container that holds a bounding box plus optional enriched data (pose, OBB, segmentation, depth, tracking). More... | |
Typedefs | |
| using | DetectionBoxArray = std::vector<DetectionBox> |
| Convenience alias for a collection of DetectionBox results. | |
Enumerations | |
| enum class | ObjectType { UNKNOW = -1 , POSITION = 0 , POSE = 1 , OBB = 2 , SEGMENTATION = 3 , DEPTH_ANYTHING = 4 , DEPTH_PRO = 5 , TRACK = 6 , DETECTION = 7 } |
| Enumeration of supported detection object types. More... | |
Functions | |
| DetectionBox | createBox (float left, float top, float right, float bottom, float score, int class_id, const std::string &class_name) |
| Create a standard detection box. | |
| DetectionBox | createPositionBox (float left, float top, float right, float bottom, float score, int class_id, const std::string &class_name) |
| Create a position/region-of-interest box (type POSITION). | |
| DetectionBox | createTrackBox (float left, float top, float right, float bottom, float score, int track_id, const std::string &class_name) |
| Create a simple tracking box without additional payload. | |
| DetectionBox | createTrackBox (float left, float top, float right, float bottom, float score, int track_id, const std::string &class_name, const object::Pose &pose) |
| Create a tracking box that also carries pose keypoints. | |
| DetectionBox | createTrackBox (float left, float top, float right, float bottom, float score, int track_id, const std::string &class_name, const object::Obb &obb) |
| Create a tracking box that also carries an oriented bounding box. | |
| DetectionBox | createTrackBox (float left, float top, float right, float bottom, float score, int track_id, const std::string &class_name, const object::Segmentation &seg) |
| Create a tracking box that also carries a segmentation mask. | |
| DetectionBox | createObbBox (float cx, float cy, float w, float h, float angle, float score, int class_id, const std::string &class_name) |
| Create an oriented bounding box detection. | |
| DetectionBox | createPoseBox (float left, float top, float right, float bottom, const std::vector< PosePoint > &pose_points, float score, int class_id, const std::string &class_name) |
| Create a pose-estimation detection box. | |
| DetectionBox | createSegmentationBox (float left, float top, float right, float bottom, const cv::Mat &mask, float score, int class_id, const std::string &class_name) |
| Create a segmentation detection box with an associated mask. | |
| DetectionBox | createDepthProBox (const cv::Mat &depth, float fog_data) |
| Create a depth detection from DepthPro output. | |
| DetectionBox | createDepthAnythingBox (const cv::Mat &depth) |
| Create a depth detection from DepthAnything output. | |
| cv::Mat | segmentMapToMat (const std::shared_ptr< SegmentMap > &map) |
| Convert a SegmentMap to an OpenCV Mat (zero-copy header wrapper). | |
| using ReUseX::vision::common::object::DetectionBoxArray = std::vector<DetectionBox> |
Convenience alias for a collection of DetectionBox results.
Definition at line 210 of file object.hpp.
|
strong |
Enumeration of supported detection object types.
Identifies the kind of data stored in a DetectionBox.
| Enumerator | |
|---|---|
| UNKNOW | Unknown or unclassified object type. |
| POSITION | Simple position/region of interest. |
| POSE | Human pose estimation result. |
| OBB | Oriented bounding box. |
| SEGMENTATION | Instance segmentation mask. |
| DEPTH_ANYTHING | Depth map from DepthAnything model. |
| DEPTH_PRO | Depth map from DepthPro model. |
| TRACK | Multi-object tracking result. |
| DETECTION | Standard bounding box detection. |
Definition at line 13 of file object.hpp.
| DetectionBox ReUseX::vision::common::object::createBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| float | score, | ||
| int | class_id, | ||
| const std::string & | class_name ) |
Create a standard detection box.
| left | Left edge of the bounding box. |
| top | Top edge of the bounding box. |
| right | Right edge of the bounding box. |
| bottom | Bottom edge of the bounding box. |
| score | Confidence score in [0, 1]. |
| class_id | Numeric class index. |
| class_name | Human-readable class label. |
| DetectionBox ReUseX::vision::common::object::createDepthAnythingBox | ( | const cv::Mat & | depth | ) |
Create a depth detection from DepthAnything output.
| depth | CV_32F depth map (will be cloned). |
| DetectionBox ReUseX::vision::common::object::createDepthProBox | ( | const cv::Mat & | depth, |
| float | fog_data ) |
Create a depth detection from DepthPro output.
| depth | CV_32F depth map (will be cloned). |
| fog_data | Estimated fog/haze value. |
| DetectionBox ReUseX::vision::common::object::createObbBox | ( | float | cx, |
| float | cy, | ||
| float | w, | ||
| float | h, | ||
| float | angle, | ||
| float | score, | ||
| int | class_id, | ||
| const std::string & | class_name ) |
Create an oriented bounding box detection.
The axis-aligned bounding box is computed automatically from the OBB parameters.
| cx | Center x. |
| cy | Center y. |
| w | Width. |
| h | Height. |
| angle | Rotation angle in degrees. |
| score | Confidence score. |
| class_id | Class index. |
| class_name | Class label. |
| DetectionBox ReUseX::vision::common::object::createPoseBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| const std::vector< PosePoint > & | pose_points, | ||
| float | score, | ||
| int | class_id, | ||
| const std::string & | class_name ) |
Create a pose-estimation detection box.
| left | Left edge. |
| top | Top edge. |
| right | Right edge. |
| bottom | Bottom edge. |
| pose_points | Ordered list of pose keypoints. |
| score | Confidence score. |
| class_id | Class index. |
| class_name | Class label. |
| DetectionBox ReUseX::vision::common::object::createPositionBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| float | score, | ||
| int | class_id, | ||
| const std::string & | class_name ) |
Create a position/region-of-interest box (type POSITION).
| left | Left edge. |
| top | Top edge. |
| right | Right edge. |
| bottom | Bottom edge. |
| score | Confidence score. |
| class_id | Class index. |
| class_name | Class label. |
| DetectionBox ReUseX::vision::common::object::createSegmentationBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| const cv::Mat & | mask, | ||
| float | score, | ||
| int | class_id, | ||
| const std::string & | class_name ) |
Create a segmentation detection box with an associated mask.
| left | Left edge. |
| top | Top edge. |
| right | Right edge. |
| bottom | Bottom edge. |
| mask | Segmentation mask (will be cloned). |
| score | Confidence score. |
| class_id | Class index. |
| class_name | Class label. |
| DetectionBox ReUseX::vision::common::object::createTrackBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| float | score, | ||
| int | track_id, | ||
| const std::string & | class_name ) |
Create a simple tracking box without additional payload.
| left | Left edge. |
| top | Top edge. |
| right | Right edge. |
| bottom | Bottom edge. |
| score | Confidence score. |
| track_id | Unique tracking identifier. |
| class_name | Class label. |
| DetectionBox ReUseX::vision::common::object::createTrackBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| float | score, | ||
| int | track_id, | ||
| const std::string & | class_name, | ||
| const object::Obb & | obb ) |
Create a tracking box that also carries an oriented bounding box.
| DetectionBox ReUseX::vision::common::object::createTrackBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| float | score, | ||
| int | track_id, | ||
| const std::string & | class_name, | ||
| const object::Pose & | pose ) |
Create a tracking box that also carries pose keypoints.
| DetectionBox ReUseX::vision::common::object::createTrackBox | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom, | ||
| float | score, | ||
| int | track_id, | ||
| const std::string & | class_name, | ||
| const object::Segmentation & | seg ) |
Create a tracking box that also carries a segmentation mask.
| cv::Mat ReUseX::vision::common::object::segmentMapToMat | ( | const std::shared_ptr< SegmentMap > & | map | ) |
Convert a SegmentMap to an OpenCV Mat (zero-copy header wrapper).
| map | The shared SegmentMap to wrap. |