Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00346.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00346.php on line 2
The ARGoS Website

argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob Struct Reference

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

#include <ci_colored_blob_perspective_camera_sensor.h>

Collaboration diagram for argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob:

Public Member Functions

 SBlob ()
 Constructor. More...
 
 SBlob (const CColor &c_color, SInt32 n_x, SInt32 n_y)
 Constructor with paramters. More...
 

Public Attributes

CColor Color
 
SInt32 X
 
SInt32 Y
 

Friends

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
CColor

Definition at line 40 of file ci_colored_blob_perspective_camera_sensor.h.

Constructor & Destructor Documentation

argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::SBlob ( )
inline

Constructor.

Definition at line 48 of file ci_colored_blob_perspective_camera_sensor.h.

argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::SBlob ( const CColor c_color,
SInt32  n_x,
SInt32  n_y 
)
inline

Constructor with paramters.

Definition at line 55 of file ci_colored_blob_perspective_camera_sensor.h.

Friends And Related Function Documentation

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

Definition at line 63 of file ci_colored_blob_perspective_camera_sensor.h.

Member Data Documentation

CColor argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::Color

Definition at line 42 of file ci_colored_blob_perspective_camera_sensor.h.

SInt32 argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::X

Definition at line 44 of file ci_colored_blob_perspective_camera_sensor.h.

SInt32 argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::Y

Definition at line 44 of file ci_colored_blob_perspective_camera_sensor.h.