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 r11295 DCF_3_4_22
public void CalculateWindowCenter( out int windowWidth, out int windowCenter )
the returned window width
the returned window windowCenter