public void ShowBuffer()
{
var output = new Color[PixelWidth, PixelHeight];
for (int x = 0; x < PixelWidth; x++)
for (int y = 0; y < PixelHeight; y++)
{
var hsv = new HSV(this.color[x, y]);
hsv.Value = hsv.Value * this.brightness[x, y] * this.globalBrightness.Value;
output[x, y] = hsv.Color;
}
this.showBuffer.OnNext(output);
}