colorMatrixFromDesiredRGBToYCbCr()
Returns a color matrix that is appropriate for converting RGB values in the project’s working gamut into YCbCr values.
Declaration
func colorMatrixFromDesiredRGBToYCbCr() -> FxMatrix44!Mentioned in
Return Value
A 4x4 matrix for converting an RGB value into YCbCr.
Discussion
You can use the first row of the resulting matrix of this function to convert from RGB to grayscale.