Adding/Extracting Sequences in MSVC

Sometimes we are asked about how to Add/Extract DICOM sequences in Microsoft Visual C++, to avoid replying similar Emails in the further, we put the code here.

Controlling Printer Smoothing

Printers differ greatly in their default behaviour for smoothing/interpolating pixel data. DICOM does provide a mechanism for this to be controlled by the print SCU, but printers do vary in how they interpret and implement this functionality.

DICOM Private Elements

Why Private Data Element

Implementations may require communication of information that cannot be contained in Standard Data Elements. Private Data Elements are intended to be used to contain such information.

How DicomObjects handles Width and Level values

The Width and Level properties of an image are unusual, in that they are both stored as a part of the image, and are also transient DicomImage properties, regularly adjusted by users. This page explains the relationship between the persistent and transient values.

Security Issues for Displaying CHM files

Users on some version of Windows will find that they might be blocked from opening/using the CHM help file. To avoid the main problem, always save the file to disk and open from there rather than directly from the web page.
Even after that though, once the file is saved to disc, double-clicking it may result in an Open File - Security Warning dialogue asking the user, Do you want to open this file?. Clicking Open will open the Help dialogue but the user may see a message similar to the following in place of the content for every topic:

Query Parameters

A "normal" DICOM Query, as part of the Query/Retrieve service, is used to ask about the patients, studies, series or images known to a Q/R SCP (normally a PACS). It uses the C-FIND operation (and was originally the only service using that operation, so this query service is often called just C-FIND, despite that fact that the C-FIND operation is also used for other services such as Modality_Worklist).


A Module is a group of DICOM attributes which provide information for related data, such as the "Patient" or the "Equipment".

Use of modules make the writing of the DICOM standard easier, as Part 3 re-uses the same modules in multiple SOP_Class definitions, but they are not a structural component of a DataSet, as this is instead sorted according to numerical order of the individual attributes.

Some Systems Behave Badly when sent One Image Per Association

Some badly designed receiving systems react wrongly to images sent "one per association"

Significance of AssociationClosed Event

Should I use AssociationClosed Event ?

AssociationClosed Event is by default disabled as it is very easy for most people to misuse it. If you need to use it you have to first enable it either by adding a real registry entry "DisableAssociationClosed" in the registry:


The Move allows a C-MOVE operation to be carried out on an existing DicomConnection. This has several benefits compared to any of the DicomQuery-based alternatives:


Subscribe to RSS - General-DICOM