Search found 10 matches

by kjeras
Tue, 2013-04-23, 13:49
Forum: DCMTK - General
Topic: compress/decompress
Replies: 3
Views: 5876

Re: compress/decompress

Hello, I am reading lots of old posts about image compression and stumbled upon this one. Is the info in the link (documentation) still valid? I'm thinking of this piece: . . . // since the UIDs in the data set may have changed delete metaInfo->remove(DCM_MediaStorageSOPClassUID); delete metaInfo->r...
by kjeras
Tue, 2013-04-23, 13:16
Forum: DCMTK - General
Topic: Speed up dicom transfer using image compression?
Replies: 1
Views: 3420

Speed up dicom transfer using image compression?

Hello again! Now I have some thoughts/questions about compression as a means of speeding up image transfer. We need to issue 448 C-STORE requests with CT IOD images (448 cols X 448 rows X 16 bits) to a dicom server over a 100 MBit/s LAN. It takes 17 s in practice for this transfer to complete, i.e. ...
by kjeras
Tue, 2013-04-23, 11:19
Forum: DCMTK - General
Topic: Writing compressed dicom image fails
Replies: 5
Views: 5352

Re: Writing compressed dicom image fails

I'll try to read the documentation better next time :oops:
I guess we could easily add another constructor that takes a reference to the dataset as input and avoids the copying.
Thus saving some time.
by kjeras
Tue, 2013-04-23, 07:18
Forum: DCMTK - General
Topic: Writing compressed dicom image fails
Replies: 5
Views: 5352

Re: Writing compressed dicom image fails

Now it works! The first problem was that our application saved pixel data as an DcmOtherByteOtherWord object. This have worked fine for a long time, but was no good for storing compressed data. When I switched to DcmPixelData object (also for non compressed data) it worked better. Problem nr two was...
by kjeras
Tue, 2013-04-16, 15:54
Forum: DCMTK - General
Topic: Writing compressed dicom image fails
Replies: 5
Views: 5352

Writing compressed dicom image fails

Hello, We have a piece of code based on dcmtk that creates a dicom file using EXS_LittleEndianExplicit transfer syntax. This works fine. Now I am trying to add storage of compressed transfer syntax. I have registered a number of codecs. Problem is in DcmDataset::chooseRepresentation() After the sear...
by kjeras
Wed, 2012-12-19, 15:01
Forum: DCMTK - General
Topic: DcmSCU::sendSTORERequest fails
Replies: 2
Views: 3905

Re: DcmSCU::sendSTORERequest fails

Thank you, this fixed the problem.
I downloaded scu.h and scu.cc via the git link and rebuilt dcmtk-3.6.0 with them.
Then both 1) and 2) calls of sendSTORERequest works.
by kjeras
Tue, 2012-12-18, 16:11
Forum: DCMTK - General
Topic: DcmSCU::sendSTORERequest fails
Replies: 2
Views: 3905

DcmSCU::sendSTORERequest fails

Hello, We have a problem when calling DcmSCU::sendSTORERequest without dicomFile but with DcmDataset. Our application is built on DCMTK 3.6.0 and it tries to send a DICOM image to STORESCP.EXE (also DCMTK 3.6.0) acting a server. We have followed the sample code available on Offis site. Call number 1...
by kjeras
Mon, 2011-06-13, 08:18
Forum: DCMTK - General
Topic: Using DCMTK with Ubuntu and QtCreator
Replies: 4
Views: 6349

Build problem now resolved

HI, be sure you link all the DCMTK libraries you need, and link them in the correct order. For example, take the order from storescp linker directives found in the corresponding CMakeLists.txt: dcmnet dcmdata oflog ofstd. Michael Thank you! I was not aware that the order of libraries is important. ...
by kjeras
Wed, 2011-06-01, 15:29
Forum: DCMTK - General
Topic: Using DCMTK with Ubuntu and QtCreator
Replies: 4
Views: 6349

Thanks for all these hints! My problem right is actually quite mundane - I get a lot of "undefined references" errors when building. There is probably some difference with the DCMTK make files and the ones (Qt) we use in our project. Once I have that figured out everything should run smoot...
by kjeras
Wed, 2011-06-01, 12:16
Forum: DCMTK - General
Topic: Using DCMTK with Ubuntu and QtCreator
Replies: 4
Views: 6349

Using DCMTK with Ubuntu and QtCreator

Hello, We want to use the Offis DMCTK toolkit for adding DICOM functionality to the medtech product we currently develop. The functionality we need is: - Dicom ping (C-ECHO) - DMWL query (C-FIND) - Send Secondary Capture Image (app screen dump) (C-STORE) So far we have successfully downloaded DCMTK,...