ImageGear for C and C++ on Linux v19.10 - Updated
MED_DCM_DS_LUT_exists
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_LUT_exists

This function checks whether a presentation state HIGEAR (hIGearPresState), or the image HIGEAR (hIGear) contain specified LUT sequence.

Declaration:

 
Copy Code
AT_BOOL ACCUAPI MED_DCM_DS_LUT_exists(
        HIGEAR hIGear,
        HIGEAR hIGearPresstate,
        AT_DCM_TAG lutSqTag
);

Arguments:

Name Type Description
hIGear HIGEAR Image whose dataset is checked for presence of the LUT.
hIGearPresstate HIGEAR Presentation state HIGEAR whose dataset is checked for presence of the LUT. Set to NULL if no presentation state HIGEAR is available.
lutSqTag AT_DCM_TAG Specifies the LUT sequence.

Return Value:

TRUE if the DataSet attached to the HIGEAR has a specified LUT sequence; FALSE otherwise.

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:

This function supports the following LUT sequences: