Linear Color Swap

Description

Each pixel in an image is represented by a red, green and blue value from 0 to 255. Mix and swap RGB (red, blue, green) values to create your own image filter.

Image Choice

Otherwise, the following image will be used:

Mona Lisa (default image)

Mixing Matrix

Put values (between 0 and 1, but try others if you wish) into the mixing matrix P that will be applied to the (red,green,blue) values of each pixel in an image.
R G B
P =