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
 

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

◆ SBlob() [1/2]

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

Constructor.

Definition at line 48 of file ci_colored_blob_perspective_camera_sensor.h.

◆ SBlob() [2/2]

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.

Member Data Documentation

◆ Color

CColor argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::Color

Definition at line 42 of file ci_colored_blob_perspective_camera_sensor.h.

◆ X

SInt32 argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::X

Definition at line 44 of file ci_colored_blob_perspective_camera_sensor.h.

◆ Y

SInt32 argos::CCI_ColoredBlobPerspectiveCameraSensor::SBlob::Y

Definition at line 44 of file ci_colored_blob_perspective_camera_sensor.h.