Search found 6 matches

by Wenhui Wang
Tue, 2006-10-24, 09:53
Forum: DCMTK - General
Topic: A question about createWindowsDIB and BITMAPINFO
Replies: 3
Views: 4424

thank you answer very much.would you like take an example of display ing a dicom image. :oops: :oops:
by Wenhui Wang
Tue, 2006-10-24, 05:23
Forum: DCMTK - General
Topic: Display a DICOM image
Replies: 2
Views: 4444

Convert to bmp and then display the bmp,it can do.but it is slow,there must be some easy way.you may try CreateWindowDIB
by Wenhui Wang
Tue, 2006-10-24, 04:23
Forum: DCMTK - General
Topic: A question about createWindowsDIB and BITMAPINFO
Replies: 3
Views: 4424

A question about createWindowsDIB and BITMAPINFO

my code :
unsingned bufsize =0;
void * buffer;
bufsize=image->createWindowsDIB(buffer,bufsize,1,8,1)
BITMAPINFO* pDIBInfo = (BITMAPINFO*)buffer;

but the content of pDIBInfo->bmiHeader->biSize ect. are zeros,so i can't display a dicom image. :( :( :evil: :evil:
by Wenhui Wang
Mon, 2006-09-18, 05:43
Forum: DCMTK - General
Topic: How to get the winCenter and winWidth in a dicom meta file?
Replies: 1
Views: 2709

How to get the winCenter and winWidth in a dicom meta file?

:? :? :? :?: :?: :?:
How to get the winCenter and winWidth in a dicom image's meta file by DCMTK. In Matlab,i can get it by using of the command "dicominfo".
thank you.
by Wenhui Wang
Sat, 2006-09-16, 14:40
Forum: DCMTK - General
Topic: a strange question on the use of getWindow()??
Replies: 3
Views: 5006

thank you for your answer.there are another question?

:D :?: :?: :?: :?:
How to get the winCenter and winWidth in a dicom image's initial file information. In Matlab,i can get it by using of the command "dicominfo".
thank you. :D :D
by Wenhui Wang
Sat, 2006-09-16, 09:19
Forum: DCMTK - General
Topic: a strange question on the use of getWindow()??
Replies: 3
Views: 5006

a strange question on the use of getWindow()??

when I use the function "getWindow" to get the winCenter and winWidth, the return value is 0. please tell me why? the source code is: :?: :?: :?: :?: :roll: :roll: :roll: DicomImage *image = new DicomImage("d:\\image\\IM4.dcm"); if (image != NULL) { if (image->getStatus() == EIS_...