AnsweredAssumed Answered

Enhance the image of the raster layer

Question asked by sschermacher on Jan 16, 2017

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?

Outcomes