Click or drag to resize
MedicalHelperDicomGetWindowCenterWidth Method (SoVolumeData, SbVec2f)
Get the window center (level) and width values from a DICOM volume. If the query fails, returns false and sets 'winCW' to 0,0. Uses the Window Center (0028,1050) and Window Width (0028,1051) tags from the first image in the stack. If these tags do not exist in the volume, then window center and width are computed from the actual data min and max values. (Note that querying the actual min and max values may take some time because every voxel must be loaded.) This method may be called with a non-DICOM volume. In that case the actual min and max data values are used.

Namespace: OIV.Medical.Helpers
Assembly: OIV.Medical (in OIV.Medical.dll) Version: 10.12.3.0.Release.03fa3fc14f5d05a3007fab6bc6264244021464bb
Syntax
public static bool DicomGetWindowCenterWidth(
	SoVolumeData volume,
	out SbVec2f winCW
)

Parameters

volume
Type: OIV.VolumeViz.NodesSoVolumeData
winCW
Type: OIV.InventorSbVec2f

Return Value

Type: Boolean
See Also