ImageGear for C and C++ on Linux v18.10 - Updated
MED_PS_pres_LUT_set
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Presentation State Functions > MED_PS_pres_LUT_set

This function adds Presentation LUT sequence to the DataSet of hIGearPresState.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_PS_pres_LUT_set(
        HIGEAR hIGearPresState, 
        LPAT_MED_LUT_DESC lpPresLUTInfo
);

Arguments:

Name Type Description
hIGearPresState HIGEAR Image that contains Presentation State DataSet.
lpPresLUTInfo LPAT_MED_LUT_DESC Presentation LUT info.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

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.

Remarks:

Use this function together with MED_PS_extract().