How to apply Modality and VOI LUTs in DICOM
I need to develop an application which should extract the image data
from DICOM files and convert it to JPEG format.
I have so far been able to extract the stored pixel data, apply
Rescale intercept/Slope and Window Width/Center values. Now, I need to
consider the cases where there might be present, the Modality and VOI
Could anybody tell me the method to apply these table values to the
Is it like taking the first value from the LUT and applying that to
the first pixel value?
What are the formulae for transformation?
Thanks in advance,