Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Friday, May 19, 2017 3:35:15 PM(UTC)


Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

A demo that allows this conversion is included with the installation of the SDK and can be found in this installation location: C:\LEADTOOLS23\Examples\Multimedia\DirectShow\DotNet\ConvertDemo

This is a C# console application build with LEADTOOLS 19 in Visual Studio 2017 that illustrates how to configure the LEADTOOLS DICOM Writer filter to create a dataset with H.264 in MPEG-2 Transport. This example encodes HD video (through resizing one of the sample LEADTOOLS media files) to create an MPEG-4 AVC/H.264 BD-compatible DICOM file. The frame rate is also set with the encoder to be 29.970 fps.

The project uses a template video photography DICOM file as it's starting point. Other templates can be used such as endoscopy, but it may require other tags in the DICOM dataset.

After the video is generated, the DICOM file is updated using extension methods to set the patient information.

The code also updates the SOP instance, series instance and study instance UIDs so the generated file will be unique each time.

Note: The code is designed to be extracted and run from the following directory:
C:\LEADTOOLS 19\Examples\posts\t12193

It can be run from other locations, but some code may need to change. Specifically, you will need to update the DICOM template file path.

Also, if you have the LEADTOOLS Medical Imaging SDK and LEADTOOLS Multimedia SDK installed separately, the references may need to be updated.

File Attachment(s):

Edited by moderator Wednesday, December 27, 2023 4:07:00 PM(UTC)  | Reason: Not specified

Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.115 seconds.