I used dcm2pnm.exe to convert the 16 bit pixel data to 8 bit bmp using
Code: Select all
dcm2pnm.exe +ob src_16bit.dcm 8bit.bmp
Code: Select all
img2dcm.exe -i BMP --series-from src_16bit.dcm 8bit.bmp 8bit.dcm
Please help me
As an alternative,
I managed to create an 8bit dcm file using gdcm's gdcmimg.exe.
Code: Select all
dcm2pnm.exe +op src_16bit.dcm 8bit.pgm
gdcmimg.exe 8bit.pgm anon.dcm
Is there some way to achieve this using dcmtk or any other such tool kit?
Kindly help
Thanks and Regards