Dear Mitk users, I am writing an application using Mitk, and I would now need to write a dicom series from a mitk::Image.
Here is what I am trying to do: In one part of the code, I read the dicom series using mitk::IOUtil::Load and load it to a mitk::Image. This image is then passed to another function, where it should be anonymized and written to a new dicom folder. It seems like mitk cannot write dicom images, and I need to use Itk to do that, is that right ? My problem is when I convert the mitk::Image to a itk::Image with CastToItkImage, all the dicom tags are lost. The solution I am considering is to pass the path to the dicom data to the function in charge of anonymizing and writing the dicom data. This function would read, modify and write back the data using only itk. Is there another solution? I would like to avoid re-reading the dicom data from file if possible. As always, I would appreciate any help. Best regards, Daphné ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users