I need to read a 16 bit dicom file, I tried GFL_LOAD_ORIGINAL_DEPTH, but it does not seem to work.
It is possible with GFLSDK?
This is the code I use
Code: Select all
load_option.Flags |= GFL_LOAD_SKIP_ALPHA;
if(_parl(8))
load_option.Flags |= GFL_LOAD_ORIGINAL_DEPTH;
load_option.Origin = GFL_BOTTOM_LEFT;
load_option.ColorModel = GFL_BGR;
load_option.FormatIndex = _parni(7)==NULL ? -1 : _parni(7);
error = gflLoadBitmap( _parc(1), &TheBitmap, &load_option,NULL);