Search found 9 matches

by karun
Wed, 2014-06-18, 07:29
Forum: DCMTK - General
Topic: window width and window centre conversion
Replies: 0
Views: 6489

window width and window centre conversion

Hi, I have a dicom image with signed pixel data. I had applied some windowing in that image and saved in the dicom file. currently i am having a requirement to convert signed pixel data to unsigned pixel data. When i convert the image i have to maintain the windowing also. After converting the image...
by karun
Thu, 2014-04-03, 09:57
Forum: DCMTK - General
Topic: DIMSE_sendMessageUsingMemoryData error
Replies: 1
Views: 1854

DIMSE_sendMessageUsingMemoryData error

Hi ,

I'm trying to send some DICOM images using DIMSE_sendMessageUsingMemoryData its succes for all the single frame images and some multiframe images ( Modality : RF) but its failing for some multi frame images (Modality : US & XA ) .

why is it behaving like that ??

Thanks in advance
Karun
by karun
Thu, 2014-04-03, 09:50
Forum: DCMTK - General
Topic: codec registration
Replies: 2
Views: 2230

Re: codec registration

Hi Riesmeier ,

Okkay i got it . :wink: we have to specify the transfer syntax and Representation Parameter through chooseRepresentation() , where internal data set maintained by DCMTK contains a collection of it .
right ???
by karun
Mon, 2014-03-31, 10:01
Forum: DCMTK - General
Topic: codec registration
Replies: 2
Views: 2230

codec registration

Hi ,

whats happening when we register a compression or decompression codec ??

for example

DJEncoderRegistration::registerCodecs(); // register JPEG codecs
by karun
Tue, 2014-03-25, 07:08
Forum: DCMTK - General
Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
Replies: 9
Views: 8057

Re: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM

Hi Riesmeier , sorry , im now posting the self running code with minimum LOC . int main() { char uid[100]; DcmFileFormat fileformat; CString csFileName("E:\\input\\test.dcm"); //input is a single frame image OFCondition cond = fileformat.loadFile( csFileName.operator LPCTSTR()); DcmDataset *dataset ...
by karun
Mon, 2014-03-24, 05:43
Forum: DCMTK - General
Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
Replies: 9
Views: 8057

Re: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM

Hi Riesmeier , I had used visual studio for debugging the above code . All the conditions were returning OF_OK , except for the code cond=dataset->insert(pixeldata,OFFalse,OFFalse); Its returning OF_ERROR and the text output is "doubled tag " . The actual image is not replaced when i use OFFalse , S...
by karun
Tue, 2014-03-18, 11:14
Forum: DCMTK - General
Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
Replies: 9
Views: 8057

Re: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM

hi Riesmeier , i had tried putOriginalRepresentation() in the below code .also refered the source code of dump2dcm /** Step 1: INITIALIZATION PART ****/ char uid[100]; DcmFileFormat fileformat; OFCondition cond = fileformat.loadFile( csFileName.operator LPCTSTR()); DcmDataset *dataset = fileformat....
by karun
Mon, 2014-03-17, 12:30
Forum: DCMTK - General
Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
Replies: 9
Views: 8057

Re: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM

Thanku for the reply , yes the element tag has value before adding the extra frame , after inserting an extra frame . the value is changed to undefined .

my image use lossy image compression , whats the change i have to make in the above code .
by karun
Mon, 2014-03-17, 10:04
Forum: DCMTK - General
Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
Replies: 9
Views: 8057

HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM

Hi , I am new to dicom . looking for a way to insert additional frames into an existing multiframe . code i have done is /* step 1: load dicom image and get data set from dicom image*/ /* step 2: modifiy frame count to required count */ dataset->putAndInsertString(DCM_NumberOfFrames, framecount+1); ...