public Channel abs() { for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) { putPixel(x, y, 2f*Math.Abs(getPixel(x, y) - 0.5f)); } } return this; }