casmaniac.blogg.se

What is a dicomdir file
What is a dicomdir file






I have a backup of the original dicomdir file and when I replace that everything works fine again (and the meta data of each image has been edited). The DICOMDIR file (medical directory) is a DICOM. I have also tried to use the write_file and write_dataset functions as detailed here:Īgain unsuccessfully. The CD contains a number of files and directories: DICOMDIR. It is only an illustration, which is simply intended to help the reader better understand the organization of a DICOM Directory stored in a DICOMDIR File. # Then I (successfully) overwrite the dicomdir with This Annex provides an example of a File content that is based on selected aspects of the example introduced in PS3.3 for the Basic Directory Information Object. # Here I just traverse the dicom_dir object

what is a dicomdir file

I do so using the following code import pydicomįrom pydicom.filereader import read_dicomdir When I access the individual dicom files within the directory they load just fine so the problem is how I'm overwriting the dicomdir. filereader.py", line 741, in read_partialĬhild = map_offset_to_record filereader.py", line 883, in read_dicomdirįorce=force, specific_tags=specific_tags)

what is a dicomdir file

When I try to rerun my code I get the following error messages: Traceback (most recent call last):įile "/home/user/anaconda3/lib/python3.7/site-packages/pydicom I then successfully overwrite the dicomdir file itself but when I try to open it (for example with Aeskulap) it gives an error message which says "No study or bad DICOMDIR". I have successfully loaded the dicomdir, traversed it to find the images, edited their meta data and overwritten the original dicom files.

what is a dicomdir file

I am editing the meta data of multiple dicom images, divided between dicomdirs.








What is a dicomdir file