![]() |
| eyes difference | Motion Detection |
Subtracts the last frame from the current frame. Calculates the amount of motion occuring within the image.
| Inlets & Arguments: |
|
|
Name |
|
Description |
|
|
image |
|
Eyes Image, standard operator messages see: eyes messages |
|
|
threshold low |
|
Threshold low: If t < pixel < t2 then pixel = value, |
|
|
threshold high |
|
High threshold |
|
|
value |
|
Value to assign to pixels within threshold range. |
| Outlets: |
|
|
Name | Description |
|
|
difference image | Resulting difference image |
|
|
motion | Number of pixels that have changed since the last 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, t2, and v. |
| Example: |
| See Also: |
| threshold, background, cut, <, >, <=, >=, ><, <>, ==, != |