Page 1 of 1

Load dicom files with 16 bit

Posted: Wed May 25, 2005 4:04 pm
by josei
Hello

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);

Re: Load dicom files with 16 bit

Posted: Thu May 26, 2005 1:21 pm
by xnview
josei wrote:Hello

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?
Currently GFL SDK can't read DICOM 16bits, only TIFF/PSD/PNG/SGI/TDI