DICOMWINDOWATTRIBS

typedef struct tagDICOMWINDOWATTRIBS
{
   L_UINT uStructSize;
   L_DOUBLE fWindowCenter ; 
   L_DOUBLE fWindowWidth; 
   L_CHAR pszWindowCWExplanation[DICOM_VR_LO_LENGTH+1];
}DICOMWINDOWATTRIBS , * pDICOMWINDOWATTRIBS;

This structure is used by the functions L_DicomGetWindow and L_DicomSetWindow to get and set the attributes that describe window center and window width.

Member

Description

uStructSize

The size of the structure (use sizeof (DICOMWINDOWATTRIBS)).

fWindowCenter

Value of the "Window Center" (0028,1050) element.

fWindowWidth

Value of the "Window Width" (0028,1051) element.

pszWindowCWExplanation

Value of the "Window Center & Width Explanation" (0028,1055) element. The maximum length of this string is DICOM_VR_LO_LENGTH, which is defined as 64.

Comments

The members of this structure are based on the attributes of the "VOI LUT Module". Please see "VOI LUT Module Attributes" in the DICOM standard for more details.

fWindowWidth shall always be greater than or equal to 1.