From bc427a5fe214e165f9be128d4a508b372ec8c636 Mon Sep 17 00:00:00 2001 From: Mohannad Hussain Date: Mon, 6 May 2024 20:23:28 -0400 Subject: [PATCH] Deployed bb93f7c with MkDocs version: 1.5.3 --- apis/dicom-to-jpg-png/index.html | 4 ++-- index.html | 2 +- sitemap.xml.gz | Bin 127 -> 127 bytes 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apis/dicom-to-jpg-png/index.html b/apis/dicom-to-jpg-png/index.html index 83b379b..3b9d050 100644 --- a/apis/dicom-to-jpg-png/index.html +++ b/apis/dicom-to-jpg-png/index.html @@ -126,8 +126,8 @@

How To Convert DICOM To JPG or PNG

Introduction

-

DICOM is a container, which in the combines a header (metadata like patient ID, study date, etc) with pixel data (i.e. the image itself). The latter may be uncompressed data (i.e. bitmap) or could be compressed into one of the many codecs suported by the DICOM standard, such as JPEG-LS, JPEG 2000 and more recently High-Throughout JPEG 2000 (HTJ2K). Sometimes it is easier to extract the pixel data into a simple JPG or PNG file to work with the images, how to do so is described in this article via two methods: 1) DICOMweb and 2) Command-line utilities. You could also achieve the same things via code/scripting using a DICOM library but that's out of scope for this article.

-

Do remember that DICOM may not always contain pixel data. There are types of DICOM objects which are purley metadata-based like Structured Reports (SR) and Key-Object Selection (KOS) as two examples.

+

DICOM is a container, which combines a header (metadata like patient ID, study date, etc) with pixel data (i.e. the image itself). The latter may be uncompressed data (i.e. bitmap) or could be compressed into one of the many codecs suported by the DICOM standard, such as JPEG-LS, JPEG 2000 and more recently High-Throughput JPEG 2000 (HTJ2K). Sometimes it is easier to extract the pixel data into a simple JPG or PNG file to work with the images, and how to do so is described in this article via two methods: 1) DICOMweb and 2) Command-line utilities. You could also achieve the same things via code/scripting using a DICOM library but that's out of scope for this article.

+

Note: do remember that DICOM may not always contain pixel data. There are types of DICOM objects which are purley metadata-based like Structured Reports (SR) and Key-Object Selection (KOS) as two examples.

1. Extracting JPG/PNG Via DICOMweb

Check your server's DICOM conformance statement to ensure it supports the /rendered call in WADO-RS. See the DICOM standard for more details. We use Orthanc and know that it supports this call.

If your server supports this endpoint, then the rest is easy! You can just set a GET call using the following URL format (replace the UIDs in curly brackets with the values you're working with):

diff --git a/index.html b/index.html index bae05c9..d496eda 100644 --- a/index.html +++ b/index.html @@ -158,5 +158,5 @@

Participating in the SIIM Hackathon diff --git a/sitemap.xml.gz b/sitemap.xml.gz index abdfb098b1dfbaf01b454f416b9c4d693af96a89..dc25d77ed72b55a0f9922ca6019fbf4129488393 100644 GIT binary patch delta 12 Tcmb=gXOr*d;AkkB$W{pe7!U)) delta 12 Tcmb=gXOr*d;FwxGk*yK{7