Blobfinder model
[Model]

The blobfinder model simulates a color-blob-finding vision device, like a CMUCAM2, or the ACTS image processing software. It can track areas of color in a simulated 2D image, giving the location and size of the color 'blobs'. Multiple colors can be tracked at once; they are separated into channels, so that e.g. all red objects are tracked as channel one, blue objects in channel two, etc. The color associated with each channel is configurable.

API: Stg::StgModelBlobfinder

Worldfile properties

Summary and default values
ptz(
  # blobfinder MUST be a child of a PTZ model
  blobfinder
  (
    # blobfinder properties
    colors_count 6
    colors ["red" "green" "blue" "cyan" "yellow" "magenta" ]
    range 8.0
    ptz[0 0 60.0]
    image[80 60]

    # model properties
    size3 [0 0 0]
  )
)

Details
  • colors_count int
    • number of colors being tracked
  • colors [ string ... ]
    • define the colors detected in each channel, using color names from the X11-style color database The number of strings should match colors_count.
  • image [int int]
    • [width height]
    • dimensions of the image in pixels. This determines the blobfinder's resolution
  • ptz [float float float]
    • [pan_angle tilt_angle zoom_angle]
    • control the panning, tilt and fov angle (zoom) of the blobfinder. Tilt angle currently has no effect.
  • range float
    • maximum range of the sensor in meters.


Generated on Thu Jan 7 17:42:16 2010 for Stage by  doxygen 1.5.5