Skip to content

hrzil/DICOM-Code-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DICOM Networking and Data Handling Examples

Disclaimer: This repository contains useful DICOM code examples using MODALIZER-SDK by H.R.Z. There are C++, C# and PowerShell examples.

Note that the examples in this repo comes with an MIT license but MODALIZER-SDK itself is a proprietary comercial software and not included in this repository.

These examples are useful because the SDK allows 100 API calls before enforcing the license restrictions so you will be able to build and run the examples.

For more information of check the complete MODALIZER-SDK DICOM Library reference manual.

C++ DICOM Examples build instructions

All MODALIZER-SDK C++ examples imports the TLB file that is embeded in rzdcx.dll and assume that it is located in a folder parallel to the examples folder. You can see this line in all examples:

#import "../../MODALIZER-SDK/win32/rzdcx.dll" rename_namespace ("rzdcxLib")

To build the examples in this archive please do the following:

  1. Download MODALIZER-SDK latest release from https://downloads.hrzkit.com/MODALIZER-SDK/

  2. Extract the zip MODALIZER-SDK archive to a folder next to the examples.

  3. Run "install.bat" as an administrator (right click "install.bat" and select "Run as aministrator")

You should have the following directory structure:

<...>\MODALIZER-SDK

<...>\MODALIZER-SDK\win32

...

<...>\ExportCPP\CPPRZDCXExamples.sln

<...>\ExportCPP\CPPCreateDICOMDIR

<...>\ExportCPP\CPPCreateImageExample

...

  1. Extract the zip CppExampleData archive to the folder next to the examples (so subfolders of the zip merge with the projects folders)

4.Open the solution file CPPRZDCXExamples.sln using Visual Studio (2019) and build it using the default configuration (Debug|Win32).

C# DICOM Examples build instructions

To build the examples in this archive please do the following:

  1. Download MODALIZER-SDK latest release from https://downloads.hrzkit.com/MODALIZER-SDK/

2.Run "install.bat" as an administrator (right click "install.bat" and select "Run as aministrator").

You should have the following directory structure:

<...>\MODALIZER-SDK

<...>\MODALIZER-SDK\win32

...

<...>\ExportCPP\CPPRZDCXExamples.sln

<...>\ExportCPP\CPPCreateDICOMDIR

<...>\ExportCPP\CPPCreateImageExample

...

  1. Extract the zip CsExampleData archive to the folder next to the examples (so subfolders of the zip merge with the projects folders)

  2. Open the solution file CSharpRZDCXExamples.sln using Visual Studio (2019) and build it using the default configuration (Debug|Win32).

MODALIZER SDK PowerShell Examples

To run the examples in this archive please do the following:

  1. Download MODALIZER-SDK latest release from https://downloads.hrzkit.com/MODALIZER-SDK/

  2. Run "install.bat" as an administrator (right click "install.bat" and select "Run as aministrator")

  3. Open the scripts using PowerShell ISE, change parameters according to your needs and run it.

About

Practical DICOM code examples for reading, writing, querying, and manipulating DICOM data in medical imaging workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •