# New DICOMweb features: launch Slicer from web browser and download/upload data sets to the cloud using DICOMweb

**URL:** <https://discourse.slicer.org/t/new-dicomweb-features-launch-slicer-from-web-browser-and-download-upload-data-sets-to-the-cloud-using-dicomweb/17811>\
**Category:** Support\
**Tags:** feature, dicom, web\
**Created:** [May 26, 2021, 2:45pm UTC](https://discourse.slicer.org/t/new-dicomweb-features-launch-slicer-from-web-browser-and-download-upload-data-sets-to-the-cloud-using-dicomweb/17811 "2021-05-26T14:45:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 26, 2021, 2:45pm UTC](https://discourse.slicer.org/t/new-dicomweb-features-launch-slicer-from-web-browser-and-download-upload-data-sets-to-the-cloud-using-dicomweb/17811/1 "2021-05-26T14:45:40Z")

</div>

Modern DICOM cloud storage services and applications increasingly use DICOMweb protocol instead of classic (DIMSE) DICOM networking. Three new features have been added to 3D Slicer to support cloud-based DICOM workflows.

The new features are demonstrated in this video:

[![](https://img.youtube.com/vi/60_hzSlptWY/maxresdefault.jpg "Using 3D Slicer with cloud DICOMweb databases") ](https://www.youtube.com/watch?v=60_hzSlptWY)

## 1. Launch 3D Slicer directly from the web browser

The application can be launched on a study selected in a DICOM browser. For example, [Kheops](https://kheops.online/) DICOM cloud sharing platform has a View in 3D Slicer button:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/7/a7a36c06c3a093105e52208a1a7e5b9db3a5e5a7.jpeg)

3D Slicer is opened and download link and access code is passed to the application by opening a custom URL in the format: `slicer://viewer/?studyUID=...&access_token=...&dicomweb_endpoint=...&dicomweb_uri_endpoint=...`.

The custom URL must be associated with 3D Slicer application. This association is created automatically when recent 3D Slicer Preview Release is installed on Windows and can be [registered manually on other platforms](https://support.shotgunsoftware.com/hc/en-us/articles/219031308-Launching-Applications-Using-Custom-Browser-Protocols).

## 2. Browse and download content from DICOMweb databases

DICOMweb Browser module (in DICOMwebBrowser extension) has been added that allows connecting to any DICOMweb database (Kheops, DCM4CHEE, Orthanc, Google Cloud Healthcare API, [DCM.js lightweight server](https://github.com/dcmjs-org/dicomweb-server), etc), locally or on the cloud. The browser supports quick switching between servers, filtering, local caching of downloaded results.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/c/5c376b9f4fdf7eceb450c172f7271ce1e3daa7ff.jpeg)

## 3. Upload data sets from 3D Slicer to DICOMweb databases

The downloaded images, segmentations, or other data sets can be edited in 3D Slicer and then uploaded back to the web database to share it with others.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/c/9cd6d1053d02dabe78e05a2e88a3317a658b465e.png)

---

<div class="post-metadata">

**Author:** ![KSC\_IA](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ksc_ia/32/18357_2.png) [@KSC\_IA](https://discourse.slicer.org/u/KSC_IA)\
**Post date:** [February 11, 2023, 5:34pm UTC](https://discourse.slicer.org/t/new-dicomweb-features-launch-slicer-from-web-browser-and-download-upload-data-sets-to-the-cloud-using-dicomweb/17811/2 "2023-02-11T17:34:13Z")

</div>

Hello Dr Lasso.

The functionality offered with DICOMweb Browser is super interesting. We are running an Orthanc Research Server, but it’s gated by a username/password. Does it support entering username/password combinations?

I look forward to your reply.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 12, 2023, 12:55pm UTC](https://discourse.slicer.org/t/new-dicomweb-features-launch-slicer-from-web-browser-and-download-upload-data-sets-to-the-cloud-using-dicomweb/17811/3 "2023-02-12T12:55:01Z")

</div>

Probably you need to add authentication information to the request or its header. This is inplemented and tested for accessing Google Cloud Platform storage and Kheops - see around here: [SlicerDICOMwebBrowser/DICOMwebBrowser.py at dd7cd4a1535a246724f0580e2416cf33cbe1d0b9 · lassoan/SlicerDICOMwebBrowser · GitHub](https://github.com/lassoan/SlicerDICOMwebBrowser/blob/dd7cd4a1535a246724f0580e2416cf33cbe1d0b9/DICOMwebBrowser/DICOMwebBrowser.py#L543)

You would probably need to modify the code around there to allow authentication with your server.
