Description of used algorithms

Threshold effect
We assume we have predefined following values: threshold and two different colors (they can be same, but effect will then have no meaning). Program takes point of image and calculates it's luminosity which's then compared to threshold value. If luminosity is bigger, point of image is colored using color 2, otherwise color 1 is used (when it's smaller or equal).