Enhance the image of the raster layer

1152
0
01-16-2017 12:41 AM
SiegfriedSchermacher
New Contributor

My satellite image is really dark, so I have to enhance it. I noticed that a RasterLayer class hast properties like gamma and contrast. When I set any value for those properties, it has no effect. 

var raster_antarctic = new Raster(Path.Combine(Android.OS.Environment.ExternalStorageDirectory.AbsolutePath, antarctic_tiff));
var rasterLayer_antarctic = new RasterLayer(raster_antarctic);
rasterLayer_antarctic.Brightness = -100;
rasterLayer_antarctic.Contrast = -100;
rasterLayer_antarctic.Gamma = 100;
MyMap.Map.Basemap.BaseLayers.Add(rasterLayer_antarctic);

Is there something else I have to do for these values to take effect?

0 Kudos
0 Replies