Transforming Image Colours
Given any stored digital image, we can transform the pixel colours in various ways, leaving the pixel locations unchanged. Colour diversity can be reduced by paletting to a sparser colour space. A general colour shift changes the colours of all the pixels in an image, by increasing or decreasing intensities across one, two or all three of the fundamental red green and blue variables. A specific colour substitution changes just the pixels of a specified colour to another colour. Scripts and examples are shown.
- 1.Grayscale. https://en.wikipedia.org/wiki/Grayscale
- 2.Twyman M (1970) Printing 1790–1970. Eyre and Spottiswoode, LondonGoogle Scholar
- 3.Ulichney R (1987) Digital halftoning. MIT Press, CambridgeGoogle Scholar
- 4.Parkin A (2016) Digital imaging primer. Springer, HeidelbergGoogle Scholar
- 5.Floyd-Steinberg dithering. https://en.wikipedia.org/wiki/Floyd-Steinberg_dithering