public Channel log() { for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) { putPixel(x, y, (float)Math.Log(getPixel(x, y))); } } return this; }