Image methods Visual illusion
Red filter
The red filter is the “secret decoder” of board games, puzzle books and prize cards: an answer printed under a scrambled pattern, read by laying a small piece of red cellophane over it. The principle is that of anaglyph glasses, turned to hiding rather than depth.
How does the red filter work?
A red filter lets through only red light. Seen through it, a colour is judged on its red component alone:
Colour (R, G, B) through the filter
white (255, 255, 255) light
red (255, 0, 0) light ← merges with white
cyan ( 0, 255, 255) dark
black ( 0, 0, 0) dark ← merges with cyan So the image is filled with small tiles drawn at random:
- on the drawing’s background: red or white tiles;
- on the trace: cyan or black tiles.
Without a filter the eye sees four colours with light and dark mixed everywhere, in the trace as in the background. With the filter only two tones remain: light for the background, dark for the trace.
What does the image look like?
A motley mosaic of red, white, cyan and black. From a distance a difference in hue between areas can be guessed (rather pinkish for the background, rather bluish for the trace): the hiding works up close, on small tiles, less so from afar.
What are the weaknesses of the red filter?
Strengths
- Physical reveal: a scrap of red cellophane, a transparent red divider or anaglyph glasses will do.
- Prints well: print is where it comes from.
- Survives compression: the four colours are bold.
Weaknesses
- No security: anyone who knows the trick reads the message.
- The average hue gives the drawing away: blur the image and the background leans pink, the trace blue-green.
- Depends on filter and print: too pale a red, or a cyan ink that reflects a little red, and contrast collapses.
- Simple drawings only: two tones, no gradients.
How can the message be read without a filter?
In an image editor, display the red channel alone: that is exactly what the filter does. Failing that, a photo of the image taken through any transparent red object works.
What variants of the red filter exist?
- Red pattern over cyan text — the most common printed form: pale blue text covered in red scribble, which the filter erases.
- Two messages — one readable through a red filter, the other through a cyan one, in the same image.
- Anaglyph — the same sorting of colours, but to send a different image to each eye and create depth.
- Line screen — another developer laid over the image: a grid instead of a filter.
In CipherChronicle
In the workshop the starting image is the drawing (dark = trace). You set the tile size, from 2 to 12 pixels. Decryption simulates the filter by keeping only the red channel; it also works on a photo of a printed document of this kind.
Demonstration
The CipherChronicle artwork is encrypted then decrypted right here, in your browser, with the same engine as the workbench. Drag the bar to compare.