Search found 11 matches

by Bojan
Thu, 2014-09-04, 14:28
Forum: DCMTK - General
Topic: Canceling C-STORE
Replies: 2
Views: 3851

Re: Canceling C-STORE

Understood. Thanks for the reply!
by Bojan
Wed, 2014-09-03, 14:18
Forum: DCMTK - General
Topic: Canceling C-STORE
Replies: 2
Views: 3851

Canceling C-STORE

Is there are way to cancel DIMSE_storeUser()? If sending take a long time and a user want to cancel it or close the application, how do I make DIMSE_storeUser return? If that's not possible, is there an alternative way to do C-STORE SCU which will allow this?
by Bojan
Wed, 2014-09-03, 14:04
Forum: DCMTK - General
Topic: converting jpegls lossy with dcml2pnm.exe
Replies: 2
Views: 3631

Re: converting jpegls lossy with dcml2pnm.exe

Sorry, i misplaced the particular image. I will send it if I manage to find it.
by Bojan
Thu, 2014-08-14, 17:40
Forum: DCMTK - General
Topic: converting jpegls lossy with dcml2pnm.exe
Replies: 2
Views: 3631

converting jpegls lossy with dcml2pnm.exe

I am getting a following error when I try to convert an image with JPEGLSLossy transfer syntax: D: $dcmtk: dcml2pnm v3.6.0 2011-01-06 $ D: I: reading DICOM file: ct_jpegls_lossly.dcm D: DcmItem::checkTransferSyntax() TransferSyntax="Little Endian Explicit" I: preparing pixel data D: transf...
by Bojan
Fri, 2014-04-04, 13:46
Forum: DCMTK - General
Topic: JPEG decoding problem
Replies: 1
Views: 2711

JPEG decoding problem

I got and image with YBR_FULL_422 for photometric interpretation which isn't rendered as expected unless I change the that to RGB. Is there a decoder settings that I am missing? Is there anything that I should know about decoding jpeg? Other jpeg encoded files with the same photometric representatio...
by Bojan
Wed, 2014-02-19, 15:24
Forum: DCMTK - General
Topic: Read private tags from a file with implicit VR
Replies: 6
Views: 9308

Re: Read private tags from a file with implicit VR

One more question: Can DCMTK help me decode the values of elements with private tags when the private creator element is missing (even though that's not by the standard)?
by Bojan
Wed, 2014-02-19, 14:11
Forum: DCMTK - General
Topic: Read private tags from a file with implicit VR
Replies: 6
Views: 9308

Re: Read private tags from a file with implicit VR

As usual, the problem was the lack of knowledge of standard, not the library. Adding the private creator element solved the problem. Thank you very much!
Did you read the text before this example?
I obviously didn't. Sorry about that.
by Bojan
Wed, 2014-02-19, 13:48
Forum: DCMTK - General
Topic: Read private tags from a file with implicit VR
Replies: 6
Views: 9308

Re: Read private tags from a file with implicit VR

Thanks for the answer. Yes, I need something along the lines of the example from that HOWTO. But the example doesn't show how the private tags are read from the file and that's the part that doesn't work for me. My understanding is that following code should print out "123", but it prints ...
by Bojan
Wed, 2014-02-19, 00:39
Forum: DCMTK - General
Topic: Read private tags from a file with implicit VR
Replies: 6
Views: 9308

Read private tags from a file with implicit VR

Hi, Is there a way to read a value of the private tag from a file with implicit VR without recompiling DCMTK with that tag in private.dic? Can I just specify how the tag should be read? Or can I add that tag to the global dictionary in runtime? I tried just specifying the tag's VR like this: OFStrin...
by Bojan
Fri, 2013-04-26, 10:29
Forum: DCMTK - General
Topic: Creating SC Image
Replies: 3
Views: 12113

Re: Creating SC Image

So either I copy attributes one by one or I copy all and delete excess attributes one by one (and of course, change few to make it SC Image).

Thank you!
by Bojan
Mon, 2013-04-22, 10:22
Forum: DCMTK - General
Topic: Creating SC Image
Replies: 3
Views: 12113

Creating SC Image

Hi, I want to create a Secondary Capture Image by editing pixels of existing DICOM file and copying relevant attributes from it. I am wondering how DCMTK can help me with that. For instance, is there a way to copy all attributes of a DICOM module or do attributes have to be copied one by one? Also, ...