0

From the official web site of Orthanc, we may find that the way Orthanc anonymize the file:

curl http://localhost:8042/instances/6e67da51-d119d6ae-c5667437-87b9a8a5-0f07c49f/anonymize -X POST -d '{}' > Anonymized.dcm

So this step will create a anonymized dcm file.


My problem:

Let's say on my hard disk is a dcm file, I need to do anonymize on it, base on the Orthanc official web site work flow, what I need to do is:

  1. Upload the dcm file to Orthanc
  2. Create a new anonymized dcm file
  3. Upload the new dcm file and delete the old dcm file from Orthanc

My question:

Is there a way to directly convert the dcm file into anonymized format in Orthanc?

Yannick
  • 813
  • 8
  • 17
  • I also tried to use pydicom to solve this problem, so after read in the dcm file and done the anonymization by using pydicom, it seems I still need to output the anonymized file first and then upload to Orthanc. – chengfeng fan Nov 13 '18 at 10:08
  • Could you expand your the question part of your post? What do you mean by directly? Do you wish to anonymize the file in your hard disk, without uploading it to Orthanc? Or do you wish to anonymize the file in the Orthanc server, without having to reupload and delete the old instance? – TZubiri Mar 13 '19 at 22:02

1 Answers1

0

Yes, as explained in the Orthanc Book, if you anonymize the parent patient, study or series, the resulting anonymized resource will be stored in Orthanc. If you want to anonymize a single instance then upload it, you can contribute to the Orthanc project by creating a dedicated plugin.

Tisys
  • 938
  • 1
  • 8
  • 18