The following is an excerpt from dcm.c from line 3253:
Code: Select all
case 0x1050:
{
/*
Visible pixel range: center.
*/
window_center=StringToLong((char *) data);
break;
}
case 0x1051:
{
/*
Visible pixel range: width.
*/
window_width=StringToUnsignedLong((char *) data);
break;
}
Code: Select all
case 0x1050:
{
/*
Visible pixel range: center.
*/
if (data != NULL)
window_center=StringToLong((char *) data);
break;
}
case 0x1051:
{
/*
Visible pixel range: width.
*/
if (data != NULL)
window_width=StringToUnsignedLong((char *) data);
break;
}