public float getPixel(int x, int y) { return pixels[y,x]; }
public Channel channelDifference(Channel channel) { for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) { putPixel(x, y, Math.Abs(getPixel(x, y) - channel.getPixel(x, y))); } } return this; }