Get the value of the green channel at the given pixel coordinates x, y.
x
y
num getGreen(int x, int y) => green != null ? green!.isFloat ? green!.getFloat(x, y) : green!.getInt(x, y) : 0;