Available in LEADTOOLS Medical Imaging toolkits. |
LDicomDS::GetVOILUTCount
#include "ltdic.h"
L_UINT16 LDicomDS::GetVOILUTCount(pCount)
L_UINT * pCount; |
/* pointer to a variable */ |
Gets the number of items under the VOI LUT sequence (0028,3010).
Parameter |
Description |
pCount |
Pointer to a variable to be updated with the number of items under the VOI LUT sequence. |
Returns
0 |
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). 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
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64
See Also
Example
For an example, refer to LDicomDS::SetVOILUT.