Search found 7 matches
- Fri, 2012-08-10, 13:24
- Forum: DCMTK - General
- Topic: findAndGetString for private Tag
- Replies: 4
- Views: 5380
Re: findAndGetString for private Tag
There must be something subtle I'm missing because the following code didn't work either DcmDataDictionary& dict = dcmDataDict.wrlock(); dict.addEntry( new DcmDictEntry(0x0029, 0x2000, EVR_LO, "OArmDesc", 1, 1, "private", OFFalse, "MNL" ) ); dcmDataDict.unlock(); OF...
- Thu, 2012-08-09, 22:29
- Forum: DCMTK - General
- Topic: findAndGetString for private Tag
- Replies: 4
- Views: 5380
findAndGetString for private Tag
I have a dataset with a few private tags that I would like to access from within my program. OFString field; cond = ds.findAndGetOFStringArray( DcmTag(0x0029, 0x2000, EVR_LO), field); cout << field.c_str() << endl; The output from this is: 4f\41\52\4d\20\33\44 (instead of OARM_3D). Any suggestions o...
- Mon, 2011-12-12, 21:18
- Forum: DCMTK - General
- Topic: Relocatable Private Tags
- Replies: 3
- Views: 4306
- Mon, 2011-12-12, 17:46
- Forum: DCMTK - General
- Topic: Relocatable Private Tags
- Replies: 3
- Views: 4306
Relocatable Private Tags
I'm writing some relocatable private tags into a dicom file. For now my code hard-codes the upper 16-bits of the element instead of using the proper process. I have created new private.dic entries for my tags and dcmdump shows my tag names as I would want. My question is, does DCMTK provide and auto...
- Tue, 2011-12-06, 15:46
- Forum: DCMTK - General
- Topic: Overriding missing tags
- Replies: 6
- Views: 7554
These datasets were synthetically generated by an engineer many years ago to test the patient orientation / 3D reconstruction process we use for exams. They work with our current dicom reader but that system only looks for specific tags we are interested in, not full compliance to the standard. It's...
- Mon, 2011-12-05, 19:37
- Forum: DCMTK - General
- Topic: Overriding missing tags
- Replies: 6
- Views: 7554
For #1 : the output from dcm2pnm --debug has the same messages as what is posted above. The group 28 data is... (0028,0010) US 255 # 2, 1 Rows (0028,0011) US 256 # 2, 1 Columns (0028,0030) DS [0.500000\0.500000] # 18, 2 PixelSpacing (0028,0100) US 16 # 2, 1 BitsAllocated (0028,0101) US 16 # 2, 1 Bit...
- Mon, 2011-12-05, 14:47
- Forum: DCMTK - General
- Topic: Overriding missing tags
- Replies: 6
- Views: 7554
Overriding missing tags
I am trying to use DCMTK to replace the existing library we use in our product. Currently we have a few built-in work arounds for customers that I need to replicate in DCMTK. Specifically would like to be able to override missing or incorrect tags. For one dataset I get the following error messages ...