L_DicomGetVOILUTCount

Summary

Gets the number of items under the VOI LUT sequence (0028,3010).

Syntax

#include "ltdic.h"

L_LTDIC_API L_UINT16 L_DicomGetVOILUTCount(hDS, pCount)

Parameters

HDICOMDS hDS

A DICOM handle.

L_UINT * pCount

Pointer to a variable to be updated with the number of items under the VOI LUT sequence.

Returns

Value Meaning
DICOM_SUCCESS The function was successful.
>0 An error occurred. Refer to Return Codes.

Comments

This function will get the number of items under the VOI LUT sequence (0028,3010). If this sequence does not exist in the dataset, this function will return DICOM_SUCCESS and set *pCount to 0.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomSetVOILUT.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.