|
UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
|
Represents a semantic annotation as a pair of class label and confidence score. More...
#include <lib/core/include/ufo/core/semantic.hpp>
Public Attributes | |
| Confidence | confidence {} |
| The associated confidence or weight score. | |
| Label | label {} |
| The discrete semantic class identifier. | |
Friends | |
| constexpr auto | operator<=> (Semantic lhs, Semantic rhs) noexcept=default |
| Three-way comparison (lexicographic on label then value). | |
| constexpr bool | operator== (Semantic lhs, Semantic rhs) noexcept=default |
| Equality comparison. | |
Represents a semantic annotation as a pair of class label and confidence score.
Semantic combines a discrete category identifier (Label) with a continuous confidence measure (Confidence), making it suitable for probabilistic semantic segmentation of point clouds and map nodes. It is a lightweight, trivially-copyable aggregate, fully ordered via <=>, and supports std::ostream streaming (as "label:
confidence") and std::format.
Intended for use as a per-point or per-node attribute in semantic mapping, where both the class and its associated certainty are required.
Definition at line 75 of file semantic.hpp.
Three-way comparison (lexicographic on label then value).
| [in] | lhs | Left operand. |
| [in] | rhs | Right operand. |
Equality comparison.
| [in] | lhs | Left operand. |
| [in] | rhs | Right operand. |
| Confidence ufo::Semantic::confidence {} |
The associated confidence or weight score.
Definition at line 84 of file semantic.hpp.
| Label ufo::Semantic::label {} |
The discrete semantic class identifier.
Definition at line 79 of file semantic.hpp.