Search found 111 matches

by alwittta
Thu, 2007-09-20, 07:28
Forum: DCMTK - General
Topic: JPEG2000LosslessOnly support
Replies: 3
Views: 9418

Dear Michael, Thanks for the reply. The place I am working is not wish to rise the amount for purchasing the product, since this is a charitable organization. Cloud you please tell me, how difficult is this to do by myself? How can I extract the pixel data of the JPEG2000 images using DCMTK's existi...
by alwittta
Wed, 2007-09-19, 15:16
Forum: DCMTK - General
Topic: JPEG2000LosslessOnly support
Replies: 3
Views: 9418

JPEG2000LosslessOnly support

Dear friends, Could anyone please tell me, how can I convert a JPEG2000LosslessOnly DICOM image using DCMTK? When I used dcm2pnm application, I got the following error message. D:\CT3S1>dcm2pnm.exe -v -d 3E36692D 1.bmp reading DICOM file: 3E36692D preparing pixel data. ERROR: cannot change to unenca...
by alwittta
Thu, 2007-09-06, 18:02
Forum: DCMTK - General
Topic: RANGELINE graphics support in Presentaion state file
Replies: 2
Views: 3735

Thank you Jörg for the reply. What I want is a single graphics object which store a line and a text annotation indicating the measured length. IS there any existing class in DCMTK which will do this work? Or is there any way can I identify that the Graphics object is not only a line but also it cont...
by alwittta
Thu, 2007-09-06, 14:07
Forum: DCMTK - General
Topic: RANGELINE graphics support in Presentaion state file
Replies: 2
Views: 3735

RANGELINE graphics support in Presentaion state file

Dear friends IS DCMTK supports presentation state file with graphics object type RANGELINE ? What I want is a single graphics object which store a line and a text annotation indicating the measured length. Can I achieve this by any of the existing graphics objects in DCMTK? I could able to figure ou...
by alwittta
Fri, 2007-08-31, 08:31
Forum: DCMTK - General
Topic: Color Softcopy Presentation State
Replies: 3
Views: 4785

Dear Marco,

Thanks for the reply.
Can we expect this feature on the next release?

Thanks and Regards
Alvin
by alwittta
Wed, 2007-08-29, 09:24
Forum: DCMTK - General
Topic: Color Softcopy Presentation State
Replies: 3
Views: 4785

Color Softcopy Presentation State

Dear friends, I would like to know how DCMTK supports the Color presentation state(Supplement 100: Color Softcopy Presentation State Storage SOP Classes)? Can I use the dcmpsmk sample application to generate a presentation File for color images? Is the output file is correct as per the Nema Standard...
by alwittta
Mon, 2007-08-20, 12:25
Forum: DCMTK - General
Topic: Multiframe DICOM File Save problem
Replies: 12
Views: 18456

Dear Marco Thank you very much for the reply. new DcmPixelData(DcmTag(DCM_PixelData, EVR_UL)) I changed this to DcmPixelData *newPixelData = new DcmPixelData(DCM_PixelData); The insert method should never be explicitly called for class DcmPixelData. And I removed the code dataset->insert(newPixelDat...
by alwittta
Sat, 2007-08-18, 13:06
Forum: DCMTK - General
Topic: Multiframe DICOM File Save problem
Replies: 12
Views: 18456

Dear friends, When I try to create a multiframe DICOM image using DcmPixelData class , I got an empty file. I am having an Uncompressed RGB Multiframe image: Following is my code: DcmFileFormat fileformat; DcmDataset *dataset = fileformat.getDataset(); dataset->putAndInsertString(DCM_SOPClassUID, UI...
by alwittta
Thu, 2007-08-16, 12:22
Forum: DCMTK - General
Topic: Using DICOM data for VTK contour render
Replies: 4
Views: 11461

Dear JackR,

This is really an interesting thread.
Could you please mention here, how are you generating HUData array from DCMTK?
Is it an 8 bit array or a 16 bit array?

Thanks and Regards
Alvin
by alwittta
Thu, 2007-07-26, 06:07
Forum: DCMTK - General
Topic: getInterData Usage
Replies: 5
Views: 5648

Thank you Jörg for the response.
I added getRepresentation function in my code and it worked perfectly fine.

I thank all the DCMTK staff for producing such a wonderful tool.
by alwittta
Wed, 2007-07-25, 10:14
Forum: DCMTK - General
Topic: getInterData Usage
Replies: 5
Views: 5648

Dear friends

I identified the problem.
As Normand said like the problem is with looking at the wrong pixel data.
Thank you, Normand for point me in the right direction.

We can close this thread.

Thanks and Regards
Alvin
by alwittta
Wed, 2007-07-25, 06:37
Forum: DCMTK - General
Topic: getInterData Usage
Replies: 5
Views: 5648

Thank you Normand for the reply. You are right, pixel data is not 8 bit, but it is 16 bit So I changed the code as follows. But then also the value I am getting is not correct. Could you please specify how can I make correct displacement of the pixel? float calculateHUvalue(CPoint ptImage) { int iPo...
by alwittta
Tue, 2007-07-24, 15:45
Forum: DCMTK - General
Topic: getInterData Usage
Replies: 5
Views: 5648

getInterData Usage

Dear friends, I am trying to findout the Haunsfield Unit data value of particular point of a dicom image using DCMTK. I used getInterdata of DiPixel class to retrieve the pixel data. But the result I am getting is not correct when I compared with other DicomViewers. From Faq #24 I understand that ge...
by alwittta
Tue, 2007-06-26, 16:35
Forum: DCMTK - General
Topic: Multiframe DICOM File Save problem
Replies: 12
Views: 18456

Dear Marco, Thank you very much for the answer. From your answer I am started coding as following. Please correct me if i am on the wrong direction Create DcmPixelData object Create a DcmPixelSequence from DcmPixelData while (no of frames) { create DcmPixelItem object and insert it to Sequnce object...
by alwittta
Fri, 2007-06-22, 15:24
Forum: DCMTK - General
Topic: Multiframe DICOM File Save problem
Replies: 12
Views: 18456

Dear Marco,

Thanks for the reply.
The putAndInsert-methods are not the right way to create pixel data in DCMTK.
...
Use class DcmPixelData to do this correctly
But putAndInsertUint8Array function initernally calling the DcmPixelData class, am I right?

Thanks and Regards
Alvin