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 : Saturday, August 19, 2006 9:14:35 AM(UTC)

xtzzym  
xtzzym

Groups: Registered
Posts: 3


Dear sir?

I am trying Leadtools 14  in delphi.   There is only dicom image,    There are no any data elements such as patient datas or data elements from CT on the images. I tried a lot. but failed. How to display the data on a dicom image?

  Your help will be appreciated very much.

Thanks.             

  Gade

 

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 : Friday, August 25, 2006 12:26:10 PM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

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

You would need to draw the data onto the image if you want it to
appear.  I would suggest using our function DrawTextStr to draw
the text on to the image.  However there is a trick to drawing
text on a 16 bpp image.  Windows does not support creating a
device context for a 16 bit per pixel image.  So you have to draw
on an 8 bpp grayscale image, convert that image to 16 bpp, create a
region based on the font color, then combine the region onto the 16 bpp image you want the text to appear. 

I have provided an example showing how to do this in Delphi.
File Attachment(s):
VCL - V14 - DrawText on 16bpp.zip (603kb) downloaded 29 time(s).
Travis Montgomery
Senior Sales Engineer
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-2020, Yet Another Forum.NET
This page was generated in 0.057 seconds.