convert 16 bit grayscale DICOM image to 8 bit: the correct procedure

和自甴很熟 提交于 2019-12-06 00:32:13

About Rescale Slope/Intercept: It is a linear equation, so each pixel value is calculated by

<output pixel value> = <value from pixeldata attribute> * RescaleSlope + RescaleIntercept

This is the input to the windowing equation. The exact windowing equation is here.

About the inverted pixels: The attribute (0028,0103) is probably set to MONOCHROME1 which means: min=white, max=black (or "black bones" convention, i.e. the image contains the attenuation caused by the tissue between tube and detector). This is called the Polarity transformation and happens at the end of the pixel value transformation pipeline.

So your steps go:

  • apply rescale slope / intercept

  • apply windowing

  • if PixelRepresentation==MONOCHROME1 -> invert the resulting lookup table
Alessandro Ciurlo

There is no a unique response.

You have to keep in mind that 16 bits images (bits stored) contains more information than images with 8 bits images. This information, in general, cannot be displayed all in the same time, you have to change the parameters used to display image.

In DICOM Images there are different DICOM tags that tells you how to interpretate data pixel. May be there are look-up table, and\or slope-intercept, and\or Window Width-Window Center tags. I think you have to take a look here

Window width and center calculation of DICOM image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!