ntini wrote:
> hi i am new to fltk. m doing project on dicom viewer. i dont no to display 
> dicom image. can any one tel how to read and display dicom image

Please don't double post your question, I saw the same post in fltk.opengl.

You need to find out how to read the image yourself. FLTK doesn't 
support dicom images.

When you know how to read the image (file), you need to convert the 
image data to an array of pixel information (R/G/B) or probably gray 
scale only.

Then you can load your pixel data in one of FLTK's image widgets, e.g. 
Fl_RGB_Image, Fl_Bitmap, or something like this.

If you have questions how to do that, please ask again and tell us which 
FLTK version (and system platform) you're using.

For FLTK 1.1 you can start looking at the docs here:

http://www.fltk.org/doc-1.1/Fl_Image.html

and/or here:

http://www.fltk.org/doc-1.1/Fl_Bitmap.html

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to