Search found 9 matches
- Wed, 2014-06-18, 07:29
- Forum: DCMTK - General
- Topic: window width and window centre conversion
- Replies: 0
- Views: 16777
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...
- Thu, 2014-04-03, 09:57
- Forum: DCMTK - General
- Topic: DIMSE_sendMessageUsingMemoryData error
- Replies: 1
- Views: 2672
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
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
- Thu, 2014-04-03, 09:50
- Forum: DCMTK - General
- Topic: codec registration
- Replies: 2
- Views: 3214
Re: codec registration
Hi Riesmeier ,
Okkay i got it . 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 ???
Okkay i got it . 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 ???
- Mon, 2014-03-31, 10:01
- Forum: DCMTK - General
- Topic: codec registration
- Replies: 2
- Views: 3214
codec registration
Hi ,
whats happening when we register a compression or decompression codec ??
for example
whats happening when we register a compression or decompression codec ??
for example
DJEncoderRegistration::registerCodecs(); // register JPEG codecs
- Tue, 2014-03-25, 07:08
- Forum: DCMTK - General
- Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
- Replies: 9
- Views: 10931
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...
- Mon, 2014-03-24, 05:43
- Forum: DCMTK - General
- Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
- Replies: 9
- Views: 10931
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 O...
- Tue, 2014-03-18, 11:14
- Forum: DCMTK - General
- Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
- Replies: 9
- Views: 10931
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....
- Mon, 2014-03-17, 12:30
- Forum: DCMTK - General
- Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
- Replies: 9
- Views: 10931
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 .
my image use lossy image compression , whats the change i have to make in the above code .
- Mon, 2014-03-17, 10:04
- Forum: DCMTK - General
- Topic: HOW TO ADD ADDITIONAL FRAMES TO A MULTI FRAME DICOM
- Replies: 9
- Views: 10931
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); ...