LAUREL BRIDGE

HistogramCalculateWindowCenter Method

DICOM Connectivity Framework V3.4
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.DCF.Examples.BitmapToDicom
Assembly:  BitmapToDicom (in BitmapToDicom.exe) Version: DCF34 r11538 DCF_3_4_24_20190319
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

Reference