<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Raky on Medium]]></title>
        <description><![CDATA[Stories by Raky on Medium]]></description>
        <link>https://medium.com/@k_raky?source=rss-cef5d851ef6b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*fXcXOpbOWmx9xozZ.jpg</url>
            <title>Stories by Raky on Medium</title>
            <link>https://medium.com/@k_raky?source=rss-cef5d851ef6b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 21:56:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@k_raky/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Build a web DICOM viewer: MPR view with Cornerstone3D, Orthanc and React]]></title>
            <link>https://medium.com/@k_raky/displaying-dicom-images-on-the-web-multiplanar-reconstruction-view-with-cornerstone3d-orthanc-and-react-f5a57fb1b363?source=rss-cef5d851ef6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5a57fb1b363</guid>
            <category><![CDATA[orthanc]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[dicom-viewer]]></category>
            <category><![CDATA[dicom]]></category>
            <category><![CDATA[cornerstone3d]]></category>
            <dc:creator><![CDATA[Raky]]></dc:creator>
            <pubDate>Tue, 02 Dec 2025 01:12:44 GMT</pubDate>
            <atom:updated>2025-12-03T12:26:56.462Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<h3>Build a web DICOM viewer: MultiPlanar Reconstruction view with Cornerstone3D, Orthanc and React+Vite</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oaWMFZ11_ch2HW6a1m94QA.png" /></figure><p>Visualize and manipulate DICOM images on the web used to be very challenging. Most of the times, it required knowing some C, C++, VTK, ITK and a lot of debugging to be able to visualize and manipulate medical images appropriately. Lucky us, amazing open source tools like Cornerstone3D and Orthanc were developped by amazing developers to help us build in a record time, a medical image viewer with a various range of manipulation tools. While Cornerstone3D seamlessly integrate with web frameworks like React, Orthanc (the Mysql of medical images) helps storing and accessing our images with its broad range of Rest APIs. Lets leverage all these tools to build a simple MPR view on a React interface, fetching our image data from Orthanc.</p><h3><strong>System and tools overview</strong></h3><p>What are we building ? What is a MPR ? What is the utility of each tool ?</p><ul><li><strong>MultiPlanar Reconstruction </strong>: A multiplanar reformation or reconstruction (MPR) is a way of taking 3D imaging data, usually from a CT or MRI scan, and re-slicing it into different viewing planes. MPR lets doctors look at the same 3D scan from different angles, making it easier to spot problems that might not be visible from just one direction. To display a MPR, viewers usually show the most common viewing planes which are <strong>axial</strong> (horizontal slice), <strong>coronal</strong> (vertical slice from front to back), <strong>sagittal</strong> (vertical slice from left to right), and the full 3D medical image. That is also what our simple interface is going to show.</li><li><strong>Cornerstone3D </strong>:<strong> </strong>It is a lightweight Javascript library for visualization of medical images in modern web browsers that support the HTML5 canvas element. Using its accompanying libraries you can achieve a wide range of imaging tasks. It is open source and can be used with React, Vue, Angular, vite-based frameworks, etc. The documentation is very intuitive and complete, with a lot of examples (code included !!). Read more about it on <a href="https://www.cornerstonejs.org/docs/getting-started/overview">https://www.cornerstonejs.org/docs/getting-started/overview</a> and leave a star to this incroyable project.</li><li><strong>Orthanc</strong> : Orthanc is an open source, lightweight DICOM server designed for medical imaging. It serves as a standalone DICOM server that can receive, store, and distribute medical images. Orthanc also provides a web interface for browsing and managing stored images, and a REST API for integration with other systems.It is relatively lightweight and can run on modest hardware. Read more about it on <a href="https://www.orthanc-server.com/index.php">https://www.orthanc-server.com/</a></li></ul><h3>Prerequisites</h3><p>Before you start following this guide, you need the following :</p><ul><li>Download and install Orthanc, you can follow the tutorial here <a href="https://orthanc.uclouvain.be/book/users/cookbook.html">https://orthanc.uclouvain.be/book/users/cookbook.html</a>. I highly recommand using the Docker images for a quick setup and start.</li><li>Load DICOM images on your Orthanc server. You can do it by line command, graphical interface or REST Apis. Take the time to explore the GUI, analyze the DICOM tags, information; you also have access to the OHIF Viewer to visualize your loaded images.</li><li>Create a React+Vite app, you can follow the tutorial here <a href="https://react.dev/learn/build-a-react-app-from-scratch">https://react.dev/learn/build-a-react-app-from-scratch</a>.</li><li>Install cornerstone3D here <a href="https://www.cornerstonejs.org/docs/getting-started/installation">https://www.cornerstonejs.org/docs/getting-started/installation</a></li></ul><p>Add the following Vite configuration to your <strong>vite.config.js</strong> file :</p><pre>import { defineConfig } from &#39;vite&#39;;<br>import react from &#39;@vitejs/plugin-react&#39;;<br>import { viteCommonjs } from &#39;@originjs/vite-plugin-commonjs&#39;;<br>import tailwindcss from &#39;@tailwindcss/vite&#39;<br><br>export default defineConfig({<br>  plugins: [<br>    react(),<br>    tailwindcss(),<br>    viteCommonjs(),<br>  ],<br>  // seems like only required in dev mode<br>  optimizeDeps: {<br>    exclude: [&#39;@cornerstonejs/dicom-image-loader&#39;],<br>    include: [&#39;dicom-parser&#39;],<br>  },<br>  worker: {<br>    format: &#39;es&#39;,<br>  },<br>  server: {<br>    proxy: {<br>      &#39;/orthancUrl&#39;: {<br>        target: &#39;http://localhost:8074&#39;,<br>        changeOrigin: true,<br>        secure: false,<br>        rewrite: (path) =&gt; path.replace(/^\/orthancUrl/, &#39;&#39;)<br>      }<br>    }<br>  }<br>});</pre><p>In the server section, be careful to put in target your Orthanc web url. 8074 is the default port.</p><p>Note that we are also adding <strong>tailwindcss </strong>for quick design <strong>(</strong>optional, see docs here <a href="https://tailwindcss.com/">https://tailwindcss.com</a>), and a proxy configuration to bypass CORS errors with Orthanc (this is a quick solution for the sole purpose of this tutorial, I don’t recommend using it elsewhere as it is not safe).</p><p>That’s it ! We are all setup and ready to code.</p><h3>Coding</h3><p>The code is divided in 4 files :</p><ul><li><strong>dicomManager.jsx</strong> : to fetch dicom files from Orthanc server and retrieve image ids</li><li><strong>toolManager.jsx</strong> : to set mouse manipulation tools to control window level, scroll between slices and rotate 3D view</li><li><strong>viewportContainer.jsx </strong>: to define the component that holds each of the views or plane orientations</li><li><strong>mainViewer.jsx</strong> : which contains the main viewer interface</li></ul><h4>1. Fetch dicom files from Orthanc server</h4><p>In dicomManager.jsx we will define 3 functions :</p><pre>import dcmjs from &quot;dcmjs&quot;<br>import { api } from &quot;dicomweb-client&quot;;<br><br>export async function retrieveInstances(StudyInstanceUID, SeriesInstanceUID) {<br>    const client = new api.DICOMwebClient({ url: &#39;/orthancUrl/dicom-web&#39; });<br>    // Request the metadata of every instance that belongs to the selected study and series<br>    let instances = await client.retrieveSeriesMetadata({<br>        studyInstanceUID: StudyInstanceUID,<br>        seriesInstanceUID: SeriesInstanceUID,<br>    });<br>    return instances<br>}</pre><p><em>retrieveInstances</em> sets up a DICOMweb client that points to the Orthanc server, then requests all instance (slices, each dicom file part of the mpr) metadata for a specific study and series.</p><pre>import { calibratedPixelSpacingMetadataProvider, getPixelSpacingInformation } from &quot;@cornerstonejs/core/utilities&quot;;<br>import cornerstoneDICOMImageLoader from &quot;@cornerstonejs/dicom-image-loader&quot;;<br><br>export async function retrieveImageIds(studyIUID, seriesIUID) {<br>    // Ask the DICOM server for all instances in the selected study and series<br>    const instances = await retrieveInstances(studyIUID, seriesIUID)<br><br>    // Convert each instance into a Cornerstone compatible image id<br>    let imageIds = instances.map((instanceMetaData) =&gt; {<br>        // Read the SOP Instance UID from the metadata<br>        const SOPInstanceUIDToUse = instanceMetaData[&#39;00080018&#39;].Value[0]<br><br>        // Construct the full image id used by Cornerstone to locate and load the frame<br>        const imageId =<br>            &#39;wadors:&#39; +<br>            &#39;/orthancUrl/dicom-web&#39; + // to use our proxy<br>            &#39;/studies/&#39; +<br>            studyIUID.trim() +<br>            &#39;/series/&#39; +<br>            seriesIUID.trim() +<br>            &#39;/instances/&#39; +<br>            SOPInstanceUIDToUse.trim() +<br>            &#39;/frames/1&#39;<br><br>        // Register the metadata so Cornerstone can access it<br>        cornerstoneDICOMImageLoader.wadors.metaDataManager.add(<br>            imageId,<br>            instanceMetaData<br>        )<br><br>        // Clean the dataset by removing invalid tags<br>        instanceMetaData = removeInvalidTags(instanceMetaData)<br><br>        // Turn the dataset into a natural form and attempt to read pixel spacing<br>        const metadata = dcmjs.data.DicomMetaDictionary.naturalizeDataset(instanceMetaData)<br>        const pixelSpacingInformation = getPixelSpacingInformation(metadata)<br>        const pixelSpacing = pixelSpacingInformation?.PixelSpacing<br><br>        // If pixel spacing exists, store it so Cornerstone can display calibrated measurements<br>        if (pixelSpacing) {<br>            calibratedPixelSpacingMetadataProvider.add(imageId, {<br>                rowPixelSpacing: parseFloat(pixelSpacing[0]),<br>                columnPixelSpacing: parseFloat(pixelSpacing[1]),<br>                type: pixelSpacingInformation.type,<br>            })<br>        }<br><br>        return imageId<br>    })<br><br>    // Return the list of image ids ready for use in the viewer<br>    return imageIds<br>}</pre><p><em>retrieveImageIds</em> retrieves every instance for a given study and series, then turns each one into a usable image id for Cornerstone. An imageId is the unique string that tells Cornerstone exactly where to find and how to load a specific DICOM frame (more here <a href="https://www.cornerstonejs.org/docs/concepts/cornerstone-core/imageId">https://www.cornerstonejs.org/docs/concepts/cornerstone-core/imageId</a>). It also cleans the images and format them for display.</p><pre>export function removeInvalidTags(srcMetadata) {<br>    // Create a clean object with no prototype for slightly faster access<br>    const dstMetadata = Object.create(null)<br>    // Get all tag identifiers present in the source metadata<br>    const tagIds = Object.keys(srcMetadata)<br>    let tagValue<br>    // Copy only the tags that contain a valid value<br>    tagIds.forEach((tagId) =&gt; {<br>        tagValue = srcMetadata[tagId]<br>        if (tagValue !== undefined &amp;&amp; tagValue !== null) {<br>            dstMetadata[tagId] = tagValue<br>        }<br>    })<br>    // Return the cleaned metadata object<br>    return dstMetadata<br>}</pre><h4><strong>2. Set manipulation tools</strong></h4><p>Now that we have our images, we can also define a function to create tools that we can use on our images. Read more about tools here <a href="https://www.cornerstonejs.org/docs/concepts/cornerstone-tools/tools">https://www.cornerstonejs.org/docs/concepts/cornerstone-tools/tools</a>. In <em>toolManager.jsx</em> we will define the following functions :</p><pre>import {<br>    addTool, Enums as csToolsEnums, ZoomTool, PanTool,<br>    StackScrollTool, TrackballRotateTool, ToolGroupManager, WindowLevelTool,<br>} from &#39;@cornerstonejs/tools&#39;;<br>import { MouseBindings } from &#39;@cornerstonejs/tools/enums&#39;;<br><br>export function create2DToolGroup(toolGroupId) {<br>    // Add tools to Cornerstone3D<br>    addTool(PanTool);<br>    addTool(ZoomTool);<br>    addTool(StackScrollTool);<br>    addTool(WindowLevelTool);<br>    // Create tool groups for 2D viewports<br>    const toolGroup2D = ToolGroupManager.createToolGroup(toolGroupId);<br>    // Configure 2D tool group<br>    toolGroup2D.addTool(ZoomTool.toolName);<br>    toolGroup2D.addTool(PanTool.toolName);<br>    toolGroup2D.addTool(StackScrollTool.toolName);<br>    toolGroup2D.addTool(WindowLevelTool.toolName);<br>    toolGroup2D.setToolActive(WindowLevelTool.toolName, {<br>        bindings: [{ mouseButton: MouseBindings.Primary }]<br>    });<br>    toolGroup2D.setToolActive(ZoomTool.toolName, {<br>        bindings: [{ mouseButton: MouseBindings.Secondary }]<br>    });<br>    toolGroup2D.setToolActive(PanTool.toolName, {<br>        bindings: [{ mouseButton: MouseBindings.Auxiliary }]<br>    });<br>    toolGroup2D.setToolActive(StackScrollTool.toolName, {<br>        bindings: [{ mouseButton: MouseBindings.Wheel }]<br>    });<br><br>    return toolGroup2D;<br>}</pre><pre><br>export function create3DToolGroup(toolGroupId, volumeId) {<br>    // Add tools to Cornerstone3D<br>    addTool(TrackballRotateTool);<br>    addTool(ZoomTool);<br>    // Create tool groups for 3D viewports<br>    const toolGroup3D = ToolGroupManager.createToolGroup(toolGroupId);<br>    // Configure 3D tool group<br>    toolGroup3D.addTool(ZoomTool.toolName);<br>    toolGroup3D.addTool(TrackballRotateTool.toolName, {<br>        configuration: { volumeId: volumeId },<br>    });<br>    // Activate tools<br>    toolGroup3D.setToolActive(TrackballRotateTool.toolName, {<br>        bindings: [{ mouseButton: MouseBindings.Primary }]<br>    });<br>    toolGroup3D.setToolActive(ZoomTool.toolName, {<br>        bindings: [{ mouseButton: MouseBindings.Secondary }]<br>    });<br>    return toolGroup3D;<br>}</pre><p>For each type of viewport (2D and 3D here), we load a set of tools, create a tool group, add each tool to the tool group and activate the tool.</p><h4>3. Create a viewport component</h4><pre><br>export default function ViewportContainer({ viewportRef, orientation }) {<br><br>    return (<br>        &lt;div className=&#39;flex flex-col bg-black p-5&#39;&gt;<br>            {orientation &amp;&amp;<br>                &lt;p className=&#39;text-stone-50 font-medium text-lg place-self-start self-start&#39;&gt;<br>                    {orientation}<br>                &lt;/p&gt;}<br>            &lt;div<br>                ref={viewportRef}<br>                className={&#39;viewport-element w-full h-full&#39;}<br>            &gt;&lt;/div&gt;<br>        &lt;/div&gt;<br>    );<br><br>}</pre><p>A simple component with some tailwindcss to display each of our plane orientation. Each container contains a <em>viewportRef</em> to specify to Cornerstone which DOM Element it should attach the image.</p><h4>4. Create the main viewer interface</h4><p>Inside <em>mainViewer.jsx</em> file we will first define manually</p><pre><br>const studyIUID = &#39;1.2.826.0.1.3680043.8.853.2.1533891&#39;;<br>const seriesIUID = &#39;1.2.840.113619.2.428.3.163579080.618.1743654594.50.3&#39;;<br>// you can get these infos from Orthanc GUI, on the dicom file information</pre><p>Then we define all the necessary ids and variables</p><pre>import { useEffect, useRef } from &#39;react&#39;;<br><br>// Define refs for each viewport<br>const axialContainerRef = useRef(null);<br>const sagittalContainerRef = useRef(null);<br>const coronalContainerRef = useRef(null);<br>const container3DRef = useRef(null);<br>const renderingEngineRef = useRef(null);<br><br>// Define viewports for diff orientations<br>const axialViewportId = &#39;AXIAL&#39;;<br>const sagittalViewportId = &#39;SAGITTAL&#39;;<br>const coronalViewportId = &#39;CORONAL&#39;;<br>const viewport3DId = &#39;VOLUME_3D&#39;;<br>const allViewportIds = [<br>    axialViewportId,<br>    sagittalViewportId,<br>    coronalViewportId,<br>    viewport3DId,<br>];<br><br>// Rendering engine id<br>const renderingEngineId = &#39;RENDERING_ENGINE&#39;;<br><br>// Volume id<br>const volumeName = &#39;VOLUME_ID&#39;; // Id of the volume less loader prefix<br>const volumeLoaderScheme = &#39;cornerstoneStreamingImageVolume&#39;; // Loader id which defines which volume loader to use<br>const volumeId = `${volumeLoaderScheme}:${volumeName}`; // VolumeId with loader id + volume id<br><br>// Tools id<br>const toolGroupId2D = &#39;TOOLGROUP_ID_2D&#39;;<br>const toolGroupId3D = &#39;TOOLGROUP_ID_3D&#39;;</pre><p>Then we load and init cornertone elements</p><pre>import { init as coreInit, volumeLoader, cornerstoneStreamingImageVolumeLoader } from &#39;@cornerstonejs/core&#39;;<br>import { init as toolsInit } from &#39;@cornerstonejs/tools&#39;;<br>import cornerstoneDICOMImageLoader from &#39;@cornerstonejs/dicom-image-loader&#39;;<br><br>useEffect(() =&gt; {<br>        initCornerstone();<br>    }, []);<br><br>async function initCornerstone() {<br>    await coreInit();<br>    await toolsInit();<br>    await cornerstoneDICOMImageLoader.init();<br>    await volumeLoader.registerVolumeLoader(<br>        &#39;cornerstoneStreamingImageVolume&#39;,<br>        cornerstoneStreamingImageVolumeLoader<br>    );<br>    await loadImage();<br>}</pre><p>Then we define the <em>loadImage()</em> function to load our medical images onto the interface</p><pre>// import cornerstone elements<br>import { Enums, RenderingEngine, setVolumesForViewports, utilities as coreUtilities} from &#39;@cornerstonejs/core&#39;;<br>import { VIEWPORT_PRESETS } from &#39;@cornerstonejs/core/constants&#39;;<br>import &#39;dicom-parser&#39;;<br><br>// import components<br>import { retrieveImageIds } from &#39;./dicomService&#39;;<br>import { create2DToolGroup, create3DToolGroup } from &#39;./handleTools&#39;;<br><br>async function loadImage() {<br>    // Load image IDs for the selected study and series<br>    const imageIds = await retrieveImageIds(studyIUID, seriesIUID)<br>    console.log(&#39;Loading series with&#39;, imageIds.length, &#39;slices&#39;);<br><br>    // Create tool groups for 2D and 3D interactions<br>    const toolGroup2D = create2DToolGroup(toolGroupId2D);<br>    const toolGroup3D = create3DToolGroup(toolGroupId3D, volumeId);<br><br>    try {<br>        if (imageIds.length === 0) {<br>            console.log(&#39;Please set an image ID first&#39;);<br>            return;<br>        }<br><br>        // Reuse existing rendering engine or create a new one<br>        let renderingEngine = renderingEngineRef.current;<br>        if (!renderingEngine) {<br>            renderingEngine = new RenderingEngine(renderingEngineId);<br>            renderingEngineRef.current = renderingEngine;<br>        }<br><br>        // Define all viewports with their type, element, and orientation<br>        const viewportInputs = [<br>            {<br>                viewportId: axialViewportId,<br>                type: Enums.ViewportType.ORTHOGRAPHIC,<br>                element: axialContainerRef.current,<br>                defaultOptions: { orientation: Enums.OrientationAxis.AXIAL }<br>            },<br>            {<br>                viewportId: sagittalViewportId,<br>                type: Enums.ViewportType.ORTHOGRAPHIC,<br>                element: sagittalContainerRef.current,<br>                defaultOptions: { orientation: Enums.OrientationAxis.SAGITTAL }<br>            },<br>            {<br>                viewportId: coronalViewportId,<br>                type: Enums.ViewportType.ORTHOGRAPHIC,<br>                element: coronalContainerRef.current,<br>                defaultOptions: { orientation: Enums.OrientationAxis.CORONAL }<br>            },<br>            {<br>                viewportId: viewport3DId,<br>                type: Enums.ViewportType.VOLUME_3D,<br>                element: container3DRef.current<br>            }<br>        ];<br><br>        // Add viewports to tool groups<br>        toolGroup2D.addViewport(axialViewportId, renderingEngineId);<br>        toolGroup2D.addViewport(sagittalViewportId, renderingEngineId);<br>        toolGroup2D.addViewport(coronalViewportId, renderingEngineId);<br>        toolGroup3D.addViewport(viewport3DId, renderingEngineId);<br><br>        // Apply the viewports to the rendering engine<br>        renderingEngine.setViewports(viewportInputs);<br><br>        // Load the volume and assign it to all viewports<br>        const volume = await volumeLoader.createAndCacheVolume(volumeId, { imageIds });<br>        await volume.load();<br>        await setVolumesForViewports(renderingEngine, [{ volumeId }], allViewportIds).then(() =&gt; {<br>            // Apply a preset to the 3D viewport for better visualization<br>            const viewport3D = renderingEngine.getViewport(viewport3DId)<br>            const volumeActor = viewport3D.getDefaultActor().actor;<br>            coreUtilities.applyPreset(<br>                volumeActor, VIEWPORT_PRESETS.find(<br>                   preset =&gt; preset.name === &#39;CT-Coronary-Arteries-2&#39;)<br>              // you can find other preset options on cornerstone docs<br>            );<br>        });<br><br>    } catch (err) {<br>        console.log(`Error loading image: ${err}`);<br>    }<br>};</pre><p>Take the time to understand each part of the function. The function first fetches all image IDs for the chosen study and series, then creates 2D and 3D tool groups for interaction. It creates the rendering engine , sets up viewports with the proper orientation, loads the volume into memory, assigns it to all viewports, and finally renders everything.</p><p>Finally we return for each plane orientation a viewport with its matching ref, using the ViewportContainer component.</p><pre>import ViewportContainer from &#39;./viewportContainer&#39;;<br><br>return (<br>    &lt;div className=&#39;w-screen h-screen p-10 gap-10 flex flex-col&#39;&gt;<br>        &lt;div className=&#39;flex flex-col place-items-start self-start text-stone-50&#39;&gt;<br>            &lt;p&gt;- Left click + drag to adjust brightness/contrast&lt;/p&gt;<br>            &lt;p&gt;- Right click + drag to zoom&lt;/p&gt;<br>            &lt;p&gt;- Middle click + drag to pan&lt;/p&gt;<br>            &lt;p&gt;- Mouse wheel to scroll through slices&lt;/p&gt;<br>        &lt;/div&gt;<br>        &lt;div className=&#39;w-full h-full grid grid-cols-2 gap-2&#39;&gt;<br>            &lt;ViewportContainer orientation=&#39;A&#39; viewportRef={axialContainerRef} /&gt;<br>            &lt;ViewportContainer orientation=&#39;S&#39; viewportRef={sagittalContainerRef} /&gt;<br>            &lt;ViewportContainer orientation=&#39;C&#39; viewportRef={coronalContainerRef} /&gt;<br>            &lt;ViewportContainer viewportRef={container3DRef} /&gt;<br>        &lt;/div&gt;<br>    &lt;/div&gt;<br>);</pre><h3>Running our app</h3><p>After running your app, Orthanc will ask you for a username and password (if you didn’t disable it). Then you should see an interface like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CWiFYclQ57WOxC5O_zo4LQ.png" /></figure><p>That’s it, we successfully displayed a DICOM image from Orthanc on the web !</p><p>You can find more tutorials and features to add on your viewer here <a href="https://www.cornerstonejs.org/docs/examples">https://www.cornerstonejs.org/docs/examples</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5a57fb1b363" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>