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.
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:
-
Download MODALIZER-SDK latest release from https://downloads.hrzkit.com/MODALIZER-SDK/
-
Extract the zip MODALIZER-SDK archive to a folder next to the examples.
-
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
...
- 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).
To build the examples in this archive please do the following:
- 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
...
-
Extract the zip CsExampleData archive to the folder next to the examples (so subfolders of the zip merge with the projects folders)
-
Open the solution file CSharpRZDCXExamples.sln using Visual Studio (2019) and build it using the default configuration (Debug|Win32).
To run the examples in this archive please do the following:
-
Download MODALIZER-SDK latest release from https://downloads.hrzkit.com/MODALIZER-SDK/
-
Run "install.bat" as an administrator (right click "install.bat" and select "Run as aministrator")
-
Open the scripts using PowerShell ISE, change parameters according to your needs and run it.