Tinkering Graphics Algorithms

Algorithms

Images used in the following algorithms are by Bruce Cowan.

Channel Swap

Swap the values of two channels in an RGB image.

Colour Distance

Calculate the distance between two colours.

Convert to Greyscale

Convert an image with N channels to be a greyscale version of that image.

Edge Detection

Make edges appear white in the image.

Luminance

Caclulate the Luminance of a pixel

Mirroring

Reflect the contents of the top of the image around the midpoint.

Negative

Convert an image with N channels to be the inverse of the channels.

Posterization

Reduce the colours within an image.

Top Copy

Copy the top half of the image to the bottom half

Graduation Cap Book Open book GitHub Info chevron-right Sticky Note chevron-left Puzzle Piece Square Lightbulb Video Exclamation Triangle Globe