Friday, February 10, 2012
Google Custom Search

ClearCanvas Highlights

Download our Open Source software
Watch some Videos
Get the Source
Check out our Licensing
Join our  Forums
Some Research: OICR IPP-Trials

Our Community

Membership Membership:
Latest New User Latest: sdlb6168
New Today New Today: 23
New Yesterday New Yesterday: 27
User Count Overall: 20613

People Online People Online:
Visitors Visitors: 15
Members Members: 2
Total Total: 17

Online Now Online Now:
01: myanez
02: Julcmvav

ClearCanvas Community Forums

DicomFile.Save() - no (0008,xxxxx) values?
Last Post 2010-10-04 11:35 AM by jasper.yeh. 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
jonas
Basic Member
Basic Member
Posts:17

--
2010-06-08 05:11 AM  

 When I open a dicom file and save it all tags from the 0008 group are gone!

DicomFile df = new DicomFile(fname);

df.Load(DicomReadOptions.Default);

df.DataSet[DicomTags.StudyId].SetStringValue("Jonas was here!");

bool ok = df.Save(@"C:\cc_test.dcm", DicomWriteOptions.CalculateGroupLengths);

sriley
New Member
New Member
Posts:3

--
2010-09-09 02:36 PM  

I am having the same issue... have you figured out what is going on?

Thanks

jonas
Basic Member
Basic Member
Posts:17

--
2010-09-15 04:52 AM  

 Nope!

jasper.yeh
Senior Member
Senior Member
Posts:521
Avatar

--
2010-10-04 11:35 AM  
Hi jonas, sriley,

We haven't be able to reproduce this behaviour. Can you confirm that the original file (referenced by fname) actually has group 0008 tags? And if so, what is the version of the CC.Dicom.dll (or the SVN revision of the source code) that you are using?

Please note that Study ID (0020,0010) is not a group 0008 tag.
// Jasper
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2011 ClearCanvas Inc.