Examples
Examples are available for both the ActiveX and .NET versions of DicomObjects
ActiveX/COM
The following examples are available. With the exception of the Access and Full Server examples, all are very small.| Visual Basic Viewer | Full Featured Visual Basic Viewer | |
| Delphi Viewer | Similar Viewer, ported to Delphi | |
| Borland C++ Builder Viewer | Similar Viewer, ported to Borland C++ Builder | |
| Microsoft Visual C++ Viewer | Similar Viewer, ported to Microsoft Visual C++ | |
| VB.NET 2005 | These Two .NET Viewer examples were both derived from the VB example, but not using the upgrade wizard - i.e. they are proper .NET code. These use the COM version - see the examples int eh sectin below for examples using the native .NET versin of DicomObjects | |
| C# 2005 | ||
| Web based application | Examples using both server-based and web client usage of DicomObjects (client use needs a browser such as Internet Explorer, supporting ActiveX) |
|
| LabView Application | Simple application showing use of DicomObjects in the LabView environment (Thanks to Chris Reed) for this user-supplied example) | |
| CD-ROM Reader | Visual Basic Application showing handling of DICOMDIR files | |
| Access Server | Simple but effective multi-threaded DICOM server implemented entirely within Microsoft Access | |
| Populated Access Server | * |
Essentially the same as the server above, but populated with 138 images to make a more realistic server for testing. This file is 25MByte |
| VB Fileset uploader | A small example showing how to parse a DICOMDIR, present the results to a user, and send images to a server. Used internally when making the populated Access Server | |
| Query/Retrieve Router | A complete query/retrieve "router" handling requests from it's own "clients" (i.e. acting as SCP), then passing them on to a main server (i.e. acting as SCU), and passing results back to the original client. This handles C-FIND for queries, and both C-MOVE & C-GET for retrieval, including translations between the two where necessary | |
| Centered Zoom | A very simple example showing how to control the centering point for zooming images in DicomViewer | |
| Compression/ Decompression DLL | * |
An example DLL showing how to implement your own private transfer syntaxes using DicomObjects. The "compression" methods in the example are trivial, but the example demonstrates the principles. |
| CD Writer | A program which receives images sent over the network, and saves them in a temporary directory, then when instructed, writes them directly to CD-R, complete with a DICOMDIR. It uses the CDWriterPro ActiveX component from www.numediasoft.com to handle the CD writing, and this must be downloaded and installed before running this example. | |
| Modality Worklist (MWL) SCU | Matching SCU and SCP examples in Visual Basic for the Modality Worklist service class. | |
| Modality Worklist (MWL) SCP | ||
| MPPS SCU | Matching SCU and SCP examples in Visual Basic for the Modality performed procedure step service class | |
| MPPS SCP | ||
| Storage Commitment SCU | Matching SCU and SCP examples in Visual Basic for the Storage Commitment service class | |
| Storage Commitment SCP | ||
| Full DICOM server based on MSDE (28 Meg) | * |
These 2 downloads offer the same fully functional robust server, but the larger also includes the MSDE (simplified, free Microsoft SQL). The smaller version can be used by those who already have Microsoft SQL, or who wish to port the code to another database. For details, without downloading, see the notes here |
| Full DICOM Server without MSDE | * |
|
| VB Print SCP | These examples act as a "pseudo printer", acting as a Print Service SCP, and printing (using the correct layout) to the default Windows printer | |
| Delphi Print SCP |
Please note that all these examples require the latest official version of DicomObjects (4.3).
Those marked with an * are NOT included in the main DicomObjects download.
.NET
C# |
VB.NET |
|||
SCU |
SCP |
SCU |
SCP |
|
| Viewer Program | ||||
| Server Program | ||||
| Modality Worklist | ||||
| Storage Commitment | ||||
| DICOM Print SCP | ||||
| Modality Performed Procedure Step | ||||
| Centered Zoom | ||||
| Secure DICOM Connection | ||||
| Router Application | ||||
| DICOM DIR Reader | ||||
| License Manager Program | ||||
