Printing without using DicomPrint

Before the DicomPrint object was added to DicomObjects, it was necessary to do DICOM printing using a DicomConneciton object, and direct use of normalised operations. Since the addition (many years ago!) of the DicomPrint object, this is not normally necessary, but for those with specialised needs, or you wish to keep it asynchronous, it does have a use.

The code below gives a starting point for those wishing to do this themselves

Comparison of MoveImages MoveSync GetUsingMove and Move

The COM_version of DicomObjects provides 4 different mechanisms for initiating C-MOVE operations, and we are often asked about the differences and relative benefits. This page is therefore a summary of the differences.

How to Implement Shutters in DicomObjects

Shutters are a means to "black out" areas of an image outside the area of interest, and are defined in DICOM and in presentation states.

Using DicomObjects to make a Web Viewer

There are (at least!) 3 approaches to making a “web viewer” using DicomObjects:


Everything comes to/from the server as HTML/JPEG, so it works on ANY browser. Everything you want COULD be done that way (yes, even the magnifier), but unless you were on a very fast LAN, speed would probably not be acceptable


There are two kinds of Rejection during association establishment, Association Rejection and Contexts Rejection.


Where it appears

In the DicomObjects log file

What caused Auto-Disconnection

It's caused by releasing the last remaining reference to a DicomConnection without first sending a status back to the remote end. This normally means:

Create Overlays

Does DicomObjects have functions to create Overlays?

DicomObjects does not have direct, simple ways to create DICOM overlays. This is because most people regard them as pretty obsolete, having been replaced since 1998 or so by DICOM Presentation_states, which we do fully support, using CurrentToPresentationState method.

Display Text Overlay

Once or twice we have come across images with the following "symptoms":

  • pixel data being all black (0s), or may well be other colors
  • overlay data present

When it's been loaded onto DicomViewer, you will normally see a black screen with nothing showing. But if you set the following before the image is being displayed:

DicomImage.OverlayVisible(0)= True

You should be able to see the text labels embedded in the overlay data. See the following sample picture.

How to Invert a DicomImage

By "invert", most people mean change black to white and visa versa, and this can be done by setting the "Width" property of DicomImage to some negative value:

DicomImage.Width = DicomImage.Width * -1

If however, you wish to rotate an image, then see the FlipState and RotateState properties of the image.


Subscribe to RSS - COM