This function adds specified LUT to the DataSet.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_LUT_update_from( HIGEAR hIGear, AT_DCM_TAG lutSqTag, HIGLUT lut ); |
Name | Type | Description |
---|---|---|
hIGear | HIGEAR | HIGEAR handle to the image. |
lutSqTag | AT_DCM_TAG | LUT sequence. |
lut | HIGLUT | LUT handle. |
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.
The function supports the following LUTs:
LUT | Sequence Tag |
---|---|
Modality LUT | DCM_TAG_ModalityLUTSequence |
VOI LUT | DCM_TAG_VOILUTSequence, DCM_TAG_SoftcopyVOILUTSequence |
Presentation LUT | DCM_TAG_PresentationLUTSequence |