I will try it.Thank you for your replying.For a question, if setMinMaxWindow() contains the interpolation algorithm?Jörg Riesmeier wrote:What about specifying an appropriate VOI window, e.g. using setMinMaxWindow().
Search found 13 matches
- Tue, 2010-07-13, 05:46
- Forum: DCMTK - General
- Topic: How to improve the effect to display the dicom image
- Replies: 5
- Views: 5737
- Tue, 2010-07-13, 05:41
- Forum: DCMTK - General
- Topic: How to improve the effect to display the dicom image
- Replies: 5
- Views: 5737
- Mon, 2010-07-12, 13:09
- Forum: DCMTK - General
- Topic: How to improve the effect to display the dicom image
- Replies: 5
- Views: 5737
How to improve the effect to display the dicom image
I use the following method to display the dicom file.But the image isn't displayed very well. DicomImage *image = new DicomImage(dataset, EXS_Unknown); if (image->getStatus() == EIS_Normal) { if (image->isMonochrome()) { nbits = image->createWindowsDIB(pDicomDibits, 0, 0, 8, 1, 1); } //save the info...
- Thu, 2010-06-10, 14:04
- Forum: DCMTK - General
- Topic: Get the values of window center/width
- Replies: 2
- Views: 3088
- Thu, 2010-06-10, 10:01
- Forum: DCMTK - General
- Topic: The idea about converting image data
- Replies: 5
- Views: 4942
- Thu, 2010-06-10, 09:29
- Forum: DCMTK - General
- Topic: The idea about converting image data
- Replies: 5
- Views: 4942
- Thu, 2010-06-10, 09:22
- Forum: DCMTK - General
- Topic: Get the values of window center/width
- Replies: 2
- Views: 3088
Get the values of window center/width
I use the dcmdump command to get the window center/width values that I get the actual value is (center=2048,width=4096). But I use DicomImage::getWindow() to get the values of window center/width which are different from dcmdump. The values are (center= -9.25596e+061,width= -9.25596e+061). Which is ...
- Thu, 2010-06-10, 08:14
- Forum: DCMTK - General
- Topic: The idea about converting image data
- Replies: 5
- Views: 4942
The idea about converting image data
First, I describe my idea about converting the raw pixel data to the data which can be displayed in windows. Can you help me to check it?Thank you very much. 1. get the raw pixel data from a *.dcm file Uint16 *pixelData=new Uint16[pixelNum]; dataset->findAndGetUint16Array(DCM_PixelData,pixelData); n...
- Sat, 2010-05-22, 17:10
- Forum: DCMTK - General
- Topic: How to get the image pixel data?
- Replies: 6
- Views: 8178
- Fri, 2010-05-21, 11:56
- Forum: DCMTK - General
- Topic: How to get the image pixel data?
- Replies: 6
- Views: 8178
- Fri, 2010-05-21, 06:52
- Forum: DCMTK - General
- Topic: How to get the image pixel data?
- Replies: 6
- Views: 8178
- Tue, 2010-05-18, 00:46
- Forum: DCMTK - General
- Topic: How to get the image pixel data?
- Replies: 6
- Views: 8178
How to get the image pixel data?
I want to get the detailed pixel datas of image which has been loaded by DcmFileFormat::loadFile(). Because I want to transfer the pixel datas to Bitmap form. I tried to get them with DicomImage::getOutputData(). But the result is not I expected. void main(void) { int Row; int Column; DcmFileFormat ...
- Thu, 2010-05-13, 00:02
- Forum: DCMTK - General
- Topic: How to display the dcm image use dcmtk and CxImage?
- Replies: 1
- Views: 4067
How to display the dcm image use dcmtk and CxImage?
I want to encode the function which dcm image can be displayed in the picture control by vc++6.0. How can I get the image pixel data buffer, then I can transfer them to bitmap pixel data? I can't understand the DicomImage::getOutputDataSize(). Can I use this function to get what I need buffer data?