|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
One SAM3 prompt: text class name plus optional positive/negative bounding boxes and positive click points. More...
#include <sam3_prompt.hpp>

Public Member Functions | |
| Sam3Prompt (std::string t, std::vector< SegmentBox > b={}, float conf=-1.0f) | |
Public Attributes | |
| std::string | text |
| std::vector< SegmentBox > | boxes |
| std::vector< SegmentPoint > | points |
| Positive click points. | |
| float | confidence = -1.0f |
| Per-prompt confidence override. Negative ⟹ use the global threshold. | |
One SAM3 prompt: text class name plus optional positive/negative bounding boxes and positive click points.
Definition at line 47 of file sam3_prompt.hpp.
|
inlineexplicit |
Definition at line 58 of file sam3_prompt.hpp.
| std::vector<SegmentBox> reusex::vision::Sam3Prompt::boxes |
Definition at line 49 of file sam3_prompt.hpp.
| float reusex::vision::Sam3Prompt::confidence = -1.0f |
Per-prompt confidence override. Negative ⟹ use the global threshold.
Definition at line 56 of file sam3_prompt.hpp.
| std::vector<SegmentPoint> reusex::vision::Sam3Prompt::points |
Positive click points.
SAM3's exported detector takes boxes only, so a backend with a geometry encoder feeds each point as a small exemplar box (sam3_point_exemplar_box) and keeps the detections whose mask covers a point; a backend without one clips the prompt's pixels to that box.
Definition at line 54 of file sam3_prompt.hpp.
| std::string reusex::vision::Sam3Prompt::text |
Definition at line 48 of file sam3_prompt.hpp.