Poor man's window/level algorithm that hasn't been patented... yet. Ignore some of the lowest and highest values in attempt to bracket images with low contrast.
Assembly: BitmapToNde (in BitmapToNde.exe) Version: DCF34 r10560 DCF_3_4_10
public void CalculateWindowCenter( out int windowWidth, out int windowCenter )
the returned window width
the returned window windowCenter