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.
Namespace: LaurelBridge.DCFExamples.BitmapToNde
Assembly: BitmapToNde (in BitmapToNde.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public void CalculateWindowCenter( out int windowWidth, out int windowCenter )
Parameters
- windowWidth
- Type: SystemInt32
the returned window width - windowCenter
- Type: SystemInt32
the returned window windowCenter
See Also