Search found 11 matches

by zaq
Wed, 2012-08-15, 10:44
Forum: DCMTK - General
Topic: Adding content items to SR tree with AM_beforeCurrent fails
Replies: 3
Views: 1870

Re: Adding content items to SR tree with AM_beforeCurrent fa

That's great, thank you. I'm very glad I could help this project just a little bit.
by zaq
Tue, 2012-08-14, 22:45
Forum: DCMTK - General
Topic: Adding content items to SR tree with AM_beforeCurrent fails
Replies: 3
Views: 1870

Adding content items to SR tree with AM_beforeCurrent fails

Hello, Recently I've been playing around with DCMTK's SR module and I found what I think is a bug in DSRTree::addNode() method. It seems that not all pointers to surrounding nodes get updated which corrupts the whole structure. I noticed the problem when trying to use DSRDocumentTree::addContentItem...
by zaq
Fri, 2008-08-15, 23:38
Forum: DCMTK - General
Topic: Choosing represenation problem.
Replies: 4
Views: 3846

Marco Eichelberg wrote:Make sure that your application includes

Code: Select all

#include "dcmtk/dcmimage/diregist.h"     /* include to support color images */
That is exactly what I needed. Thank you very much for your help, everything works fine now.
by zaq
Mon, 2008-08-11, 21:59
Forum: DCMTK - General
Topic: Choosing represenation problem.
Replies: 4
Views: 3846

Yes, you're right. Thank you for pointing that out, I must have misread the DICOM. I can't tell you now if that helped with the main issue -- I am in the middle of developing -- but as soon I get the project built I'll check that. BTW I usually validate datasets against DVT's (Dicom Validation Toolk...
by zaq
Sat, 2008-08-09, 16:28
Forum: DCMTK - General
Topic: Choosing represenation problem.
Replies: 4
Views: 3846

Choosing represenation problem.

Hi, I write my own Store SCU, which operates only on memory located datasets and recently I ecnoutered a problem while trying to use compressed transfer syntaxes, i.e. the JPEG ones. Here's the code that causes the problem: DcmDataset * dcmDataset = new DcmDataset(); dcmDataset->putAndInsertUint16( ...
by zaq
Fri, 2008-06-27, 15:31
Forum: DCMTK - General
Topic: Implementation Version Name
Replies: 13
Views: 12053

Well, and what was the output? Did it create Implementation Version Name itself?
by zaq
Fri, 2008-06-27, 15:19
Forum: DCMTK - General
Topic: Implementation Version Name
Replies: 13
Views: 12053

The code looks fine.

Hm... Why do you call `loadAllDataIntoMemory()'? Maybe this function or `saveFile()' does something to the header. Try remove existing Implementation Version Name but don't create a new one and see what will happen.
by zaq
Fri, 2008-06-27, 14:44
Forum: DCMTK - General
Topic: Implementation Version Name
Replies: 13
Views: 12053

If calling `putAndInsertString()' doesn't work, maybe try to remove the tag first and then create new one as described. Maybe that would help.
by zaq
Fri, 2008-06-27, 14:09
Forum: DCMTK - General
Topic: Implementation Version Name
Replies: 13
Views: 12053

Ho can i Insert Implementation Version Name to DicomMetaInformation Header using Fileformat or Dataset? Please Guide me Implementation Version Name is just one of the DICOM's tag so inserting it doesn't differ from others. First look into "PS 3.6" document ("DICOM Part 6: Data Dictionary") and sear...
by zaq
Fri, 2008-06-20, 10:59
Forum: DCMTK - General
Topic: Setting VR to new tag.
Replies: 2
Views: 2606

Re: Setting VR to new tag.

Is there something I'm doing wrong? Yes, it is. ;-) I've misread the documentation and haven't noticed that `setVR()' method's argument is the `DcmVR' object and not one of the `EVR_' constants. The working code: DcmElement * element = new DcmSignedShort( DcmTag( 0x20, 0x4002 ) ); element->setSint1...
by zaq
Thu, 2008-06-19, 11:57
Forum: DCMTK - General
Topic: Setting VR to new tag.
Replies: 2
Views: 2606

Setting VR to new tag.

Hi, I encountered a problem while trying to insert new tag into dataset. It appears that the `setVR()' function doesn't work properly. I have the following code: DcmElement * element = new DcmSignedShort( DcmTag( 0x20, 0x4002 ) ); element->setSint16( 0x12 ); if ( element->getVR() != EVR_SS ) { eleme...