DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2017-11-25, 08:39

All times are UTC + 1 hour


Search found 9 matches
Search these results:

Author Message

 Forum: DCMTK - General   Topic: Multi SOP Instances in the Same file

Posted: Wed, 2017-10-11, 15:08 

Replies: 1
Views: 34


The volume Pixel image data is 3D (x,y,z) while the projection Pixel image data is 2D (x,y).

 Forum: DCMTK - General   Topic: Multi SOP Instances in the Same file

Posted: Wed, 2017-10-11, 14:55 

Replies: 1
Views: 34


I need to save volume data about an image, but also save projection image data taken from different angles. So I actually have 4 sets of Pixel image data for the same scanned object. Is there a way to save all four pixel data images for the one scanned object in the same SOP?

Thanks in Advance.

 Forum: DCMTK - General   Topic: E: DcmFileFormat: Cannot determine Version of MetaHeader

Posted: Fri, 2017-09-15, 00:16 

Replies: 11
Views: 282


Figured it out. You have to do the following:

cmake -DDCMTK_ENABLE_BUILTIN_DICTIONARY=ON -DDCMTK_ENABLE_EXTERNAL_DICTIONARY=OFF ../dcmtk-3.6.2

I hope this can help others who run into this.

 Forum: DCMTK - General   Topic: E: DcmFileFormat: Cannot determine Version of MetaHeader

Posted: Thu, 2017-09-14, 19:26 

Replies: 11
Views: 282


I have it working correctly without having to load the dicom.dic in code. It loads automatically now. I made changes to the CMakeCache.txt file in order for the build to include the dicom.dic file and load it automatically. I set the following values in the file: DCMTK_ENABLE_BUILTIN_DICTIONARY BOOL...

 Forum: DCMTK - General   Topic: E: DcmFileFormat: Cannot determine Version of MetaHeader

Posted: Thu, 2017-09-14, 14:59 

Replies: 11
Views: 282


Thanks! But removing that code causes those errors. So with my install, I must not have set something up so dicom.dic is loaded automatically. I am on a Linux Posix system using cmake to install dcmtk. DCMTK_ENABLE_BUILTIN_DICTIONARY I set to BOOL=ON in the CMakeCache.txt file, and set DCMTK_ENABLE_...

 Forum: DCMTK - General   Topic: E: DcmFileFormat: Cannot determine Version of MetaHeader

Posted: Wed, 2017-09-13, 20:22 

Replies: 11
Views: 282


I found code to load the dicom.dic. That appears to have taken care of the issue:

DcmDataDictionary &dict = dcmDataDict.wrlock();
dict.loadDictionary("/home/Project/dcmtk/dcmtk-3.6.2/dcmdata/data/dicom.dic");
dcmDataDict.unlock();

I no longer get that error in the subject line. Thanks!

 Forum: DCMTK - General   Topic: E: DcmFileFormat: Cannot determine Version of MetaHeader

Posted: Wed, 2017-09-13, 19:41 

Replies: 11
Views: 282


Is there a very simple example you can point me to in order to save a file. I found a very simple explain to load a file (https://github.com/marcinwol/dcmtk-basic-example).

Thanks in advance.

 Forum: DCMTK - General   Topic: E: DcmFileFormat: Cannot determine Version of MetaHeader

Posted: Wed, 2017-09-13, 19:13 

Replies: 11
Views: 282


I removed the dataset->putAndInsertUint16(DCM_FileMetaInformationVersion, 0x0001) line from the code. The new program is below. But I still get the same error. uid[100]; DcmFileFormat fileFormat; DcmDataset *dataset = fileFormat.getDataset(); dataset->putAndInsertString(DCM_SOPClassUID, UID_Secondar...

 Forum: DCMTK - General   Topic: E: DcmFileFormat: Cannot determine Version of MetaHeader

Posted: Wed, 2017-09-13, 15:04 

Replies: 11
Views: 282


I wrote a small test program and I keep getting the error listed in the subject. Here is the code below. I took this from the dcmtk documentation website, but I get the error. Lots of searching on the web has not pointed me in the right direction. Any help would be appreciated. Here is the code: cha...
Sort by:  
Page 1 of 1 [ Search found 9 matches ]


All times are UTC + 1 hour


Jump to:  
Powered by phpBB® Forum Software © phpBB Group