QMed_GetMetaInfo(imageRef; dataEndianess; pixelRepresentation):error
imageRef Longint Reference to the image
dataEndianess Longint Data endianess
pixelRepresentation Longint Pixel representation
error Longint Error result

Returns the data endianess and pixel representation information of a DICOM file.

The DICOM image file is specified by imageRef. If imageRef is not a valid image reference, error qmed_paramErr is returned. If imageRef is a valid image reference but the image is not in the DICOM format, error qmed_badComponentType is returned.

Parameter dataEndianess receives the data endianess of the DICOM file. The data endianess is expressed with the following constants:

qmed_BigEndianData 1 Big endian DICOM data
qmed_LittleEndianData 2 Little endian DICOM data
qmed_UnknownEndianess 3 DICOM data endianess is unknown

Parameter pixelRepresentation receives the pixel representation of the DICOM file. The pixel representation is expressed with the following constants:

qmed_UnsignedPixels 1 Pixels are unsigned integers
qmed_SignedPixels 2 Pixels are signed integers
qmed_UnknownPixelRep 3 Pixel representation is unknown

QMedical © Escape
Generated by QDoc 2.8 on Wed, Jan 27, 2010 17:55:20