return computeValue(monitor, mapInstance, elevationModel, hillShading, colors);
}
private Image computeValue(ProgressMonitor monitor, MapInstance mapInstance, DigitalElevationModel elevationModel, HillShading hillShading, MapScheme<MColor> colors) {
int mapSize = mapInstance.getWidth();
Device device = Display.getCurrent();
Image image = new Image(device, mapSize, mapSize);
GC gc = new GC(image);
this.paintWater(monitor, gc);
this.paintBackground(monitor, gc, mapInstance, elevationModel, hillShading, colors);
gc.dispose();