This research has been simply developed to generate gradient pixelization with the limited number of types. It is transferring brightness values to probabilities of random selection. This would be useful definition in actual practice in order to create a tiling from gradient image with the limited number of tiles such as the façade of soccer city worldcup stadium.
Click Here for Tutorial PDF Download : GRADIENT PIXELIZATION