eyes <= Creates a binary image.

Sets each image pixel to one of two values by comparing its intensity to a threshold. Values less than or equal to threshold are set to the high value, and pixel values greator than the threshold are set to the low value.

Inlets & Arguments:
#
Name
Arg
Description
1
image
n/a
Eyes Image, standard operator messages see: eyes messages
2
threshold
t
Threshold:
If pixel <= t then pixel = high value,
else pixel = low value.
3
low value
lo
Value to assign to pixels outside of threshold range.
4
high value
hi
Value to assign to pixels within threshold range.

Outlets:
#
Name Description
1
thresholded image Resulting binary image
2
number of active pixels Number of pixels that are within threshold in the image. See results out for information on format.

Messages:

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 threshold.

See Also:
threshold, >, <, >=, <>, ><, !=, =