LEADTOOLS Support
General
General Questions
How to display the data on a dicom image?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Saturday, August 19, 2006 9:14:35 AM(UTC)
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
#2
Posted
:
Friday, August 25, 2006 12:26:10 PM(UTC)
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.
Travis Montgomery
Senior Sales Engineer
LEADTOOLS Support
General
General Questions
How to display the data on a dicom image?
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.