Importing TCIA and NCI Imaging Data Commons datasets into Orthanc

Research teams load public TCIA and Imaging Data Commons collections into a local Orthanc through the TCIA plugin or DICOMweb. This page covers the method, prerequisites, sequence, storage planning and risks.

On this page

How to import TCIA and Imaging Data Commons data into Orthanc

A research or teaching team that wants a local, governed copy of public imaging collections inside Orthanc has two supported routes. The Orthanc TCIA plugin imports images from The Cancer Imaging Archive (TCIA) using NBIA cart spreadsheets or the NBIA REST API. According to the Orthanc Book, the NCI Imaging Data Commons (IDC) is reached through the DICOMweb plugin instead. The two routes differ in how the source is identified, how downloads are authorized and how the imported studies are later refreshed, so the choice should be made per collection before any server is built. Collection-level license terms and access rules are set by each source, not by Orthanc, and they must be confirmed for every collection before import, including attribution requirements, redistribution limits and any conditions on use for teaching or commercial work.

Before the first import, confirm the terms on the source site for each collection you plan to load, and record them alongside the Orthanc deployment so that anyone reviewing the archive later can see what was permitted. Check whether a collection requires a registered user or an access token, whether it has been updated since you last looked, and whether it contains derived objects such as segmentations or structured reports that your viewers and tools will need to handle. Plan storage against the full size of the cart or query result, not the size of a sample, and decide early whether the imported images will sit in the same Orthanc as patient data. Keeping open collections in a separate instance, or at least a separate database, is a simpler governance boundary than trying to tag them later. Confirm the exact plugin configuration keys, supported NBIA endpoints and IDC DICOMweb addresses against the current plugin documentation and your Orthanc version, since these details change between releases.

What a team needs before importing public collections

Importing public imaging collections is mostly a preparation exercise. The release you run, the host you run it on, the network path to the source services, the disk space and the license owner all shape whether the first import succeeds and whether the data can be used legally afterward.

A supported Orthanc release

Start from a current Orthanc release. The latest release in the project's NEWS file is 1.13.0, released on 2026-08-15, and it rewrote storage-area access and DICOM parsing and transcoding to improve caching and reduce memory use. Confirm the version your team runs, and plan the upgrade before the import if you are on an older line, since large imports exercise the storage and parsing paths hardest. Confirm the version in use before you schedule the import.

Orthanc NEWS file

A Docker, Windows or Linux host

Orthanc ships for Windows, macOS and Linux, including Debian, Ubuntu, openSUSE and FreeBSD packages, and as Docker images. Pick the platform your operations team can patch, back up and monitor. Before you install the TCIA plugin, read the plugin installation requirements for your chosen build in the plugins documentation, because plugin packaging differs between platforms and Docker images.

Orthanc plugins docs

Outbound HTTPS to source services

The TCIA plugin reaches The Cancer Imaging Archive through its NBIA services, and DICOMweb access to the NCI Imaging Data Commons runs over HTTPS. Ask your network team to allow outbound HTTPS from the Orthanc host to those endpoints, and check whether a proxy, egress filter or DNS policy sits between them. Test that path with a small collection before the full load.

Storage sized for the collections

Estimate storage from the collections you select, not from the size of the archive as a whole. Public imaging collections can be large, and Orthanc keeps both the DICOM files and its index, so budget for the stored files, database growth, backups and temporary space during import. Ask the data owner for per-collection sizes and file counts before you choose a database back end, because the built-in SQLite index is meant for smaller stores.

A named owner for license terms

Each public collection carries its own data access and reuse terms, and some require attribution, citation or a data use agreement. Name one person who reads those terms for every collection you load, records them, and decides who may use the data and for what purpose. Without a named owner, research groups tend to copy datasets into shared storage with no record of the conditions that apply.

Configuration sequence for the TCIA plugin and DICOMweb import

This sequence takes a local Orthanc from a clean install to a verified import of a small TCIA test collection, then adds a DICOMweb source for Imaging Data Commons. Each step ends with a check you can record before scaling up to larger collections.

  1. Install the TCIA and DICOMweb plugins

    The team responsible for the Orthanc host installs the official TCIA plugin and the DICOMweb plugin alongside the core server, using the packaging method already chosen for the deployment (Docker image, Linux package or Windows installer). Confirm the exact plugin file names and the plugin loading settings for your Orthanc version in the plugin documentation, since the configuration keys depend on the release in use. The step is done when the Orthanc log shows both plugins loaded without errors on startup.

  2. Confirm the REST API answers locally

    Before changing any configuration, the administrator queries the Orthanc system endpoint on the host and checks that the server responds, reports its version and lists the loaded plugins. Keep remote access disabled during this stage so the test runs only from localhost. The step is done when the system information shows the expected version and both plugins appear in the plugin list.

  3. Configure the TCIA plugin with a test collection

    Choose a small public collection from The Cancer Imaging Archive and prepare either an NBIA cart spreadsheet or a REST query that selects a limited number of series. Enter the TCIA plugin settings as described in the plugin documentation, confirming each configuration key for your version before editing the file. The step is done when the plugin reports a completed import job and the number of series it reports as requested matches the cart or query you prepared.

  4. Verify the TCIA import in Orthanc Explorer 2

    Open Orthanc Explorer 2 in a browser on the host and browse the imported patients, studies and series. Compare the study and series counts against the NBIA cart or the query results, and spot-check that a few instances open in the viewer. The step is done when the counts match the source manifest and no series is missing without an explanation in the import log.

  5. Record the baseline counts and storage use

    Before loading anything else, the administrator records the study, series and instance counts, the total disk use of the storage area and the database size. These figures become the baseline for later imports and for planning storage on larger collections. The step is done when the baseline is saved with the date, the collection name and the Orthanc version, so later imports can be compared against it.

  6. Configure the DICOMweb plugin for an IDC source

    Add the Imaging Data Commons as a DICOMweb peer or source in the DICOMweb plugin configuration, following the plugin documentation for the endpoint definition and any authentication it requires. Confirm the endpoint address and access rules with the Imaging Data Commons documentation at the time of setup, because public endpoints and their terms can change. The step is done when a query against the source returns study metadata through the plugin without errors.

  7. Retrieve a small IDC sample and verify it

    Retrieve a small, defined set of studies from the Imaging Data Commons source into Orthanc and compare the retrieved counts with the query results from the source. Check a sample of instances for the expected modality and transfer syntax, and confirm that the import does not duplicate studies already loaded from TCIA. The step is done when the retrieved counts match the query and the baseline counts have changed only by the expected amount.

How collection metadata maps to Orthanc study, series and patient records

This table compares each source identifier in a TCIA or Imaging Data Commons download with the Orthanc resource level it lands on and the attribute teams use for search and deduplication. Read it before the first import, then check the re-import rows against a small test collection in your own environment.

Source identifierOrthanc resource levelUse for search and deduplicationWhat to confirm
Collection nameNo direct Orthanc level; recorded in your import log or study descriptionGroup imports by collection in your own tracking, not in Orthanc core fieldsWhether the TCIA plugin writes collection names into any DICOM attribute in your version
Patient ID (PatientID)PatientPseudonymous key for grouping studies from one subjectKeep as delivered; do not re-key or replace with local MRNs
Study Instance UIDStudyPrimary deduplication key, since Orthanc identifies studies by DICOM UIDsHow Orthanc handles an incoming study whose UID already exists in the index
Series Instance UIDSeriesChecks whether a series was already stored before loading it againWhether a partial re-download adds missing series or duplicates existing ones
SOP Instance UIDInstanceUnique key for each image; detects duplicate instances within a seriesWhether duplicate instances are rejected, overwritten or stored twice in your configuration
Modality (Modality attribute)SeriesFilter for series such as CT, MR or SEG during searchModality values in the delivered files, which can vary between collections
Manifest or cart entryNot stored by Orthanc; maps to the list of UIDs you requestedReconcile what was requested against what Orthanc indexed after importWhether the cart or manifest file is kept alongside the import record
Re-import of an existing collectionStudy, series and instance records already in the indexCompare UIDs before and after a second run to confirm counts did not growBehavior on a test subset first, with instance counts recorded before and after

Choosing between the TCIA plugin and DICOMweb

This route fits a team that starts from an NBIA cart spreadsheet or from a fixed list of TCIA collections and wants those images in a local Orthanc. The Orthanc TCIA plugin imports open-data images from The Cancer Imaging Archive using either NBIA cart spreadsheets or the NBIA REST API, so the team's input is a defined list of series or collections rather than an open-ended query.

  • What the team supplies: a cart export or a list of collections, the Orthanc host with the TCIA plugin installed, and enough disk space for the selected series before the import starts.
  • How it is re-run: the same cart file is imported again when the set changes, so the team should version the cart spreadsheets alongside the Orthanc configuration.
  • How it is verified: compare study, series and instance counts in Orthanc against the cart manifest, and spot-check a sample of series for modality and series description.
  • Where it breaks down: a team that needs new collections every week, or that must query by attributes, will spend more effort maintaining cart files than the route saves.
  • Who owns it: the research or data team usually owns the cart list, while the platform team owns storage capacity and plugin upgrades.

Before you commit, confirm the plugin version your Orthanc release expects and whether your source list is stable enough to justify a spreadsheet-driven workflow.

Storage planning before large public datasets land in Orthanc

Plan the storage design before the first TCIA or Imaging Data Commons study is downloaded, because the index database is the part that is hardest to change later. The Orthanc Book states that the built-in SQLite index should be replaced by an enterprise database engine once a store holds several hundred thousand DICOM instances, and it recommends the PostgreSQL plugin for large datasets. Public collections are often built from many series per study, so the instance count can climb quickly even when the study count looks modest. Estimate the instance count from the collection manifests or NBIA cart spreadsheets before you choose the database, not after the import has started.

Size the file store from the same manifests. Multiply the expected byte volume by a margin for the copies Orthanc keeps while it ingests, indexes and serves images, and confirm that margin with a test import of a representative subset. If the archive must live in object storage, the S3, Azure and Google Cloud plugins move DICOM files out of the local disk, but the index still needs a database. Ask your storage team for the quoted throughput and cost of that object store, and check whether the data will sit in a region your data residency rules allow. Note that the Orthanc Book cites production hospital deployments holding more than 65 TB, so a multi-terabyte public collection is within the range the project has documented.

Plan for more than one Orthanc instance if the archive will serve several users or pipelines. Since Orthanc 1.9.2 with PostgreSQL or MySQL/MariaDB plugins 4.0, several instances can read and write the same database, which supports scaling and availability. Before any full import, restore a backup of the database and the file store to a separate host and confirm that Orthanc starts, that study counts match, and that a sample of images opens correctly. Record the Orthanc version and plugin versions you tested, because the 1.13.0 release changed storage-area access and parsing, and your restore test should run against the version you will use in production.

Security controls for a research archive holding public data

Public collections such as TCIA downloads carry no patient privacy obligations, but the Orthanc instance that holds them still needs the same access and exposure controls as any archive. The cards below cover the settings that decide who can reach the server, which routes stay closed, and how the team keeps evidence that the archive is governed.

Keep remote access off by default

Orthanc only accepts HTTP connections from localhost unless you change that. For a research archive used by one team on the same host, keep it that way and reach the web interface through an administrative tunnel. Before you enable RemoteAccessAllowed for anyone else, confirm who needs access, from which networks, and for how long. Record the decision in the deployment notes so that the setting does not drift during later changes.

Orthanc security FAQ

Require authentication with registered users

When RemoteAccessAllowed is enabled, the security FAQ says AuthenticationEnabled should be true, with each user defined in RegisteredUsers. Public imaging data is not a reason to skip this step, because the archive still exposes uploads, deletions and configuration routes to anyone who can log in. Check that no anonymous account exists, that shared credentials are replaced with named accounts, and that passwords are stored outside the configuration files that get copied into tickets or repositories.

Put HTTPS and a reverse proxy in front

Any instance reachable from the Internet should sit behind a reverse proxy that terminates HTTPS, so credentials and study data do not travel in clear text. The proxy is also the natural place to restrict source addresses, set request size limits and write access logs. Confirm the proxy forwards only the paths the team needs, and test that the Orthanc port itself is not published directly to the network.

Disable script and export routes

The security FAQ warns that the /tools/execute-script route can let a malicious user run any system command, and that the export route can overwrite files. Keep both disabled on any archive that is reachable beyond the administrator's workstation. If a workflow seems to need them, treat that as a design question to review, and document an alternative such as a scripted import run from a locked-down host.

Control access where the archive is shared

If analysts, partner sites or several course teams use the same collection, a single shared login is not enough to show who viewed or changed what. The advanced authorization plugin forwards each REST request's token to an external service that returns HTTP 403 when access is denied. Confirm which groups may read, which may write, and whether the identity provider can revoke access quickly when someone leaves the project.

Authorization plugin docs

Keep logs, reviews and dataset separation

Public data still needs a record of imports, logins and deletions, because the team must be able to show where a dataset came from and who changed it. Schedule periodic access reviews, keep logs outside the archive host, and check them after each import. If the same instance also holds patient images, separate them by instance, by credentials or by a documented access policy, so that a public collection never becomes a route into protected data.

Common import failures and how to fix them

This table pairs each common failure during a TCIA or Imaging Data Commons import with its likely cause, a fix and a check to confirm the fix worked. Work through the rows in order when a load stalls, since storage and index problems often appear after a partial import has already run. Confirm exact plugin option names and error text against the Orthanc Book for your release before editing configuration.

FailureLikely causeFix and verification
Manifest or cart file rejectedThe NBIA cart spreadsheet was exported from a different collection version, was edited in a spreadsheet tool that changed its encoding or dropped columns, or contains series identifiers the plugin cannot resolve.Re-export the cart from the TCIA portal, keep the file unedited, and open it in a plain text viewer to check the header row. Verify by importing a single series from the cart before loading the full manifest.
Source endpoint unreachable through a proxy or firewallThe Orthanc host cannot reach the TCIA or NBIA API or the Imaging Data Commons DICOMweb endpoint because outbound HTTPS is blocked, or the proxy requires settings Orthanc does not send.Test outbound HTTPS from the Orthanc host with a simple request to the endpoint, then confirm proxy settings with your network team. Verify by repeating the request from the Orthanc host itself, not from a workstation.
Partial import after interruptionA network drop, container restart or full disk stopped the transfer midway, so some series from the cart are present and others are missing.Compare the series list in the cart with the series stored in Orthanc, then re-run only the missing items. Verify by counting studies and instances per series against the cart before declaring the import complete.
Duplicate studies after re-running a cartRunning the same cart again stores the same SOP instances a second time when the plugin or the receiving instance does not deduplicate for that path.Check whether duplicates share StudyInstanceUID and SOPInstanceUID, then remove the extra copies using the REST API before further loads. Verify by querying the study count for the collection and confirming it matches the cart.
Disk exhaustion from a large collectionPublic collections can be far larger than the free space on the Orthanc host, and compressed or temporary copies during import add to the peak.Estimate total size from the cart before starting, provision storage for the full collection plus headroom, and confirm the storage path. Verify with free space checks during a trial import of a few series.
Slow queries when the SQLite index holds a large storeThe built-in SQLite index was kept after the store grew past the size where the Orthanc Book recommends an enterprise database engine.Plan a move to the PostgreSQL plugin before the store grows further, following the Orthanc Book scalability guidance. Verify by timing the same study-level query before and after the change.

How data moves from TCIA and IDC into the local Orthanc

The flow starts with a cart spreadsheet or REST request to the NBIA service, which the TCIA plugin uses to pull open-data images into Orthanc. A second path reaches the NCI Imaging Data Commons through the DICOMweb plugin. Both paths write into the same Orthanc core, which keeps its index in the database back end and its files in the storage back end. Users reach Orthanc only through a reverse proxy at the local network boundary. Check which side of the boundary holds the credentials and which component writes the files.

Two public sources feed one local Orthanc through separate plugins, with users reaching it via a proxy.

Questions teams ask before importing public imaging data

How much does importing TCIA data into Orthanc cost?

The software is free, so the cost is the people and infrastructure around it. You pay for planning, configuration, storage, the host the server runs on, and any review your organization requires. The main drivers are the number of collections, total volume, the storage back end you choose (local disk, a database plugin, or cloud object storage) and how much security review the data must pass. Ask any partner for a quote built from a written scope that lists collections, expected volume, storage design, and whether you need a security review. Orthanc Team SRL sells services and quotes them on request, and DeployOpen quotes follow from a written scope. Neither publishes a standard price.

How long does a first import of public imaging data take?

The duration depends on how much you import, how fast your storage and network are, and how much preparation comes first. Before any transfer you need the collection list, a sized storage target, a working Orthanc instance, and a decision on which NBIA cart spreadsheets or DICOMweb queries to use. A small test collection proves the pipeline before you commit to a full load. Ask your team or partner for a timeline tied to total volume, the import method and the verification steps you require, rather than a single figure for every dataset.

What does our team need to provide before the import starts?

Plan for four inputs. First, a licensing decision: check the terms of each public collection and confirm how your organization will use them. Second, storage sized for the full collection plus growth, with a backup target. Third, a Linux or Docker host that meets the Orthanc installation requirements for your platform. Fourth, a named owner who approves scope, holds the access credentials, and signs off on verification. Without a named owner, import decisions stall when questions about licensing or storage come up.

Can our team import the data alone using the documentation?

Yes, a team with Linux or Docker experience can follow the official documentation for the TCIA plugin and the DICOMweb plugin. The harder parts are sizing storage, choosing a database back end before data grows, and securing the server before it holds any data. Teams without these skills usually benefit from a short review of the design. Decide early whether your engineers will own the server after the import, because that ownership shapes how much documentation, runbooks and testing you need.

Does the Orthanc default configuration fit a public dataset import?

Not without changes. By default Orthanc accepts HTTP connections only from localhost. If you enable RemoteAccessAllowed, the documentation says to set AuthenticationEnabled to true, define users in RegisteredUsers, and use HTTPS with a reverse proxy for any Internet exposure. Also disable the /tools/execute-script route and the export route, since the security documentation warns that they can run system commands or overwrite files. Check these settings before the server holds any data.

When does Orthanc need a database engine beyond the default index?

The built-in SQLite index should be replaced by an enterprise database engine once the server stores several hundred thousand DICOM instances. The documentation recommends the PostgreSQL plugin for large datasets. Public collections can grow past that threshold quickly, so decide the database back end before the first bulk load. Moving the index later means a migration step, so confirm the database plan in your scope. Also confirm how object storage plugins fit your storage layout.

Do Orthanc Team or DeployOpen services fit this project?

They fit when you want outside help with deployment, configuration, or custom development. Orthanc Team SRL sells deployment, configuration and development services, including pre-paid dedicated support hours that are valid for 12 months, and quotes them on request. DeployOpen plans, implements, hardens, backs up and documents self-hosted open-source platforms inside your own infrastructure, and works from a written scope with agreed deliverables and timelines. Ongoing support and continuous testing are available as retainers. Compare both options against your internal skills and the scope you need.

How DeployOpen scopes and delivers a public dataset import

DeployOpen plans and builds public imaging dataset imports into Orthanc inside infrastructure you control, starting from a written scope. We confirm the source, the storage and database design, and the access rules before any bulk transfer begins, then hand over a tested, documented setup your team can run.

How we scope

  • Engagements are fixed-scope, with the collections, formats, and target Orthanc version agreed in writing before work starts.
  • We confirm which sources are in scope, such as NBIA cart spreadsheets, collection-level pulls, or DICOMweb access to Imaging Data Commons.
  • We size the storage and database need from your collection list, so the quote reflects the data your team actually intends to hold.

How we build

  • We configure the TCIA plugin or DICOMweb client and test retrieval on a small sample before any full import runs.
  • We set the index and file storage choice up front, since the SQLite index is generally replaced for large instance counts.
  • We validate imported studies, patient and series counts, and access controls, keeping Orthanc Explorer 2 or the REST API off the public network.

How we hand over

  • You receive the deployed configuration, import scripts, and a record of the sources, collection versions, and import dates used.
  • We document the steps to add or refresh a collection, including storage growth checks and the disk headroom your team must watch.
  • Handover includes a short walkthrough so your administrators can repeat imports and restore from backup without us.

How we support

  • Ongoing support, Orthanc upgrades, and continuous testing are available as retainers after the initial import is complete.
  • We can plan Orthanc version upgrades, such as moving between the 1.12 and 1.13 release lines, before they reach your archive.
  • Ask for a written quote that lists each source, storage target, verification step, and documentation item in the scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.