filter()
Image / PixelsDescription
Applies a filter to the display. Available filters: GRAY, INVERT, THRESHOLD.
Syntax
void filter(int mode)
void filter(int mode, float param)
Parameters
| Name | Type | Description |
|---|---|---|
| mode | int | GRAY, INVERT, THRESHOLD, BLUR_FILTER, POSTERIZE |
| param | float | parameter for some filters (optional) |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...