RGB分量调整实际上是分别对每个像素的RGB三个分量进行调整,公式如下:

[函数代码]
///
/// R,G,B value adjusting.
///
/// The source image.
/// To judge which one to adjust, R is 3, G is 2, B is 1.
/// It is a value to adjust the result image.
///
public static WriteableBitmap RGBAdjustProcess(