schemr-class | R Documentation |
Create the schemr class, which holds the palette and image data
image
An array of dimension (Image width) by (Image height) by (3 colour channels) that contains the data of the original image
clustered_image
An array of dimension (Image width) by (Image height) by (3 colour channels) that contains the data of the image with clustered colour blocks
palette
A character vector that contains the colours of the resulting colour palette
print(x)
Print the colour palette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.