GetMask2DProperties Class
Extract bounding box dimensions and area from a single Mask2D message. More...
Declaration
class moveit_pro::behaviors::GetMask2DProperties { ... }
#include <get_mask2d_properties.hpp>
Base class
Public Constructors Index
| GetMask2DProperties (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > &shared_resources) |
|
|
|
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
|
|
Public Static Functions Index
Description
Extract bounding box dimensions and area from a single Mask2D message.
Analyzes a 2D mask to compute:
- Bounding box width (pixels)
- Bounding box height (pixels)
- Total mask area (count of non-zero pixels)
| Data Port Name | Port Type | Object Type |
|---|
| mask | Input | moveit_studio_vision_msgs::msg::Mask2D |
| width | Output | int |
| height | Output | int |
| area | Output | int |
Definition at line 32 of file get_mask2d_properties.hpp.
Public Constructors
GetMask2DProperties()
| moveit_pro::behaviors::GetMask2DProperties::GetMask2DProperties (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > & shared_resources) |
|
Public Member Functions
tick()
| BT::NodeStatus moveit_pro::behaviors::GetMask2DProperties::tick () |
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::GetMask2DProperties::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::GetMask2DProperties::providedPorts () |
|
static
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.