Click or drag to resize
MedicalHelperDicomAdjustDataRange Method
Adjust data range based on values in the DICOM file, i.e. the window center (0028,1050) and window width (0028,1051) values. If there are multiple slices, values are taken from the first slice. Volume is needed to get DICOM attributes, but is not modified.

Namespace: OIV.Medical.Helpers
Assembly: OIV.Medical (in OIV.Medical.dll) Version: 2025.1.1.Release.5f9de35910b5f5a39847f4b67bd6e4c2b57f7a23
Syntax
public static bool DicomAdjustDataRange(
	SoDataRange rangeNode,
	SoVolumeData volume
)

Parameters

rangeNode
Type: OIV.LDM.NodesSoDataRange
volume
Type: OIV.VolumeViz.NodesSoVolumeData

Return Value

Type: Boolean
Returns true if successful. Assigns default values if necessary.
See Also