Re: How to display 16bit dicom image
- From: "Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 May 2006 14:37:01 +0200
Unfortunately the 16 bit image formats in GDI+ are all broken.
You will have to open the image, read it byte for byte and then write it to
a newly created image, perhaps a GIF in your case.
See the GDI+ FAQ for info on the LockBits method which will be essential and
the GIF palette article which will enable you to create a custom monochrome
palette.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Neeraj" <kneeraj01@xxxxxxxxx> wrote in message
news:1147933561.193601.46870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi
I am working on dicom viewer. 8 bit raw dicom image working
properly.But 16 bit Dicom image is not showing.What Should i have to
do.You have any idea about That to convert it in 8bit .
regards
Neeraj
.
- References:
- How to display 16bit dicom image
- From: Neeraj
- How to display 16bit dicom image
- Prev by Date: Re: How can i acquire information about the hardware firewall
- Next by Date: Re: How to display 16bit dicom image
- Previous by thread: How to display 16bit dicom image
- Next by thread: Re: How to display 16bit dicom image
- Index(es):
Relevant Pages
|