![]() Var dicomFile = (file.FullName) ĭicomDir.AddFile(dicomFile, file. If (DicomFile.HasValidHeader(file.FullName) & () != "dicomdir") Went thru the DicomDirInterface, but couldn't find any specific read dicomdir functionality. I would assume reading dicomdir file directly( if present) could be speedier. Among them, each node in the Patient layer stores all the. Does DCMTK have a method to read a Dicomdir file instead of being forced to build dicomdir structure from the dicom files. Var dirInfo = new DirectoryInfo(path.PathOrFilename) įoreach (var file in dirInfo.GetFiles(". Through observation, it is easy to find that the DICOMDIR file is a four-layer tree structure. DICOMDIR acts as a Directory for DICOM file sets and holds a full 4 level hierarchy (PATIENT > STUDY > SERIES > IMAGE) as shown. Also, it created 2 patients, although there is only one (the patient IDs and names are the same). However, in the created DICOMDIR (inspecting it with Visual Studid Debugger), I get this: FileSetID = 'dicomDir.FileSetID' threw an exception of type 'Dicom.DicomDataException'. DICOMDIR works just like a directory for the File-Set stored on a formatted medium and provides a hierarchical structure with four levels. The most important element in a DICOMDIR is the (0004,1220) Directory Record Sequence each item in the sequence is a directory record, and one or more records are used to briefly describe an available SOP Instance and its location within the File-set’s directory structure. This DICOMDIR is constructed as a flat directory file and contains patient, study, series, and image information about each file in a collection of DICOM-compliant files (a file-set). ![]() I am now trying to use that example from the samples page, where I let fo-dicom automatically build a DICOMDIR (if that is missing) out of a directory. DICOMDIR is a directory structure defined by DICOM especially for exchange media (such as CDs) in part 10 of the DICOM Standard. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |