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