Assembly: DicomStreamIO (in DicomStreamIO.exe) Version: DCF34 r12431 DCF_3_4_38_20200923 NetFramework
public class Program
Thetype exposes the following members.
Initializes a new instance of theclass
Main entry point for DicomStreamIO.
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 usesand in combination with the and the classes to demonstrate alternative ways to reading and writing Chapter 10 formatted data to io streams.
As of DCF 3.4.16, we also remove Group Lengths when writing to an DicomOutput as suggested by the DICOM standard. This example demonstrates how to disable this feature so that there are no differences between the input and output datasets. Note that DCF does not presently support writing correct group lengths except for Group 0 (Command) and Group 2 (FileMeta) groups which are handled automatically.