eyes color Cuts out all pixels that don't match a set of color values.

The color operator helps to track regions of particular colors. Colors are chosen by clicking on pixels in the operator's image window. When am pixel is clicked on, a color is put into a list of colors. Each color is compared against pixels in the incomming image. Only pixels matching colors in the list are copied to the resulting image. A threshold value determines the window around each color by which compared colors can vary and still match. For instance, if color 30,10,250 is chosen, and the window is 10, pixels falling in the range of 30±10, 10±10, 250±10 are copied to the resulting image. Window thresholds for each plane can be individually set using messages.

Inlets & Arguments:
#
Name
Arg
Description
1
image
n/a
Eyes Image, standard operator messages see: eyes messages
2
window
l,lo
Fuzzyness in matching colors in a list. Represents a window around pixel color intensity values.
3
value
h,hi
Value to assign pixels that don't match colors in a list.

Outlets:
#
Name Description
1
color segmented image Image with only pixels of specified colors.

Messages:

window plane window
Set a window threshold for an individual plane of color. The value for plane must be within the number of color planes, and window should be within valid intesity ranges.

Standard messages
Accepts all messages sent to the eyes object. See eyes messages.

Argument messages
Accepts all inlet arguments as messages: t, lo, and hi.

Example:

See Also:
eyes, eyesGrab, regions, compact,