eyes threshold | Creates a binary image. |
Sets each image pixel to one of two values by comparing its intensity to a threshold. Thresholding is determined by an operator that specifies how the intensities are compared. Possible operators are: Greator, LessThan, Inside, Outside, Equal, and Not Equal.
Inlets & Arguments: |
|
Name |
|
Description |
|
image |
|
Eyes Image, standard operator messages see: eyes messages |
|
threshold |
|
Threshold for Greator, LessThan, Equal, and Not Equal operators. Greator: pixel > t, LessThan: Pixel< t Equal: Pixel == t Not Equal: Pixel != t |
|
threshold2 |
|
Extra Threshold value for Inside and Outside operators. Inside: t < pixel < t2 Outside: pixel < t and t2 < pixel |
|
low value |
|
Value to assign to pixels outside of threshold range. |
|
high value |
|
Value to assign to pixels within threshold range. |
|
Operator |
|
Cycle mode (default = 0 (left to right)) 0 = Greator 1 = LessThan 2 = Inside 3 = Outside 4 = Equal 5 = Not Equal |
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, t2, lo, hi, and op. |
Example: |
See Also: |
>, <, <=, >=, <>, ><, !=, = |