To view this content, you need to install Java from java.com

Illustrates using the very low-level LUT routines to accomplish a "posterize" operation.
The mapLUT() method is used to apply the posterize operation on values that have already
been adjusted by brightness and contrast. Compare with Demo_08_UserDefinedPosterize where
the setLUT() method is used to apply ONLY the posterize operation.

Source code: Demo_09_UserDefinedAdvancedPosterize

Built with Processing