DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2018-02-21, 16:05

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri, 2007-01-12, 15:09 
Offline

Joined: Tue, 2006-11-07, 08:36
Posts: 1
I am able to successfully print the dicom image to the Print SCP. Now I would like to print the details such as Patient Name, Age, DOB, some MR Sequence details on the film. How do I do that using the given dcmtk tools?


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2007-01-15, 11:10 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2217
Location: Oldenburg, Germany
You could either use the Basic Annotation Box SOP Class or render the textual information into the print bitmap before sending it to the server. However, support for annotation boxes is both quite limited and not very standardized. That means even if SCU and SCP support this optional SOP class, neither position nor visual appearance (font size, number of visible characters, etc.) of the textual annotations is standardized. You have to check the conformance statement of the particular application for details.

See also this posting.


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2007-01-22, 14:38 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1213
Location: Oldenburg, Germany
Most current DICOM modalities and workstations do not use the Basic Annotation Box SOP Class when printing images with overlays such as Patient's Name, Birthdate etc. Usually these are "burned" (rendered) into the bitmap before this bitmap is transmitted to the printer. This is the only reliable way that works with all printers, the only limitation being that low-res images might need to be upsampled before printing in order to provide sufficient resolution for the rendering of text as part of the bitmap. DCMTK (and DCMPRINT) provide no specific methods for such font rendering - you should use the routines of the underlying operating system or graphics library you are using. GUI toolkits usually provide appropriate functionality for this purpose, and it would be really useful to mimick the functionality of a GUI toolkit as part of DCMTK.


Top
 Profile  
 
 Post subject:
PostPosted: Wed, 2007-12-19, 15:07 
Offline

Joined: Wed, 2007-12-19, 14:44
Posts: 1
But I am worried with this sop class as this is a optional sop class which print SCP may not support then it is on to SCU to burn this information on the image itself. How do I exactly do that.


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2007-12-21, 09:36 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1213
Location: Oldenburg, Germany
Quote:
it is on to SCU to burn this information on the image itself. How do I exactly do that.
That very much depends on your application (and development environment). Essentially this is the same task as displaying patient's name, birthdate etc. in the corner of the image boxes (canvases) where you display the images on screen, the only difference being that for DICOM Print you want to do this with 12 bits/pixel (monochrome) instead of the typical 8 bits/pixel for the display application. Your favourite GUI toolkit may or may not appropriate routines for that. DCMTK/DCMPRINT will not help you here - it only provides the functionality for sending that bitmap to the printer once you have created it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group