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 image

image to perform colorspace conversion on

table table

Table specifying conversion matrix

Output ports

result image

result

Implementation

class node_colourspace.GenericColorSpaceConversion[source]