((InterleavedS32) img).setBand(x, y, band, (int) value); } else if (img instanceof InterleavedS64) { ((InterleavedS64) img).setBand(x, y, band, (long) value); } else if (img instanceof InterleavedF32) { ((InterleavedF32) img).setBand(x, y, band, (float) value);
((InterleavedS32) img).setBand(x, y, band, (int) value[band]); } else if (img instanceof InterleavedS64) { ((InterleavedS64) img).setBand(x, y, band, (long) value[band]); } else if (img instanceof InterleavedF32) { ((InterleavedF32) img).setBand(x, y, band, (float) value[band]);