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