This is an old revision of the document!
An attempt to encode images in a way which preserves texture information and minimises lighting and other pesky variations.
Image data:
| 5 | 4 | 3 |
| 4 | 3 | 1 |
| 2 | 0 | 3 |
Threshold with respect to the centre pixel:
| 1 | 1 | 1 |
| 1 | 0 | |
| 0 | 0 | 1 |
Binary encode with:
| 1 | 2 | 4 |
| 8 | 16 | |
| 32 | 64 | 128 |
To produce:
| 1 | 2 | 4 |
| 8 | 0 | |
| 0 | 0 | 128 |
= 143