changeset 6100:980ab5ed1f59 pixel-anon

todo: sample query
author Alain Mazy <am@orthanc.team>
date Mon, 14 Apr 2025 15:17:11 +0200
parents 035a13b295a7
children
files TODO
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TODO	Thu Apr 10 10:45:11 2025 +0200
+++ b/TODO	Mon Apr 14 15:17:11 2025 +0200
@@ -591,6 +591,25 @@
 }
 EOF
 
+# modify some frames of a multiframe scintigraphy series
+curl -X POST http://localhost:8043/series/08a23232-a61c3cb9-5cdb4518-b725cd5d-820ee1f6/modify \
+--data-binary @- << EOF
+{
+    "Replace" : {"StudyInstanceUID": "1.2.6", "StudyDescription": "modified-scinti"},
+    "Force": true,
+    "MaskPixelData": {
+        "Regions": [{
+            "MaskType": "Fill",
+            "FillValue": 3000,
+            "RegionType" : "3D",
+            "Origin": [-150.0, -200, 200],
+            "End": [150.0, -150, 100]
+      }]
+    }
+}
+EOF
+
+
 
 # modify some frames of a multiframe PET-CT study
 curl -X POST http://localhost:8043/studies/890e1167-55ad171a-7721ffec-db91e2c1-700778c0/modify \