Mercurial > hg > orthanc-book
view Sphinx/source/users/cookbook.rst @ 660:a6e371768a70
dicom-as-json
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Apr 2021 12:41:31 +0200 |
parents | a6ed2c3f2a56 |
children | d5a646b2b421 |
line wrap: on
line source
.. highlight:: bash .. _cookbook: Quickstart ========== .. contents:: :depth: 2 .. _binaries: Obtaining binaries ------------------ To obtain the Orthanc binaries, you have several possibilities: * `Download pre-compiled packages <https://www.orthanc-server.com/download.php>`__. * :ref:`Use Docker <docker>`. * On GNU/Linux, use precompiled packages for :ref:`Debian/Ubuntu <debian-packages>`, or for `openSUSE <https://software.opensuse.org/search?q=orthanc>`__ (courtesy of Axel Braun). * On GNU/Linux, use our `LSB binaries <https://lsb.orthanc-server.com/>`__ (Linux Standard Base), that should easily and immediately run on most distributions. Those binaries are statically linked together with all their third-party dependencies. * :ref:`Compile Orthanc by yourself <compiling>`. * External contributors are also maintaining `Vagrant VM for Orthanc <https://github.com/jodogne/OrthancContributed/blob/master/Links.md#user-content-vagrant>`__. .. _orthanc-explorer: Opening Orthanc Explorer ------------------------ The most straightforward way to use Orthanc consists in opening **Orthanc Explorer**, the embedded administrative interface of Orthanc, with a Web browser. Once Orthanc is running, open the following URL: http://localhost:8042/app/explorer.html. Please note that: * The port number 8042 depends on your :ref:`configuration <configuration>`. * Orthanc Explorer does not work with Microsoft Internet Explorer. Please use Mozilla Firefox, Google Chrome, Apple Safari, or `any WebKit-based Web browser <https://en.wikipedia.org/wiki/WebKit>`__. Uploading DICOM files --------------------- The Orthanc Explorer interface contains a user-friendly page to upload DICOM files. You can reach the upload page at http://localhost:8042/app/explorer.html#upload. Then, you can drag and drop your DICOM files and click on the Upload button. You can `watch this video tutorial <https://www.youtube.com/watch?v=4dOcXGMlcFo&hd=1>`__ that shows how to upload files to Orthanc through Orthanc Explorer with Chromium. **Important:** There is currently a `known issue <https://bugs.orthanc-server.com/show_bug.cgi?id=21>`__ that might prevent Mozilla Firefox to correctly upload all DICOM files if using drag-and-drop. Uploading through the DICOM protocol ------------------------------------ Once Orthanc is up and running, any imaging modality can send instances to Orthanc through the DICOM protocol (with the C-Store command). Check :ref:`this tutorial <configure-modality>` to connect your modality to Orthanc. You can also use the standard command-line tool ``storescu`` from the `DCMTK software <https://dicom.offis.de/dcmtk.php.en>`__ to manually send DICOM images to Orthanc, for instance:: $ storescu -aec ORTHANC localhost 4242 *.dcm will send all the files with ".dcm" extension to the instance of Orthanc that is running on the ``localhost``, whose application entity title (AET) is ``ORTHANC``, and whose DICOM port is ``4242``. Obviously, all these parameters depend on your :ref:`configuration <configuration>`. Please check the :ref:`FAQ <dicom>` if you encounter any problem. Next steps ---------- 1. Read the general introduction ":ref:`dicom-guide`". 2. Have a look at your :ref:`configuration file <configuration>`. 3. Drive Orthanc through its :ref:`REST API <rest>`. 4. Automate DICOM tasks with :ref:`Lua scripts <lua>`.