Generic Color Space Conversion

../../../../_images/image_colorspace.svg

Convert from one color space into another. This is done by multiplying each pixel as a column vector with the given input matrix (table). Number of columns of table must match number of channels in input image. Number of rows will determine the number of output channels

Documentation

Convert from one color space into another. This is done by multiplying each pixel as a column vector with the given input matrix (table). Number of columns of table must match number of channels in input image. Number of rows will determine the number of output channels

Definition

Input ports

image
Type: image
Description: image to perform colorspace conversion on
table
Type: table
Description: Table specifying conversion matrix

Output ports

result
Type: image
Description: result

Implementation

class node_colourspace.GenericColorSpaceConversion[source]