TIOParams.DICOM_BitsStored
Declaration
property DICOM_BitsStored: Integer;
Description
Allows a custom value to be set for the Dicom "Bits Stored" tag ($0028, $0101). If DICOM_BitsStored=-1, then the value is calculated automatically based on the
PixelFormat.
Note:
◼Advanced usage only: No checking is performed to ensure the value you have specified is valid
◼This may also affect the "High Bit" tag ($0028, $0102) depending on the pixel format
◼This value is not filled on reading (read
BitsPerSample instead)
Default: -1
Examples
// Save image as 14bit gray scale DICOM
ImageEnView1.IEBitmap.PixelFormat := ie16g;
ImageEnView1.IO.Params.DICOM_BitsStored := 14;
ImageEnView1.IO.SaveToFileDICOM( 'C:\image14bit.dicom' );
See Also
◼PixelFormat