Image Tutorial - Flowers-example1

Algorithm:

  1. Get the three values for each pixel
  2. Add them together and divide by three
  3. Replace the values of all three colour components with this average value.

Here is a program that would achieve this. Press run to see it in action:

When you have finished – return to the tutorial by closing this window or tab.