Search found 13 matches

by kudincha
Tue, 2010-07-13, 05:46
Forum: DCMTK - General
Topic: How to improve the effect to display the dicom image
Replies: 5
Views: 5737

Jörg Riesmeier wrote:What about specifying an appropriate VOI window, e.g. using setMinMaxWindow().
I will try it.Thank you for your replying.For a question, if setMinMaxWindow() contains the interpolation algorithm?
by kudincha
Tue, 2010-07-13, 05:41
Forum: DCMTK - General
Topic: How to improve the effect to display the dicom image
Replies: 5
Views: 5737

Michael Onken wrote:Hi,

What is wrong with the display, are the grayscales not ok?

Michael
The display can work, the grayscales are ok.But the display method leaded to a loss of image quality.
So I think if there is a better method to use with the dcmtk to improve the image quality.
by kudincha
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...
by kudincha
Thu, 2010-06-10, 14:04
Forum: DCMTK - General
Topic: Get the values of window center/width
Replies: 2
Views: 3088

Thank you for replying
I think that is my careless. Now I know DicomImage::getWindow() returns the value which was about the specified window, not the value which was pixel value about image.
by kudincha
Thu, 2010-06-10, 10:01
Forum: DCMTK - General
Topic: The idea about converting image data
Replies: 5
Views: 4942

Can you tell me the according functions in DicomImage to achieve the requirements about 2 and 3 ? Simultaneously, I want to know if the DicomImage class handle the conversion with the same idea of 2 and 3.
by kudincha
Thu, 2010-06-10, 09:29
Forum: DCMTK - General
Topic: The idea about converting image data
Replies: 5
Views: 4942

why don't you just use the functionality provided by the DicomImage class (module dcmimgle/dcmimage)?
Is that your mean that the DicomImage class can achieve the functionality of 2 and 3 ?
by kudincha
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 ...
by kudincha
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...
by kudincha
Sat, 2010-05-22, 17:10
Forum: DCMTK - General
Topic: How to get the image pixel data?
Replies: 6
Views: 8178

Can you tell me how to get the raw pixel data?
by kudincha
Fri, 2010-05-21, 11:56
Forum: DCMTK - General
Topic: How to get the image pixel data?
Replies: 6
Views: 8178

getOutputData() returns the result of the rendering pipeline
But I get the null values.
What is the pipeline? And if I want to get the raw pixel data stored in the DICOM image.Which class I should use?
by kudincha
Fri, 2010-05-21, 06:52
Forum: DCMTK - General
Topic: How to get the image pixel data?
Replies: 6
Views: 8178

Are you sure that the input image is always stored with 8 bits per pixel? Yes,I am sure.It is stored with 8 bits per pixel.But I can't get the exactly pixel data. for (Uint32 i=0;i<PixelNum;i++) cout<<"The data at position i"<<"= is"<<*pixelData[i]<<endl; The compiler result is ...
by kudincha
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 ...
by kudincha
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?