Search found 11 matches
- Wed, 2012-08-15, 10:44
- Forum: DCMTK - General
- Topic: Adding content items to SR tree with AM_beforeCurrent fails
- Replies: 3
- Views: 3435
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.
- Tue, 2012-08-14, 22:45
- Forum: DCMTK - General
- Topic: Adding content items to SR tree with AM_beforeCurrent fails
- Replies: 3
- Views: 3435
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...
- Fri, 2008-08-15, 23:38
- Forum: DCMTK - General
- Topic: Choosing represenation problem.
- Replies: 4
- Views: 6089
That is exactly what I needed. Thank you very much for your help, everything works fine now.Marco Eichelberg wrote:Make sure that your application includesCode: Select all
#include "dcmtk/dcmimage/diregist.h" /* include to support color images */
- Mon, 2008-08-11, 21:59
- Forum: DCMTK - General
- Topic: Choosing represenation problem.
- Replies: 4
- Views: 6089
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...
- Sat, 2008-08-09, 16:28
- Forum: DCMTK - General
- Topic: Choosing represenation problem.
- Replies: 4
- Views: 6089
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( ...
- Fri, 2008-06-27, 15:31
- Forum: DCMTK - General
- Topic: Implementation Version Name
- Replies: 13
- Views: 17311
- Fri, 2008-06-27, 15:19
- Forum: DCMTK - General
- Topic: Implementation Version Name
- Replies: 13
- Views: 17311
- Fri, 2008-06-27, 14:44
- Forum: DCMTK - General
- Topic: Implementation Version Name
- Replies: 13
- Views: 17311
- Fri, 2008-06-27, 14:09
- Forum: DCMTK - General
- Topic: Implementation Version Name
- Replies: 13
- Views: 17311
- Fri, 2008-06-20, 10:59
- Forum: DCMTK - General
- Topic: Setting VR to new tag.
- Replies: 2
- Views: 4034
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...
- Thu, 2008-06-19, 11:57
- Forum: DCMTK - General
- Topic: Setting VR to new tag.
- Replies: 2
- Views: 4034
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...