28#include <VirtualRobot/VirtualRobot.h>
32#include <Image/StereoMatcher.h>
39class CVisualTargetLocator;
40class CColorParameterSet;
53 "VisionX/examples/colors.txt",
54 "The color parameter file configures the colors used for segmentable recognition "
55 "(usually colors.txt)");
57 "ShowSegmentedResultImages",
59 "Decide whether to calculate color-segmented images with the marker color and show "
60 "them as result images. Causes small additional computational effort.");
64 "You can switch off the use of the camera images. The returned pose will then just "
65 "be taken from the forward kinematics.");
71 .map(
"Colored", eColored)
73 .map(
"Green2", eGreen2)
74 .map(
"Green3", eGreen3)
75 .map(
"Orange", eOrange)
76 .map(
"Orange2", eOrange2)
77 .map(
"Orange3", eOrange3)
83 .map(
"Yellow", eYellow)
84 .map(
"Yellow2", eYellow2)
85 .map(
"Yellor3", eYellow3);
123 return "BigBowlLocalization";
167 memoryx::ObjectLocalizationResultList
175 void drawCrossInImage(CByteImage* image, Eigen::Vector3f point,
bool leftCamera);
183 CVisualTargetLocator* visualTargetLocator;
184 ObjectColor objectColor;
191 bool showSegmentedResultImages;
192 CColorParameterSet* colorParameterSet;
196 CStereoMatcher* stereoMatcher;
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
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)
BigBowlLocalizationPropertyDefinitions(std::string prefix)
bool initRecognizer() override
Initializes segmentable recognition.
void onExitObjectLocalizerProcessor() override
void onInitObjectLocalizerProcessor() override
armarx::DebugDrawerInterfacePrx debugDrawerPrx
memoryx::ObjectLocalizationResultList localizeObjectClasses(const std::vector< std::string > &objectClassNames, CByteImage **cameraImages, armarx::MetaInfoSizeBasePtr imageMetaInfo, CByteImage **resultImages) override
localize one or both hand markers
void onConnectObjectLocalizerProcessor() override
Initialize stuff here?
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
std::string getDefaultName() const override
bool addObjectClass(const memoryx::EntityPtr &objectClassEntity, const memoryx::GridFileManagerPtr &fileManager) override
ObjectLocalizerProcessor interface: The addObjectClass method needs to be implemented by any ObjectLo...
ObjectLocalizerProcessorPropertyDefinitions(std::string prefix)
CByteImage * cameraImages[2]
ObjectLocalizerProcessor()
armarx::MetaInfoSizeBasePtr imageMetaInfo
CByteImage ** resultImages
std::shared_ptr< class Robot > RobotPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx
IceInternal::Handle< Entity > EntityPtr
Typedef of EntityPtr as IceInternal::Handle<Entity> for convenience.
std::shared_ptr< GridFileManager > GridFileManagerPtr