L_DicomGetPresStateImageRefCount

#include "l_bitmap.h"

L_LTDIC_API L_UINT16 L_DicomGetPresStateImageRefCount(hDS, pRefSeriesSQItem, pCount)

Retrieves number of images (SOP Instances) that are referenced in an item under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

Parameters

HDICOMDS hDS

A DICOM handle.

pDICOMELEMENT pRefSeriesSQItem

Pointer to an item element under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

L_UINT * pCount

Pointer to a variable which will be updated with the number of referenced images.

Returns

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

Comments

This function will return the number of images (SOP Instances) under the "Referenced Image Sequence" (0008,1115) in one of the items under "Referenced Series Sequence" (0008,1115) in the "Presentation State Module". Use this function along with L_DicomGetPresStateImageRefSOPInstance in order to enumerate all the referenced images under the specified "Referenced Image Sequence".

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

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

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