|
static |
Converts into lower and upper colors of the specified image with specified threshold, upper color and lower color.
image | The image to convert into lower and upper colors. |
threshold | The threshold value (from 0 to 765). |
upper_color | The color used when RGB color is upper the threshold value. |
lower_color | The color used when RGB color is under or equal the threshold value. |
Original | Converted |
---|---|