28#include <opencv2/opencv.hpp>
35#include <RobotAPI/interface/components/ViewSelectionInterface.h>
36#include <RobotAPI/interface/core/RobotState.h>
46#include <Image/IplImageAdaptor.h>
63 "RobotStateComponentName",
64 "RobotStateComponent",
65 "Name of the robot state component that should be used");
69 "Name of the ViewSelection component that should be used");
73 "Name of the frame of the head base in the robot model");
75 "providerName",
"ImageProvider",
"Name of the image provider that should be used");
78 "/common/homes/students/zhu/home/",
79 "Path to the training data set");
103 return "ValveAttention";
126 void addSaliencyRecursive(
const int currentNodeIndex,
127 std::vector<bool>& visitedNodes,
128 const float saliency,
130 const float maxDistanceOnArc);
136 ViewSelectionInterfacePrx viewSelection;
141 std::string headFrameName;
145 std::string providerName;
146 int numImages, numResultImages;
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
ValveAttentionPropertyDefinitions(std::string prefix)
Brief description of class ValveAttention.
void onDisconnectPointCloudAndImageProcessor() override
Implement this method in the PointCloudAndImageProcessor in order to execute parts when the component...
void onConnectPointCloudAndImageProcessor() override
Implement this method in your PointCloudAndImageProcessor in order execute parts when the component i...
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void process() override
Process the vision component.
void onInitPointCloudAndImageProcessor() override
Setup the vision component.
static std::string GetDefaultName()
void onExitPointCloudAndImageProcessor() override
Exit the ImapeProcessor component.
std::string getDefaultName() const override
Retrieve default name of component.
The PointCloudAndImageProcessor class provides an interface for access to PointCloudProviders and Ima...
std::shared_ptr< class Robot > RobotPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx