Skip to content

Commit

Permalink
Deployed bb93f7c with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mohannadhussain committed May 7, 2024
1 parent 551f20e commit bc427a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apis/dicom-to-jpg-png/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@

<h1 id="how-to-convert-dicom-to-jpg-or-png">How To Convert DICOM To JPG or PNG</h1>
<h2 id="introduction">Introduction</h2>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p><em>Note:</em> 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.</p>
<h3 id="1-extracting-jpgpng-via-dicomweb">1. Extracting JPG/PNG Via DICOMweb</h3>
<p>Check your server's DICOM conformance statement to ensure it supports the <code>/rendered</code> call in WADO-RS. See the <a href="https://www.dicomstandard.org/using/dicomweb/retrieve-wado-rs-and-wado-uri">DICOM standard</a> for more details. We use <a href="https://www.orthanc-server.com/">Orthanc</a> and know that it supports this call.</p>
<p>If your server supports this endpoint, then the rest is easy! You can just set a <code>GET</code> call using the following URL format (replace the UIDs in curly brackets with the values you're working with):</p>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,5 @@ <h2 id="participating-in-the-siim-hackathon">Participating in the SIIM Hackathon

<!--
MkDocs version : 1.5.3
Build Date UTC : 2024-05-07 00:19:33.191127+00:00
Build Date UTC : 2024-05-07 00:23:28.731956+00:00
-->
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit bc427a5

Please sign in to comment.