Hello,
I'm trying to load a dicom file.
When I load a first file, it succeeds.
But when I load a second file and get elements from the dataset, I get
elements of the first file dataset.
So I called the clear method on my DcmFileFormat object before calling
the loadFile method for the second time but the clear method always
return failure.
Could somebody help me ?
Regards,
Morgan
[Resolved] Dataset Clear method fails
Moderator: Moderator Team
[Resolved] Dataset Clear method fails
Last edited by mlhostis on Tue, 2005-05-10, 13:47, edited 1 time in total.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
I could.Jörg Riesmeier wrote:Why don't you just create a new DcmFileFormat object for the second file?
I haven't done it for the moment because I'm storing my DcmFileFormat object in a member variable and not in a pointer.
I thought using clear method would have been a better solution.
So I'm going to use a pointer and creating a new DcmFileFormat object.
Thanks for your help.
Morgan
Who is online
Users browsing this forum: No registered users and 1 guest