#include "Ltdic.h"
L_LTDIC_API L_BOOL L_DicomRemoveType3EmptyElements(hDS)
HDICOMDS hDS; |
a DICOM handle |
Deletes type 3 empty elements from the dataset.
Parameter |
Description |
hDS | A DICOM handle. |
TRUE | If the function was able to traverse the dataset and maybe removed some items. |
FALSE | If there was a problem identifying the dataset IOD class, or if the IOD class was unknown. |
You can remove empty items to save space and minimize the dataset size before sending it.
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, Linux.
This example removes empty Type 3 elements from the Data Set
L_INT DicomRemoveType3EmptyElementsExample(L_VOID)
{
HDICOMDS hDS;
hDS = L_DicomCreateDS(NULL);
L_DicomInitDS(hDS, CLASS_CT_IMAGE_STORAGE, 0);
L_DicomRemoveType3EmptyElements(hDS);
L_DicomFreeDS(hDS);
return DICOM_SUCCESS;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET