Hello,
I am trying to use NormalizeMinMax with a high bit depth image (16 Bits).
I am not receiving an exception, but the returned image is just noise.
This is my code
var bitDepth = image.Planes[0].DataType.BitsPerPixel;
var targetMax = Math.Pow(2, bitDepth);
var newImage = image .NormalizeMinMax( 0, targetMax-1 );
image.Save(@"d:\source.tif");
newImage.Save(@"d:\enhanced.tif");
Should this work with 16 images?
Source
Result