I want to divide a figure into different continuous color blocks (containing repeated color areas), and calculate their average colors of these blocks in another corresponding rendering (real) image. And consequently to convert a rendering image into an illustration.
Can anyone give me some hints? Thanks.
Hi,
Welcome to the forum!
If you are new to Processing and pixel manipulation in general, I strongly encourage you to follow this tutorial on the Processing website :
https://processing.org/tutorials/pixels
You’ll find answers on how to access pixels, loop through them, create images and more!
1 Like