LAUREL BRIDGE

Program Class

DICOM Connectivity Framework V3.4
This example shows several examples of using DCF to read and write DICOM Chapter 10 datasets to and from memory or file streams.
Inheritance Hierarchy

SystemObject
  LaurelBridge.DCF.Examples.DicomStreamIOProgram

Namespace:  LaurelBridge.DCF.Examples.DicomStreamIO
Assembly:  DicomStreamIO (in DicomStreamIO.exe) Version: DCF34 r10560 DCF_3_4_10
Syntax

C#
public class Program

The Program type exposes the following members.

Constructors

  NameDescription
Public methodProgram
Initializes a new instance of the Program class
Top
Methods

  NameDescription
Public methodStatic memberMain
Main entry point for DicomStreamIO.
Top
Remarks

Chapter 10 was originally designed as a format for DICOM files, but it is also used to perform non-DICOM transfers via web sockets, or may be wrapped by other protocols that use standard streams. Chapter 10 format contains the Group 2 File Meta Information tags that convey the SOP Class and Instance Uids, the Transfer Syntax of the encoded dataset, as well as other information.

In normal DICOM networking, the Group 2 tags are normally stripped, as they are not supposed to be a part of the messaging payload between DICOM entities. This example uses DicomFileInput and DicomFileOutput in combination with the DicomStreamReader and the DicomStreamWriter classes to demonstrate alternative ways to reading and writing Chapter 10 formatted data to io streams.

See Also

Reference

FileMetaTags