![]() |
| eyes < | Creates a binary image. |
Sets each image pixel to one of two values by comparing its intensity to a threshold. Values less than threshold are set to the high value, and pixel values greator than or equal to the threshold are set to the low value.
| Inlets & Arguments: |
|
|
Name |
|
Description |
|
|
image |
|
Eyes Image, standard operator messages see: eyes messages |
|
|
threshold |
|
Threshold: If pixel < t then pixel = high value, else pixel = low value. |
|
|
low value |
|
Value to assign to pixels outside of threshold range. |
|
|
high value |
|
Value to assign to pixels within threshold range. |
| Outlets: |
|
|
Name | Description |
|
|
thresholded image | Resulting binary image |
|
|
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, >, <=, >=, <>, ><, !=, = |