argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob Struct Reference

An SBlob represents a generic colored 2D segment in the image. More...

#include <ci_colored_blob_omnidirectional_camera_sensor.h>

Collaboration diagram for argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob:

Public Member Functions

 SBlob ()
 Constructor. More...
 SBlob (const CColor &c_color, const CRadians &c_angle, Real f_distance)
 Constructor with paramters. More...

Public Attributes

CColor Color
CRadians Angle
Real Distance


std::ostream & operator<< (std::ostream &c_os, const SBlob &s_blob)

Detailed Description

An SBlob represents a generic colored 2D segment in the image.

A blob has a color as defined by the CColor class. The position of the blob is given in polar coordinates. The angle is counted counter-clockwise watching the FootBot from top, as to respect the general frame convention. As for the distances, both the distance in cms from the robot center and in pixels from the optical center in the image are given. The last attribute is the area of the blob in pixels.

See also

Definition at line 40 of file ci_colored_blob_omnidirectional_camera_sensor.h.

Constructor & Destructor Documentation

argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::SBlob ( )


Definition at line 50 of file ci_colored_blob_omnidirectional_camera_sensor.h.

argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::SBlob ( const CColor c_color,
const CRadians c_angle,
Real  f_distance 

Constructor with paramters.

c_colorBlob color
c_angleBlob center
f_distanceBlob distance in cm

Definition at line 60 of file ci_colored_blob_omnidirectional_camera_sensor.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  c_os,
const SBlob s_blob 

Member Data Documentation

CRadians argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::Angle
CColor argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::Color
Real argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::Distance