|
ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
|
Tunable parameters controlling the label placement algorithm. More...
#include <labelLayoutSolver.hpp>
Public Attributes | |
| int | gridSize = 100 |
| Spatial-index cell size in pixels. | |
| int | spatialIndexThreshold |
| Minimum number of items before a grid index is used. | |
| int | maxIterations |
| Maximum refinement iterations (higher = better quality). | |
| int | paddingX = 2 |
| Horizontal padding around each label in pixels. | |
| int | paddingY = 2 |
| Vertical padding around each label in pixels. | |
| float | costPos1_Top = 0.0f |
| Base geometric cost for anchor position 1 (top of object — preferred). | |
| float | costPos2_Right = 10.0f |
| Base geometric cost for anchor position 2 (right of object). | |
| float | costPos3_Bottom = 20.0f |
| Base geometric cost for anchor position 3 (bottom of object). | |
| float | costPos4_Left = 30.0f |
| Base geometric cost for anchor position 4 (left of object). | |
| float | costSlidingPenalty = 100.0f |
| Extra cost for a sliding (non-anchor) candidate. Must be > costPos4_Left. | |
| float | costScaleTier = 10000.0f |
| Cost multiplier per font-size scale tier (keep large to prefer position changes over size reduction). | |
| float | costOccludeObj = 100000.0f |
| Penalty per unit overlap with an object bounding box. | |
| float | costOverlapBase = 100000.0f |
| Base penalty per unit overlap with another label. | |
Tunable parameters controlling the label placement algorithm.
Definition at line 69 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costOccludeObj = 100000.0f |
Penalty per unit overlap with an object bounding box.
Definition at line 93 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costOverlapBase = 100000.0f |
Base penalty per unit overlap with another label.
Definition at line 95 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costPos1_Top = 0.0f |
Base geometric cost for anchor position 1 (top of object — preferred).
Definition at line 79 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costPos2_Right = 10.0f |
Base geometric cost for anchor position 2 (right of object).
Definition at line 81 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costPos3_Bottom = 20.0f |
Base geometric cost for anchor position 3 (bottom of object).
Definition at line 83 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costPos4_Left = 30.0f |
Base geometric cost for anchor position 4 (left of object).
Definition at line 85 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costScaleTier = 10000.0f |
Cost multiplier per font-size scale tier (keep large to prefer position changes over size reduction).
Definition at line 91 of file labelLayoutSolver.hpp.
| float ReUseX::vision::osd::LayoutConfig::costSlidingPenalty = 100.0f |
Extra cost for a sliding (non-anchor) candidate. Must be > costPos4_Left.
Definition at line 88 of file labelLayoutSolver.hpp.
| int ReUseX::vision::osd::LayoutConfig::gridSize = 100 |
Spatial-index cell size in pixels.
Definition at line 70 of file labelLayoutSolver.hpp.
| int ReUseX::vision::osd::LayoutConfig::maxIterations |
Maximum refinement iterations (higher = better quality).
Definition at line 73 of file labelLayoutSolver.hpp.
| int ReUseX::vision::osd::LayoutConfig::paddingX = 2 |
Horizontal padding around each label in pixels.
Definition at line 75 of file labelLayoutSolver.hpp.
| int ReUseX::vision::osd::LayoutConfig::paddingY = 2 |
Vertical padding around each label in pixels.
Definition at line 76 of file labelLayoutSolver.hpp.
| int ReUseX::vision::osd::LayoutConfig::spatialIndexThreshold |
Minimum number of items before a grid index is used.
Definition at line 71 of file labelLayoutSolver.hpp.