schemr-class: Create the schemr class, which holds the palette and image...

schemr-classR Documentation

Create the schemr class, which holds the palette and image data

Description

Create the schemr class, which holds the palette and image data

Fields

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

Methods

print(x)

Print the colour palette.


schemr documentation built on June 25, 2024, 9:07 a.m.