public Channel channelAverage(Channel channel) { for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) { putPixel(x, y, (getPixel(x, y) + channel.getPixel(x, y))/2f); } } return this; }