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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, May 20, 2008 11:51:49 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 766


Since a Dicom Directory doesn't actually store the images in it (just a thumbnail if desired), you must parse the information in the Dicom Directory and load the actual files that the DICOMDIR points to.  Each file should have an IMAGE key, and each IMAGE key will have a Referenced File ID (0004:1500) tag which tells you where to find the actual file relative to the location of the DICOMDIR.

Attached is a C# .NET example that shows how to parse the DICOMDIR and then load each referenced file into a new cell.  This example also comes with a valid Dicom Directory created from Image1.dic, Image2.dic, and Image3.dic which ship with the SDK.
File Attachment(s):
NET - v15 - MedicalViewer Load DicomDir.zip (1,200kb) downloaded 258 time(s).
 

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.

#2 Posted : Monday, October 9, 2017 1:49:14 PM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 27 time(s) in 27 post(s)

Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract folder to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.

Sample DICOMDIR included, copy/move sub-folder "CS_ParseDICOMDIR_input" to the "LEADTOOLS Images" folder ("C:\Users\Public\Documents\LEADTOOLS Images\") before running.
File Attachment(s):
CS_ParseDICOMDIR.zip (1,207kb) downloaded 244 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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-2019, Yet Another Forum.NET
This page was generated in 0.102 seconds.