Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

blobfinder
[Interfaces]


Detailed Description

The blobfinder interface provides access to devices that detect blobs in images.


Classes

struct  player_blobfinder_blob
 Structure describing a single blob. More...

struct  player_blobfinder_data
 Data. More...

struct  player_blobfinder_color_config
 Configuration request: Set tracking color. More...

struct  player_blobfinder_imager_config
 Configuration request: Set imager params. More...


Defines

#define PLAYER_BLOBFINDER_MAX_BLOBS   256
#define PLAYER_BLOBFINDER_SET_COLOR_REQ   ((uint8_t)1)
#define PLAYER_BLOBFINDER_SET_IMAGER_PARAMS_REQ   ((uint8_t)2)

Typedefs

typedef player_blobfinder_blob player_blobfinder_blob_t
 Structure describing a single blob.

typedef player_blobfinder_data player_blobfinder_data_t
 Data.

typedef player_blobfinder_color_config player_blobfinder_color_config_t
 Configuration request: Set tracking color.

typedef player_blobfinder_imager_config player_blobfinder_imager_config_t
 Configuration request: Set imager params.


Define Documentation

#define PLAYER_BLOBFINDER_MAX_BLOBS   256
 

The maximum number of blobs in total.

#define PLAYER_BLOBFINDER_SET_COLOR_REQ   ((uint8_t)1)
 

#define PLAYER_BLOBFINDER_SET_IMAGER_PARAMS_REQ   ((uint8_t)2)
 


Typedef Documentation

typedef struct player_blobfinder_blob player_blobfinder_blob_t
 

Structure describing a single blob.

typedef struct player_blobfinder_data player_blobfinder_data_t
 

Data.

The list of detected blobs, returned as data by blobfinder devices.

typedef struct player_blobfinder_color_config player_blobfinder_color_config_t
 

Configuration request: Set tracking color.

For some sensors (ie CMUcam), simple blob tracking tracks only one color. To set the tracking color, send a request with the format below, including the RGB color ranges (max and min). Values of -1 will cause the track color to be automatically set to the current window color. This is useful for setting the track color by holding the tracking object in front of the lens.

typedef struct player_blobfinder_imager_config player_blobfinder_imager_config_t
 

Configuration request: Set imager params.

Imaging sensors that do blob tracking generally have some sorts of image quality parameters that you can tweak. The following ones are implemented here:

  • brightness (0-255)
  • contrast (0-255)
  • auto gain (0=off, 1=on)
  • color mode (0=RGB/AutoWhiteBalance Off, 1=RGB/AutoWhiteBalance On, 2=YCrCB/AWB Off, 3=YCrCb/AWB On) To set the params, send a request with the format below. Any values set to -1 will be left unchanged.


Generated on Tue May 3 14:16:09 2005 for Player by doxygen 1.3.6