Each pixel in a colour image has 3 components associated with it, the amount of red, green and blue in the pixel (R,G,B). A grayscale image has a single component, the intensity of the pixel, which determines how bright the pixel is. To convert a colour pixel to grayscale the red, green and blue components need to be combined to give a single intensity value. Each component is multiplied by a weighting and then the components are summed to give the intensity. Common weightings are:
intensity = 0.333 R + 0.333 G + 0.334 B intensity = 0.299 R + 0.587 G + 0.114 BThe first option is a simple average of the R,G,B values.
The second option weights the R,G,B values according to the relative intensity for each colour as perceived by the human eye. Hence these values are used by default.
Other weightings can be used to make a particular colour more dominant. Usually your weightings would sum to 1 but the interface does not enforce this. Adjust the red, green and blue weightings by using the sliders. The value set by the slider will be displayed in the text area next to it. The text area is currently not editable.
Click the "Apply filter" button to update the grayscale filter to use your new weightings.