Thursday, May 23, 2013
Google Custom Search

Our Community

Membership Membership:
Latest New User Latest: Dhanalakshmy
New Today New Today: 4
New Yesterday New Yesterday: 10
User Count Overall: 28671

People Online People Online:
Visitors Visitors: 21
Members Members: 2
Total Total: 23

Online Now Online Now:
01: radyworks
02: kreekmans

ClearCanvas Community Forums

We've moved our Developer Forums!
To better assist our open source community, we have moved our repository and developer forums to GitHub. You can access the new developer forums on our ClearCanvas GitHub issues board.

"Closing" Dicom Files
Last Post 2012-05-08 08:32 PM by stewart. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
wittdb
Basic Member
Basic Member
Posts:23

--
2012-05-08 09:38 AM

Is there a need to "close" Dicom files once I am done using them?  I am opening hundreds of Dicom files to gather info from their headers. Once I am done with them, do I just let the .net garbage collection take care of the open file objects, or is there something I should be doing to close them properly?  I do not need to save them as I have not made any changs to their contents.  Thanks.

stewart
Senior Member
Senior Member
Posts:2336

--
2012-05-08 08:32 PM
No, when you load a DICOM file, the entire thing is loaded into memory, and when you save it, it's written back out. There are no open streams or anything to close.
Live and real-time support available for Personal and Team Edition customers
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2013 ClearCanvas Inc. All Rights Reserved