Class ColorMatrixTransform
Transforms an image according to coefficients in a System.Numerics.Matrix4x4.
Inherited Members
Namespace: PhotoSauce.MagicScaler.Transforms
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public sealed class ColorMatrixTransform : PixelTransformInternalBase, IPixelTransform, IPixelSource
Constructors
ColorMatrixTransform(Matrix4x4)
Constructs a new ColorMatrixTransform using the specified matrix
.
Declaration
public ColorMatrixTransform(Matrix4x4 matrix)
Parameters
Type | Name | Description |
---|---|---|
System.Numerics.Matrix4x4 | matrix | A 4x4 matrix of coefficients. The channel order is RGBA, column-major. |