Search found 99 matches

by Markus Sabin
Thu, 2007-02-15, 08:18
Forum: DCMTK - General
Topic: Sequence encoding again
Replies: 7
Views: 7959

Sequence encoding again

Dear all, I have a problem which seems to be related to sequence encoding. In a Modality Worklist SCP, I build datasets "from scratch" i.e. by adding tags (from database records) to an empty dataset which at the end makes up one worklist response dataset. If the dataset contains sequences ...
by Markus Sabin
Fri, 2007-02-02, 11:04
Forum: DCMTK - General
Topic: Pixel , tags, meta info data loading on memory?
Replies: 2
Views: 3730

Re: Pixel , tags, meta info data loading on memory?

When you call the method DcmFileFormat::loadFile() which data is loaded? The pixel data, the tags, both or none of them? Tags with a length that does not exceed DCM_MaxReadLength (defined in dcobject.h) which is 4096 by default, are loaded into memory. For all other tags, the location within the fi...
by Markus Sabin
Fri, 2007-02-02, 10:54
Forum: DCMTK - General
Topic: Preserve undefined group lengths in storescu/storescp
Replies: 2
Views: 3300

Marco,

thanks for your reply. I will try that.

regards

Markus
by Markus Sabin
Tue, 2007-01-30, 11:46
Forum: DCMTK - General
Topic: Preserve undefined group lengths in storescu/storescp
Replies: 2
Views: 3300

Preserve undefined group lengths in storescu/storescp

Dear dcmtk experts, is there any way to preserve an undefined sequence-length encoding when transferring images from storescu to storescp? It seems that sequences are always being stored to disk with calculated explicit sequence lengths. When I transfer a dataset having private tags with VR=SQ and u...
by Markus Sabin
Mon, 2007-01-22, 08:29
Forum: DCMTK - General
Topic: Change Dicom image
Replies: 2
Views: 3884

If the image is compressed, you must convert the Transfersyntax. dcmdjpeg will do the trick. If the image is a grayscale image, it is impossible to set a "red pixel in the center", unless you convert the image to RGB which would affect more tags than just DCM_Pixeldata (e.g. BitsAllocated,...
by Markus Sabin
Fri, 2006-12-15, 08:04
Forum: DCMTK - General
Topic: DicomImage class
Replies: 3
Views: 4385

Hi Kmilo,

your problem is not related to the compiler (#include) but to your linker. You have to link dcmimage, dcmimgle, ofstd and dcmdata and if you use JPEG compression, you also have to link the libjpgXX-libraries.

HTH

Markus
by Markus Sabin
Mon, 2006-12-11, 16:23
Forum: DCMTK - General
Topic: Timeout problem in DUL_receiveAssociationRQ
Replies: 4
Views: 7004

Timeout problem in DUL_receiveAssociationRQ

Dear DCMTK experts, I have found a problem when processing an association request. Under certain circumstances which seem to be hard to reproduce, a TCP connection is established but no data has been received yet. Then ASC_receiveAssociation returns EC_Normal, but actually no association request has...
by Markus Sabin
Tue, 2006-10-31, 13:00
Forum: DCMTK - General
Topic: Decompress Jpeg lossless to memory
Replies: 1
Views: 3269

You will have to write a little program for that. DcmDataset is the class that you need. Have a look at the source code of dcmdjpeg and you will see that a few calls are used to convert the transfer syntax.
by Markus Sabin
Tue, 2006-10-24, 07:56
Forum: DCMTK - General
Topic: A question about createWindowsDIB and BITMAPINFO
Replies: 3
Views: 4420

The name of the method might be confusing. createWindowsDIB does not create a BITMAPINFO header structure. It just renders the DICOM image to a buffer that can be referenced from a BITMAPINFO. In other words: Just the raw buffer is created. You have to build the BITMAPINFO structure yourself.
by Markus Sabin
Fri, 2006-10-20, 15:55
Forum: DCMTK - General
Topic: Retrieve all images from efilm
Replies: 3
Views: 5001

Probably the easiest way to transfer all the images would be a file copy/move. AFAIK, eFilm stores the Images as DICOM Part 10 files to a configurable path.
by Markus Sabin
Fri, 2006-08-11, 10:56
Forum: DCMTK - General
Topic: wlmscpfs: need help to create a wl-file
Replies: 4
Views: 5646

Where do I get the StudyInstanceUID (0020,000d) from? You have to issue a StudyInstanceUID that is generated in your (RIS?)-application What do the Scheduled...tags (0040,....) exactly mean? This is defined in Table C.4.10 DICOM Part 3 What is the difference between RequestedProcedureDescription (0...
by Markus Sabin
Fri, 2006-08-11, 09:27
Forum: DCMTK - General
Topic: wlmscpfs: need help to create a wl-file
Replies: 4
Views: 5646

There are sample worklist files in dcmwlm/wlistdb. They can be converted to binary DICOM files with the dump2dcm-tool
by Markus Sabin
Thu, 2006-08-10, 09:01
Forum: DCMTK - General
Topic: findscu problem
Replies: 8
Views: 15793

by Markus Sabin
Wed, 2006-08-09, 07:11
Forum: DCMTK - General
Topic: Problem on AE title setting
Replies: 4
Views: 8632

You have to add the called AETs (in your case "dale2") to the AETable
by Markus Sabin
Wed, 2006-03-15, 14:47
Forum: DCMTK - General
Topic: error movescu-dcmqrscp
Replies: 11
Views: 15005

youir building procedure just looks fine, but to know, where this (serious) error comes from, you would need to debug dcmqrscp, meaning running it in a Visual Studio Debug Session and then executing line per line. This would give us information, where to fix this problem. ...or alternatively, set a...