|
|
@ -11,6 +11,8 @@ namespace ImageSharp.Processors |
|
|
/// Converts the colors of the image to Grayscale applying the formula as specified by
|
|
|
/// Converts the colors of the image to Grayscale applying the formula as specified by
|
|
|
/// ITU-R Recommendation BT.709 <see href="https://en.wikipedia.org/wiki/Rec._709#Luma_coefficients"/>.
|
|
|
/// ITU-R Recommendation BT.709 <see href="https://en.wikipedia.org/wiki/Rec._709#Luma_coefficients"/>.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|
|
|
/// <typeparam name="TColor">The pixel format.</typeparam>
|
|
|
|
|
|
/// <typeparam name="TPacked">The packed format. <example>uint, long, float.</example></typeparam>
|
|
|
public class GrayscaleBt709Processor<TColor, TPacked> : ColorMatrixFilter<TColor, TPacked> |
|
|
public class GrayscaleBt709Processor<TColor, TPacked> : ColorMatrixFilter<TColor, TPacked> |
|
|
where TColor : struct, IPackedPixel<TPacked> |
|
|
where TColor : struct, IPackedPixel<TPacked> |
|
|
where TPacked : struct |
|
|
where TPacked : struct |
|
|
|