I am working on Image Blending application. I load my Dicom image using clearcanvas library. My problem is to Downgrade a 16 BIT grayscale image to 8 bit without any loss. I surfed a lot but i can't find any code snippet to do that.
Please suggest any code snippet for downgrading.
What I have tried:
From some link I found that I have to access LUT table to downgrade, I tried but I don't know how. I am a newbie to DICOM. Please help me. Is there any other way???