discretizeImage2 Scales the grey values of an image into a specified number of values.
A numeric image matrix.
The grey levels the output image will have
Not currently used. Different methods of discretizing the image will be explored in the future.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.