Search found 6 matches
- Tue, 2006-10-24, 09:53
- Forum: DCMTK - General
- Topic: A question about createWindowsDIB and BITMAPINFO
- Replies: 3
- Views: 4434
- Tue, 2006-10-24, 05:23
- Forum: DCMTK - General
- Topic: Display a DICOM image
- Replies: 2
- Views: 4548
- Tue, 2006-10-24, 04:23
- Forum: DCMTK - General
- Topic: A question about createWindowsDIB and BITMAPINFO
- Replies: 3
- Views: 4434
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.
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.
- 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.
- Sat, 2006-09-16, 14:40
- Forum: DCMTK - General
- Topic: a strange question on the use of getWindow()??
- Replies: 3
- Views: 5008
thank you for your answer.there are another question?
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.
- Sat, 2006-09-16, 09:19
- Forum: DCMTK - General
- Topic: a strange question on the use of getWindow()??
- Replies: 3
- Views: 5008
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_...