Deletes type 3 empty elements from the dataset.
#include "Ltdic.h"
L_BOOL LDicomDS::RemoveType3EmptyElements()
Value | Meaning |
---|---|
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.
Win32, x64
This example removes empty Type 3 elements from the Data Set.
L_INT LDicomDS_RemoveType3EmptyElementsExample()
{
LDicomDS* pDS;
pDS = new LDicomDS(NULL);
pDS->InitDS( CLASS_CT_IMAGE_STORAGE, 0);
pDS->RemoveType3EmptyElements();
delete pDS;
return DICOM_SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document