Leadtools.Dicom.Scu Getting Started (PACS) (original) (raw)

For pointers to sample programs that demonstrate many features, see the following table:

.NET

Redistributables Paths

Path Target Platform
\Bin\net .NET 6+
Assembly - Class/Namespace Comments
Leadtools.Dicom.Scu.dll - Leadtools.Dicom.Scu Provides classes and methods that implement DICOM Storage Service and DICOM Query/Retrieve Service.
Leadtools.Dicom.Server.Admin.dll - Leadtools.Dicom.Server.Admin Provides classes and methods that implement DICOM Server Administration.
Leadtools.Dicom.AddIn.dll - Leadtools.Dicom.AddIn Provides classes and methods that implement DICOM AddIns. Leadtools.AddIn.DicomLog -Implements the INotifyReceiveMessage & INotifySendMessages interfaces. This allows the add-in to log all incoming and outgoing DICOM Messages. The logging is handled by the Microsoft Enterprise Library logging. The add-in creates a Log directory in the DICOM server directory. All log information is written to an "output.log" file. If dataset saving is enabled they are written to Log\Datasets. The file name of the saved dataset is the SOP Instance UID. Leadtools.AddIn.Store - Implements the IProcessCStore interface. This add-in implements a StorageSCP. The following storage classes are supported: CT Image Storage NM Image Storage DX Image Storage MR Image Storage Hemodynamic Waveform Storage XA Image Storage CR Image Storage US Image Storage SC Image Storage US Multiframe Image Storage Video Endoscopic Image Storage Video Microscopic Image Storage XRay Radiofluoroscopic Image Storage Nuclear Medicine Image Storage (Retired) Ultrasound Image Storage (Retired) Ultrasound Multi-frame Image Storage (Retired) Standalone Overlay Storage (Retired) Standalone Curve Storage (Retired) Basic Study Descriptor (Retired) Standalone Modality LUT Storage (Retired) Standalone VOI LUT Storage (Retired) X-Ray Angiographic Image Storage X-Ray Angiographic Bi-Plane Image Storage (Retired) X-Ray RF Image Storage RT Image Storage RT Dose Storage RT Structure Set Storage RT Plan Storage Positron Emission Tomography Image Storage Standalone Positron Emission Tomography Curve Storage (Retired) Stored Print Storage (Retired) Hardcopy Grayscale Image Storage (Retired) Hardcopy Color Image Storage (Retired) Digital X-Ray Image Storage - For Presentation Digital X-Ray Image Storage - For Processing Digital Mammography X-Ray Image Storage - For Presentation Digital Mammography X-Ray Image Storage - For Processing Digital Intra-Oral X-Ray Image Storage - For Presentation Digital Intra-Oral X-Ray Image Storage - For Processing RT Beams Treatment Record Storage RT Brachy Treatment Record Storage RT Treatment Summary Record Storage VL Endoscopic Image Storage VL Microscopic Image Storage VL Slide-Coordinates Microscopic Image Storage VL Photographic Image Storage Basic Text SR Storage Enhanced SR Storage Comprehensive SR Storage Enhanced MR Image Storage MR Spectroscopy Storage RAW Data Storage Secondary Capture Multi-Frame Single Bit Image Storage Secondary Capture Multi-Frame Grayscale Byte Image Storage Secondary Capture Multi-Frame Grayscale Word Image Storage Secondary Capture Multi-Frame True Color Image Storage Key Object Selection Document Storage Mammography CAD SR Storage Chest CAD SR Storage Ophthalmic Photography 8 Bit Image Storage Ophthalmic Photography 16 Bit Image Storage Stereometric Relationship Storage Video Photographic Image Storage Pseudo-Color Softcopy Presentation State Storage Blending Softcopy Presentation State Storage Procedure Log Storage X-Ray Radiation Dose SR Storage Enhanced CT Image Storage Spatial Registration Storage Deformable Spatial Registration Storage Spatial Fiducials Storage Hanging Protocol Storage Encapsulated PDF Storage Encapsulated CDA Storage Real World Value Mapping Storage Enhanced X-Ray Angiographic Image Storage Enhanced X-Ray RF Image Storage RT Ion Plan Storage RT Ion Beams Treatment Record Storage Segmentation Storage Ophthalmic Tomography Image Storage X-Ray 3D Angiographic Image Storage X-Ray 3D Craniofacial Image Storage Enhanced PET Image Storage Lensometry Measurements Storage Autorefraction Measurements Storage Keratometry Measurements Storage Subjective Refraction Measurements Storage Visual Acuity Measurements Storage Spectacle Prescription Report Storage The following transfer syntaxes are supported: Implicit VR Little Endian JPEG 2000 JPEG Lossless Only JPEG Baseline 1 Explicit VR Big Endian Explicit VR Little Endian JPEG Lossless No Hierarchal 14 JPEG Lossless No Hierarchal 14B When the add-in loads it creates a new SQLCE 3.5 database (Dicom.sdf) in the server directory. In addition, it creates an Images directory in the server directory that will contain all the DICOM datasets received at the server. Leadtools.AddIn.Find - Implements the IProcessCFind interfaces. This add-in implements a DICOM Query service. This add-in supports the following service classes: Patient Root Query Find Study Root Query Find This add-in makes use of the same database that is created by the Store add-in. If the database does not exist when this add-in is called it will be created. Therefore, it does not matter if you attempt a find before doing a store. Leadtools.AddIn.Move - Implements the IProcessCMove interface. This add-in implements a DICOM Retrieve service. This add-in supports the following service classes: Patient Root Query Move Study Root Query Move This add-in makes use of the same database that is created by the Store add-in. If the database does not exist when this add-in is called it will be created. Leadtools.AddIn.MWLFind - Implements the IProcessCFind interface. This add-in supports the following service classes: Modality Worklist Find This add-in creates a SQLCE 3.5 Database(MWLSCP.sdf) in the server directory. In addition, this add-in creates an Option Dialog that allows you to edit the database from the Server Manager. Leadtools.AddIn.StorageCommit - Implements the IProcessNAction interface. This add-in supports the following service classes: Storage Commitment Push Model Class This add-in makes use of the SQLCE 3.5 Database created by the storage add-in. It expects the database to be already created. If the database is not available the Commitment request will generate a ResourceLimitation error. If the database is present the commitment request is processed in another thread and a response is immediately sent back to the client. Once the commit request is finalized a notification is sent on behalf of the add-in to the originating client.
Leadtools.Medical.Workstation.DataAccessLayer.dll - Leadtools.Medical.Workstation.DataAccessLayer Provides classes and methods that implement an interface to allow the data provider to access and update DICOM information.
Leadtools.Medical.Workstation.Client.dll - Leadtools.Medical.Workstation.Client Provides classes and methods that implement a medical workstation client that communicates with DICOM servers.
Leadtools.Medical.Workstation.Loader.dll - Leadtools.Medical.Workstation.Loader Provides classes and methods that loads medical viewer images, series, or studies and initializes a MedicalViewer control.

Dependencies

Library Description Dependencies
Leadtools.Dicom.dll Provides the main functionality for dealing with data sets. It includes methods for creating, initializing, loading and saving data sets. In addition, there are methods and properties that allow you to do the following: Maneuver through a data set. Search a data set. Insert or delete data set members. Retrieve or set data element values. Get or set information about the entire data set. Convert values. Insert and extract DICOM Annotations. Leadtools.dll
NuGet Package Description
Leadtools.Dicom.Pacs.Scu DICOM PACS Service Class User Library

Sample Programs

Demo Name Source Code Path Description
DICOM Directory \Examples\Dicom\DotNet\DicomDirCLIDemo\net Demonstrates DICOM directory capabilities. Creates a DICOM directory for all DICOM files in the source directory Displays the contents of the DICOM directory in a tree view Preview the pixel data for IMAGE elements in the selected DICOM file
Demo Name Source Code Path Description
DICOM Echo \Examples\Dicom\DotNet\DicomEchoCLIDemo\net Demonstrates DICOM C-ECHO SCU capabilities by connecting to a DICOM SCP and sending a C-ECHO command.
Demo Name Source Code Path Description
DICOM Find \Examples\Dicom\DotNet\DicomFindCLIDemo\net Demonstrates DICOM C-FIND SCU capabilities by connecting to a DICOM SCP and sending a C-FIND command.
Demo Name Source Code Path Description
DICOM Import \Examples\Dicom\DotNet\DicomImportCLIDemo\net Demonstrates importing DICOM files into the example database. Use this demo to import DICOM files into the example database that is used by the DicomServer demo.
Demo Name Source Code Path Description
DICOM Server \Examples\Dicom\DotNet\DicomServerCLIDemo\net Demonstrates implementation of a DICOM storage server. Implements C-FIND, C-MOVE, C-STORE, C-ECHO. Allows client to connect, associate, query, and retrieve. Stores DICOM files in a local database. Import files directly into the database using the DicomImport example.
Demo Name Source Code Path Description
DICOM Tag \Examples\Dicom\DotNet\DicomTagCLIDemo\net Demonstrates basic DICOM Dataset toolkit capabilities.
Demo Name Source Code Path Description
DICOM Transfer Syntax \Examples\Dicom\DotNet\TransferSyntaxCLIDemo\net Demonstrates how to change the transfer syntax of a DICOM file using LEADTOOLS. For more information about "Transfer Syntax", please see Section 10 (PS 3.5 of the DICOM Standard).

.NET Framework

Redistributables Paths

Path Target Platform
\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
\Bin\DotNet4\x64 x64 .NET 4 or 4.5
Assembly - Class/Namespace Comments
PACS Configuration Demo
Leadtools.Dicom.Scu.dll - Leadtools.Dicom.Scu Provides classes and methods that implement DICOM Storage Service and DICOM Query/Retrieve Service.
Leadtools.Dicom.Server.Admin.dll - Leadtools.Dicom.Server.Admin Provides classes and methods that implement DICOM Server Administration.
Leadtools.Dicom.AddIn.dll - Leadtools.Dicom.AddIn Provides classes and methods that implement DICOM AddIns. Leadtools.AddIn.DicomLog -Implements the INotifyReceiveMessage & INotifySendMessages interfaces. This allows the add-in to log all incoming and outgoing DICOM Messages. The logging is handled by the Microsoft Enterprise Library logging. The add-in creates a Log directory in the DICOM server directory. All log information is written to an "output.log" file. If dataset saving is enabled they are written to Log\Datasets. The file name of the saved dataset is the SOP Instance UID. Leadtools.AddIn.Store - Implements the IProcessCStore interface. This add-in implements a StorageSCP. The following storage classes are supported: CT Image Storage NM Image Storage DX Image Storage MR Image Storage Hemodynamic Waveform Storage XA Image Storage CR Image Storage US Image Storage SC Image Storage US Multiframe Image Storage Video Endoscopic Image Storage Video Microscopic Image Storage XRay Radiofluoroscopic Image Storage Nuclear Medicine Image Storage (Retired) Ultrasound Image Storage (Retired) Ultrasound Multi-frame Image Storage (Retired) Standalone Overlay Storage (Retired) Standalone Curve Storage (Retired) Basic Study Descriptor (Retired) Standalone Modality LUT Storage (Retired) Standalone VOI LUT Storage (Retired) X-Ray Angiographic Image Storage X-Ray Angiographic Bi-Plane Image Storage (Retired) X-Ray RF Image Storage RT Image Storage RT Dose Storage RT Structure Set Storage RT Plan Storage Positron Emission Tomography Image Storage Standalone Positron Emission Tomography Curve Storage (Retired) Stored Print Storage (Retired) Hardcopy Grayscale Image Storage (Retired) Hardcopy Color Image Storage (Retired) Digital X-Ray Image Storage - For Presentation Digital X-Ray Image Storage - For Processing Digital Mammography X-Ray Image Storage - For Presentation Digital Mammography X-Ray Image Storage - For Processing Digital Intra-Oral X-Ray Image Storage - For Presentation Digital Intra-Oral X-Ray Image Storage - For Processing RT Beams Treatment Record Storage RT Brachy Treatment Record Storage RT Treatment Summary Record Storage VL Endoscopic Image Storage VL Microscopic Image Storage VL Slide-Coordinates Microscopic Image Storage VL Photographic Image Storage Basic Text SR Storage Enhanced SR Storage Comprehensive SR Storage Enhanced MR Image Storage MR Spectroscopy Storage RAW Data Storage Secondary Capture Multi-Frame Single Bit Image Storage Secondary Capture Multi-Frame Grayscale Byte Image Storage Secondary Capture Multi-Frame Grayscale Word Image Storage Secondary Capture Multi-Frame True Color Image Storage Key Object Selection Document Storage Mammography CAD SR Storage Chest CAD SR Storage Ophthalmic Photography 8 Bit Image Storage Ophthalmic Photography 16 Bit Image Storage Stereometric Relationship Storage Video Photographic Image Storage Pseudo-Color Softcopy Presentation State Storage Blending Softcopy Presentation State Storage Procedure Log Storage X-Ray Radiation Dose SR Storage Enhanced CT Image Storage Spatial Registration Storage Deformable Spatial Registration Storage Spatial Fiducials Storage Hanging Protocol Storage Encapsulated PDF Storage Encapsulated CDA Storage Real World Value Mapping Storage Enhanced X-Ray Angiographic Image Storage Enhanced X-Ray RF Image Storage RT Ion Plan Storage RT Ion Beams Treatment Record Storage Segmentation Storage Ophthalmic Tomography Image Storage X-Ray 3D Angiographic Image Storage X-Ray 3D Craniofacial Image Storage Enhanced PET Image Storage Lensometry Measurements Storage Autorefraction Measurements Storage Keratometry Measurements Storage Subjective Refraction Measurements Storage Visual Acuity Measurements Storage Spectacle Prescription Report Storage The following transfer syntaxes are supported: Implicit VR Little Endian JPEG 2000 JPEG Lossless Only JPEG Baseline 1 Explicit VR Big Endian Explicit VR Little Endian JPEG Lossless No Hierarchal 14 JPEG Lossless No Hierarchal 14B When the add-in loads it creates a new SQLCE 3.5 database (Dicom.sdf) in the server directory. In addition, it creates an Images directory in the server directory that will contain all the DICOM datasets received at the server. Leadtools.AddIn.Find - Implements the IProcessCFind interfaces. This add-in implements a DICOM Query service. This add-in supports the following service classes: Patient Root Query Find Study Root Query Find This add-in makes use of the same database that is created by the Store add-in. If the database does not exist when this add-in is called it will be created. Therefore, it does not matter if you attempt a find before doing a store. Leadtools.AddIn.Move - Implements the IProcessCMove interface. This add-in implements a DICOM Retrieve service. This add-in supports the following service classes: Patient Root Query Move Study Root Query Move This add-in makes use of the same database that is created by the Store add-in. If the database does not exist when this add-in is called it will be created. Leadtools.AddIn.MWLFind - Implements the IProcessCFind interface. This add-in supports the following service classes: Modality Worklist Find This add-in creates a SQLCE 3.5 Database(MWLSCP.sdf) in the server directory. In addition, this add-in creates an Option Dialog that allows you to edit the database from the Server Manager. Leadtools.AddIn.StorageCommit - Implements the IProcessNAction interface. This add-in supports the following service classes: Storage Commitment Push Model Class This add-in makes use of the SQLCE 3.5 Database created by the storage add-in. It expects the database to be already created. If the database is not available the Commitment request will generate a ResourceLimitation error. If the database is present the commitment request is processed in another thread and a response is immediately sent back to the client. Once the commit request is finalized a notification is sent on behalf of the add-in to the originating client.
Leadtools.Medical.Workstation.DataAccessLayer.dll - Leadtools.Medical.Workstation.DataAccessLayer Provides classes and methods that implement an interface to allow the data provider to access and update DICOM information.
Leadtools.Medical.Workstation.Client.dll - Leadtools.Medical.Workstation.Client Provides classes and methods that implement a medical workstation client that communicates with DICOM servers.
Leadtools.Medical.Workstation.Loader.dll - Leadtools.Medical.Workstation.Loader Provides classes and methods that loads medical viewer images, series, or studies and initializes a MedicalViewer control.

Dependencies

Library Description Dependencies
Leadtools.Dicom.dll Provides the main functionality for dealing with data sets. It includes methods for creating, initializing, loading and saving data sets. In addition, there are methods and properties that allow you to do the following: Maneuver through a data set. Search a data set. Insert or delete data set members. Retrieve or set data element values. Get or set information about the entire data set. Convert values. Insert and extract DICOM Annotations. Leadtools.dll
NuGet Package Description
Leadtools.Dicom.Pacs.Scu DICOM PACS Service Class User Library

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Annotations \Examples\Dicom\DotNet\DicomAnnDemo\fx \Bin\DotNet4\<Win32/x64>\DicomAnnDemo_Original.exe Demonstrates the DICOM Annotations Toolkit functionality. Add annotations to a DICOM image Save annotations into a DICOM dataset Load annotation from a DICOM dataset
Demo Name Source Code Path Pre-Compiled Executable Path Description
Dicom Anonymizer \Examples\Dicom\DotNet\DicomAnonymizerDemo\fx \Bin\DotNet4\<Win32/x64>\DicomAnonymizerDemo_Original.exe Demonstrates the DICOM Anonymizer functionality. Anonymize any DICOM Dataset Editor shows differences between original an anonymized values Can create, save, and load scripts to customized the anonymization process
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Client \Examples\Dicom\DotNet\DicomClientDemo\fx \Bin\DotNet4\<Win32/x64>\DicomClientDemo_Original.exe Demonstrates implementation of a DICOM client. Connect to a query an existing DICOM server (PACS) Implements DICOM C-STORE SCU Implements DICOM C-MOVE SCU Implements DICOM C-FIND SCU Implements DICOM C-ECHO SCU Demonstrates connect, associate, query, and retrieve
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Dataset \Examples\Dicom\DotNet\DicomDemo\fx \Bin\DotNet4\<Win32/x64>\DicomDemo_Original.exe Demonstrates basic DICOM Dataset toolkit capabilities. Create, Open, Save, Edit DICOM datasets Export/Import DICOM datasets as XML Perform image processing View and Edit DICOM Tables (VR, UID, Tag, IOD, Context Groups)
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Digital Signature \Examples\Dicom\DotNet\DicomDigitalSignatureDemo\fx \Bin\DotNet4\<Win32/x64>\DicomDigitalSignatureDemo_Original.exe Demonstrates basic DICOM digital signature capabilities. Generates digital signatures in the main data set Verifies all the digital signatures in the entire data set
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Directory \Examples\Dicom\DotNet\DicomDirectoryDemo\fx \Bin\DotNet4\<Win32/x64>\DicomDirectoryDemo_Original.exe Demonstrates DICOM directory capabilities. Creates a DICOM directory for all DICOM files in the source directory Displays the contents of the DICOM directory in a tree view Preview the pixel data for IMAGE elements in the selected DICOM file
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Directory LINQ \Examples\Dicom\DotNet\DicomDirLinqDemo\fx \Bin\DotNet4\<Win32/x64>\DicomDirLinqDemo_Original.exe Demonstrates using the LEADTOOLS DICOMDIR LINQ Provider to query a DICOM directory. Load a DICOM directory Displays the contents of the DICOM directory in a tree view Preview the pixel data for IMAGE elements in the selected DICOM file Perform Patient, Study, Image, Series queries
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Dataset Editor \Examples\Dicom\DotNet\DicomEditorDemo\fx \Bin\DotNet4\<Win32/x64>\DicomEditorDemo_Original.exe Provides a full featured DICOM dataset editor with pixel data image viewer. Loads, displays and edits DICOM elements Loads and display pixel data from DICOM dataset Add, delete, modify DICOM tags Save as new DICOM dataset
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM MWL SCP \Examples\Dicom\DotNet\DicomMwlScpDemo\fx \Bin\DotNet4\<Win32/x64>\DicomMwlScpDemo_Original.exe Demonstrates implementing a DICOM Modality Worklist SCP application to add, edit, and delete worklist entries.
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM MWL SCU \Examples\Dicom\DotNet\DicomMwlScuDemo\fx \Bin\DotNet4\<Win32/x64>\DicomMwlScuDemo_Original.exe Demonstrates creating a DICOM Modality Worklist SCU example that will query a MWL SCP for a worklist and copy data from the MWL response attributed to the requested IOD class.
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Overlay \Examples\Dicom\DotNet\DicomOverlayDemo\fx \Bin\DotNet4\<Win32/x64>\DicomOverlayDemo_Original.exe Demonstrates loading and displaying DICOM overlays. Loads and display pixel data from DICOM dataset Loads overlay data from DICOM dataset Toggle display of overlay data Insert overlay data Save as new DICOM dataset
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Server \Examples\Dicom\DotNet\DicomServerDemo\fx \Bin\DotNet4\<Win32/x64>\DicomServerDemo_Original.exe Demonstrates implementation of a DICOM storage server. Implements DICOM C-STORE SCP Implements DICOM C-MOVE SCP Implements DICOM C-FIND SCP Implements DICOM C-ECHO SCP Stores DICOM files in a local database Allows client AE's to connect, associate, query, and retrieve
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Storage SCU \Examples\Dicom\DotNet\DicomStoreDemo\fx \Bin\DotNet4\<Win32/x64>\DicomStoreDemo_Original.exe Demonstrates implementation of a DICOM storage client (SCU). Implements DICOM C-STORE SCU Stores DICOM files to a PACS (DICOM Storage Server)
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Transfer Syntax \Examples\Dicom\DotNet\DicomTranDemo\fx \Bin\DotNet4\<Win32/x64>\DicomTranDemo_Original.exe Demonstrates how to change the transfer syntax of a DICOM file using LEADTOOLS. For more information about "Transfer Syntax", please see Section 10 (PS 3.5 of the DICOM Standard).
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM Video Capture \Examples\Dicom\DotNet\DicomVideoCaptureDemo\fx \Bin\DotNet4\<Win32/x64>\DicomVideoCaptureDemo_Original.exe Demonstrates how to capture video and store it inside a DICOM file
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM WaveForms \Examples\Dicom\DotNet\DicomWaveFormsDemo\fx \Bin\DotNet4\<Win32/x64>\DicomWaveformsDemo_Original.exe Demonstrates how to use the waveform audio data to build a graph visualizing the audio waves and can also play back audio dictations within DICOM datasets.