This function returns the original Transfer Syntax used for the image, and indicates whether of not it had a Part 10 header and the group length Data Elements.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_orig_TS_get(
const HIGEAR hIGear,
LPAT_MODE lpOrigTS,
LPBOOL lpPart10,
LPBOOL lpGrpLengths
);
|
Name | Type | Description |
---|---|---|
hIGear | const HIGEAR | HIGEAR handle to the image. |
lpOrigTS | LPAT_MODE | A far pointer to the original setting for TS (Transfer Syntax). Set to NULL if you do not need this information. See enumIGMedTS enumeration for complete list of Transfer Syntaxes. |
lpPart10 | LPBOOL | A far pointer to a BOOL which indicates whether the original file was a Part 10 file. If TRUE-the original was a Part 10 file; If FALSE-the original was not a Part 10 file. Set to NULL if you do not need this information. |
lpGrpLengths | LPBOOL | A far pointer that returns a Boolean value indicating whether the original DICOM image had any Group Length Data Elements in it. TRUE means that it did have Group Length Data Elements; FALSE means that there were none. Set to NULL if you do not need this information. |
Returns the number of ImageGear errors that occurred during the function call.
This function does not process image pixels.
The image must have a DICOM DataSet attached to it. Use MED_DCM_DS_exists to check whether the image contains a DataSet.