"Jeff" wrote in message <k38eak$7cd$
1...@newscl01ah.mathworks.com>...
You need to do more than that. HU = Gray_Value * slope + intercept The stored value in DICOM file are basically the attenuation coefficients i.e CT numbers (DICOM tag (7FE0, 0010) - pixel data). These are converted to a linear scale (Hounsfield unit scale) by using HU = CTNumber (7FE0,0010) * rescale slope (0028, 1053) + y intercept (0028, 1052). These HU values have to be converted to pixel intensity f(x,y) using f(x,y) = ((HU-P1)*pow(2,i-1))/W, where P1 is the window left border, i is the radiometric resolution and W is the window width.