Method ConvertToGreyscale
ConvertToGreyscale(double, double, double)
Returns a greyscale version of the image.
public virtual GenericImage ConvertToGreyscale(double weightR, double weightG, double weightB)
Parameters
weightR
doubleWeight of the Red component.
weightG
doubleWeight of the Green component.
weightB
doubleWeight of the Blue component.
Returns
Remarks
The returned image uses the luminance component of the original to calculate the greyscale. Defaults to using the standard ITU-T BT.601 when converting to YUV, where every pixel equals(R* weight_r) + (G* weight_g) + (B* weight_b).
ConvertToGreyscale()
Returns a greyscale version of the image.
public virtual GenericImage ConvertToGreyscale()