LDicomDS::RemoveType3EmptyElements

Summary

Deletes type 3 empty elements from the dataset.

Syntax

#include "Ltdic.h"

L_BOOL LDicomDS::RemoveType3EmptyElements()

Returns

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.

Comments

You can remove empty items to save space and minimize the dataset size before sending it.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

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 Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help

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