Method ConvertToGreyscale
ConvertToGreyscale(double, double, double)
Returns a greyscale version of the image.
public virtual GenericImage ConvertToGreyscale(double weightR, double weightG, double weightB)
Parameters
weightRdoubleWeight of the Red component.
weightGdoubleWeight of the Green component.
weightBdoubleWeight 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()