Orthanc for imaging research and AI datasets

Orthanc for imaging research and AI datasets: how research teams collect public and hospital DICOM, de-identify it, and serve it to analysis tools inside infrastructure they control.

On this page

Orthanc for imaging research and AI datasets: what the archive must do before analysis starts

Orthanc gives research teams one DICOM archive with DICOMweb access, and DeployOpen builds it in the client's own infrastructure. A research lead usually inherits public collections and hospital studies in mixed layouts, with different folder structures, tag habits and patient identifiers. Those studies must be de-identified before wider use, and then they have to reach analysis tools without copies spreading across laptops and shared drives. Done well, imports land in one governed place, de-identification runs as reviewable scripts, and each analysis tool reads studies over DICOMweb under an identity the organization already manages. DeployOpen scopes dataset preparation and serving only. It does not train models. The sections that follow cover source terms, import paths, de-identification and pixel masking, format conversion and access for analysis tools.

Before the first study arrives, decide what the archive is allowed to hold and who may see it. Public collections such as those from TCIA and IDC come with their own terms of use, and hospital studies come under the data sharing agreement or ethics approval that governs them. Write the de-identification profile down before scripting starts. It should state which DICOM attributes are removed, replaced or kept, and how dates and UIDs are handled. Burned-in text in pixel data is a separate problem, so the team needs a pixel masking step and a check that masks reach every series, including screenshots and secondary captures. Orthanc's Lua and Python scripting can apply these rules consistently, but someone must test the output against the written profile. Confirm with your data steward and ethics board which profile applies, because the archive cannot make that decision for you.

Analysis tools should reach the archive through DICOMweb, which means access has to be designed before the first tool connects. Orthanc accepts HTTP connections only from localhost by default, so remote access is a deliberate change. When you enable it, turn on authentication, define users, and serve the archive over HTTPS behind a reverse proxy. For identity-driven access, the advanced authorization plugin forwards each REST request's token to an external service that grants or denies it, and the orthanc-auth-service reference project shows this pattern with Keycloak-issued tokens. Disable the /tools/execute-script route and the export route, because the security guidance warns that they can run system commands or overwrite files. Then test every analysis account with a denied request as well as an allowed one, and confirm how your deployed plugin version behaves with your identity provider before any team depends on it.

Which requirements shape an Orthanc research build, and what each means for the build

This table sets out eight requirements that shape an Orthanc build for research imaging, with the source for each and the change it forces. Read the access and scripting rows as the baseline configuration, and the legal rows as decisions about sign-off and evidence. Confirm legal scope with counsel first, since the same archive can fall under different rules depending on the data's origin and holder.

RequirementSourceBuild consequence
Remote access defaultsOrthanc Book: Security FAQLeave access on localhost by default. If RemoteAccessAllowed is enabled, require AuthenticationEnabled with RegisteredUsers, plus HTTPS and a reverse proxy.
Execute-script and export routesOrthanc Book: Security FAQKeep /tools/execute-script and the export route disabled. Script execution can let a malicious user run any system command, and export can overwrite files.
HIPAA scope and business associate terms45 CFR 164.302 and 164.314(a)(2)(i)Confirm with counsel whether the data is ePHI. If so, each vendor handling it needs a contract covering Security Rule compliance and incident reporting.
Unique user identification45 CFR 164.312, Appendix A to Subpart CNo shared logins. Each user needs a separate account, and the login method must tie each account to one named person.
External access controlsCNIL fine against Hopital Prive de la Loire, 3 September 2026, GDPR Articles 32 and 34Require VPN and multi-factor authentication for external access, and limit each account to the data its team needs to see.
Health research under NIS2 Annex IDirective (EU) 2022/2555, Annex IConfirm whether your organization is a healthcare provider or a medicinal product R&D entity. If so, its imaging research systems may fall under NIS2 obligations.
PostgreSQL for large archivesOrthanc Book: Scalability FAQReplace the built-in SQLite index with the PostgreSQL plugin once the archive holds several hundred thousand instances. Plan this before the bulk import.
Orthanc 1.13.0 storage and parsing rewriteOrthanc NEWS file, release of 2026-08-15Rewrites storage access and parsing, so run regression tests on your own DICOM samples, including imports and NIfTI conversion, before adopting 1.13.0.

How images move from public sources to analysis tools

The flow starts with public downloads from TCIA and IDC and with approved exports from a hospital image source inside the hospital network trust boundary. All of them land in a staging Orthanc, where de-identification and pixel masking run before anything reaches the curated archive. Requests to the archive pass through the authorization service, which allows or denies each one, before DICOMweb access serves DICOM files and NIfTI conversion produces volumes for analysis tools. When reviewing, confirm where identity is checked, which tags and burned-in pixels the masking step covers, and that the hospital boundary is crossed only through the approved export.

Public and hospital sources pass de-identification and authorization before analysis tools.

Orthanc for imaging research: the modules and settings that matter

Six modules and settings decide whether an Orthanc archive can hold a growing research collection and release only de-identified studies. Each card names a choice to make, the risk it carries and what to confirm with Orthanc Team or in your own environment.

PostgreSQL plugin and object storage

The PostgreSQL plugin is the database route the Orthanc docs recommend once a collection reaches several hundred thousand instances, where the built-in SQLite index should be replaced. Pair it with S3, Azure or Google Cloud object storage for the DICOM files. Check the license first: the PostgreSQL plugin is AGPLv3 or later, while the Orthanc core is GPLv3 or later, so ask counsel what that means if you modify the plugin or let outside users reach it. Confirm that plugin and core versions match, and size the database for your expected instance count.

Orthanc plugins list

Scripting for anonymization and masking

Anonymization and pixel masking run through Orthanc's Lua, Python or REST API hooks, so one set of rules applies to every study that enters the research archive. Keep each script in version control and tag a release for each dataset version, so a re-run can be reproduced. Test scripts against the dataset's own de-identification rules before each run, and record which rules were checked. Confirm with your data steward which tags must be removed or replaced, which image regions must be masked, and who signs off on the rule set.

DICOMweb access for analysis and review

DICOMweb lets analysis tools query and retrieve studies over standard HTTP, so pipelines do not need a separate DICOM connection to the archive. Orthanc Explorer 2 and the OHIF viewer give reviewers a way to check masked images before release. Test each analysis tool against the DICOMweb endpoints it expects, including its handling of transfer syntaxes and large transfers. Confirm which viewer your reviewers will use and that masked regions render as intended in it.

Separate staging and curated archives

Keep an intake archive for raw imports from public collections and a curated archive for de-identified studies that researchers may use. Only reviewed studies move across, so unmasked data does not reach the analysis environment by accident. Decide whether the two roles run as separate Orthanc instances or as separate storage areas, and confirm who may move studies between them. Set retention for the staging archive so raw copies are deleted on a schedule your data governance team approves.

Advanced authorization with Keycloak tokens

The advanced authorization plugin forwards each REST request's token to an external web service, which allows or denies the request and returns HTTP 403 when access is denied. The orthanc-auth-service reference project uses Keycloak-issued user tokens with Orthanc Explorer 2, so it is a starting point for a research access model. Confirm the group mapping between Keycloak groups and Orthanc permissions, including which groups may read raw studies. Test denied requests as well as allowed ones, and confirm the reference project's maintenance status before adopting it.

Authorization plugin docs

Hardening settings for network access

By default Orthanc accepts HTTP connections only from localhost. If you enable RemoteAccessAllowed, also enable AuthenticationEnabled with users defined in RegisteredUsers, and place HTTPS behind a reverse proxy before any Internet exposure. Keep the script execution route and the export route disabled, since the security FAQ warns that the first can run system commands and the second can overwrite files. Confirm the configuration with an external scan, and review DICOM TLS for any inter-site exchange.

Orthanc security FAQ

Where the research archive runs: lab server, hospital network or cloud

A lab or institute server is the simplest home for a research archive. Orthanc runs from a Docker image or a Linux package on hardware the research group or IT department controls, usually on a network segment that only lab staff and approved tools can reach. Access, backup and logging depend mostly on who can reach the host and how its disks are protected.

  • Install method: Run the Orthanc download page packages or Docker images, and pin the version so upgrades happen on a schedule you choose.
  • Storage sizing: Storage is sized in the written scope from the planned number of source studies, the de-identified copies you keep and the growth you expect. Keep original and anonymized datasets on separate volumes where practical.
  • Access: Orthanc accepts HTTP connections only from localhost by default. If you enable RemoteAccessAllowed for analysis tools, turn on AuthenticationEnabled and define users in RegisteredUsers.
  • Backup: Backups usually go to a second disk, a NAS or media held by the institute. Test restores on a schedule, not only whether the backup job reports success.
  • Audit logging: Orthanc writes its logs to the host. Agree with your security team which access events must be kept, how long, and where the logs are forwarded.

Before you commit, confirm the storage estimate, the list of administrators on the host and whether the institute's backup service covers the archive volume.

How de-identification and NIfTI conversion sit between import and analysis

The order of operations matters more than any single tool setting. Imports from TCIA or IDC, or from a local research source, land in a staging instance first, where analysts cannot yet see them. Before any tag changes, the named data owner confirms the source terms in writing, including any limits on redistribution, commercial use or linkage to other records. Only then are DICOM tags de-identified against a documented profile, and burned-in text in the pixel data is masked on the images that need it. The run is recorded, and the output moves to the curated archive. NIfTI conversion happens only from curated data, and the converter, its version and its parameters are written into the run record so the dataset can be reproduced later.

Verification happens on samples before anything is published, and it must cover the places tag-level rules miss. A reviewer opens sampled studies, checks the masked pixel regions on images that carried burned-in text, and inspects any private tags that survived the profile. Orthanc scripting, through its Lua, Python and Java plugin options and the REST API, can run these steps as repeatable jobs, including anonymization and pixel masking, so the same profile runs the same way on every import. Automation does not replace validation. A person signs off each release to the curated archive, and the client's privacy office owns the decision that the dataset is acceptable to share.

Each de-identification run needs a named owner, retained evidence and a logged run history. The owner is accountable for the profile version, the source terms record and the sign-off, and that person should be named in the project plan before the first import. The evidence includes the profile used, the sample review notes, the masked-pixel check results and an export of the run log, kept under the client's retention rules. During scoping, confirm which of these records the scripts write automatically and which need a manual entry. The privacy office should review the evidence format before the first dataset is released, because its staff will answer questions about that dataset long after the project closes.

A staged rollout from one research collection to a governed archive

The rollout moves one research collection through six gates, and each gate has a written check that must pass before the next begins. The order matters: terms and privacy classification come first, the staging instance is tested on the release you will run, and de-identification is verified before any analysis tool reaches the data. The result is an archive that your privacy office, security team and research leads can review one step at a time.

  1. Confirm dataset terms and privacy classification

    Collect the data use terms for each source collection and the privacy office's classification of each one, including whether the data is identifiable and what re-identification risk the office accepts. You provide the terms, the classification and a named owner for each collection. DeployOpen turns these into a written import list that records which licenses allow copies inside your environment and which need attribution or approval. The step is done when the privacy office approves the list in writing.

  2. Stand up a staging instance on a pinned release

    Install Orthanc on a staging host from a pinned release, using the package or Docker image that matches your platform, and record the exact version in your change log. Orthanc 1.13.0, released on 2026-08-15, rewrote storage-area access and DICOM parsing and transcoding to improve caching and reduce memory use, so the import and de-identification pipeline must be tested on that code path before you adopt it. You provide the host, a sample of test DICOM files and the pipeline scripts. The step is done when the pipeline completes on the test set with the expected study and instance counts and no parsing errors.

  3. Import a sample and verify de-identification

    Import one sample collection into staging and run the anonymization profile on it. Configure pixel masking for any burned-in identifiers, then test the output against a written checklist: patient and study identifiers removed or replaced, private tags reviewed, masked regions confirmed on sampled images, and study and series structure preserved. You provide the approval authority for the checklist and a reviewer who did not build the pipeline. The step is done when every check passes or carries a documented exception that the privacy office has approved.

  4. Configure identity, authorization and hardening

    Keep RemoteAccessAllowed off until AuthenticationEnabled is set and users are defined in the configuration, then place HTTPS and a reverse proxy in front of the server for any network exposure. Route per-request access decisions through the advanced authorization plugin, which forwards each token to an external service and returns HTTP 403 when access is denied. Decide with your identity team whether that service uses your existing provider, such as Keycloak. Disable the /tools/execute-script and export routes, which the security FAQ warns can run system commands or overwrite files. You provide the identity provider, the role definitions and the hosting network. The step is done when a test user without rights is denied on every route and the configuration review is signed.

  5. Connect one analysis tool over DICOMweb

    Enable the DICOMweb plugin on staging and connect one analysis tool, such as a Python pipeline your group already runs, using a service account limited to the de-identified collection. Record which DICOMweb endpoints and query parameters the tool uses, then run a fixed set of analysis tasks and compare the outputs with the same tasks run on a copy obtained directly from the source. You provide the tool, the analysis tasks and a research lead to review the access model. The step is done when the outputs match, access logs show only the service account, and the research lead signs off.

  6. Document backups, upgrades and staging retirement

    Write the backup design, covering what is backed up, where copies are kept, how the index and files stay consistent, and a restore test on a separate host. Document the upgrade plan, which tests each new Orthanc release on staging before production and sequences database plugin and PostgreSQL changes. Set the retirement rule for staging copies: staging holds only approved test data, copies are removed when the test ends, and each removal is logged. You provide the backup target, the change approval path and the owners who sign the documents. The step is done when a restore test succeeds and the privacy office and platform owner approve the handover.

Which health rules reach Orthanc for imaging research

Six rules and frameworks decide what happens to an imaging research copy once it sits in Orthanc. Most of them turn on one question: whether the copy is still protected health information, and who holds it. Check each card with your privacy office, security team and counsel before the first import.

HIPAA scope for research copies

The HIPAA Security Rule reaches covered entities (health plans, health care clearinghouses and covered health care providers) and their business associates, for all electronic protected health information they create, receive, maintain or transmit. An Orthanc archive run by a covered entity or its business associate usually falls inside that scope, and a research copy made from it does too unless it has been properly de-identified. The privacy office should confirm in writing whether each research copy is ePHI or de-identified before the first import.

Subpart C text

Technical safeguards and their records

The technical safeguards in 45 CFR 164.312 contain seven implementation specifications. Unique user identification is required, so every person and service account needs its own identity; when remote access is enabled, AuthenticationEnabled and RegisteredUsers are the settings to confirm. Automatic logoff and encryption are addressable: you must assess each one and either implement it or record why it is not reasonable and what equivalent measure you use instead. Keep that decision record with the deployment, because an auditor will ask for it.

Appendix A matrix

Business associate contract terms

A business associate contract under 45 CFR 164.314 must require the business associate to comply with the Security Rule, flow the same terms down to subcontractors that handle ePHI, and report security incidents, including breaches of unsecured PHI, to the covered entity. Map who else holds the ePHI: a hosting provider, a managed service firm, an implementation partner or a storage vendor may each touch the archive. Ask counsel whether each one needs a contract on these terms, and confirm that the subcontractor chain is written down before any data moves.

Section 164.314 text

No HIPAA certification, only enforcement

There is no HIPAA certification. No Security Rule standard requires certification, and HHS has said that private certifications do not prevent it from later finding a violation. The HHS Office for Civil Rights enforces the rule through complaints, compliance reviews and audits. For penalties assessed on or after 28 January 2026, the inflation-adjusted civil money penalty runs from $145 to $2,190,294 per violation, with a calendar-year cap of $2,190,294. DeployOpen prepares systems, controls and evidence for your assessment, but it does not issue audit reports, attestations or certifications; independent auditors and certification bodies do.

HHS certification FAQ

Pending Security Rule revision

HHS proposed a major Security Rule revision on 6 January 2025 (90 FR 898). As of October 2026, no final rule had been published, and the Unified Agenda projected final action for July 2027. Treat the proposal as a planning input until a final rule is published, and confirm the current status on reginfo.gov before you size controls or sign contracts against it.

Unified Agenda entry

EU exposure for research copies

France's CNIL fined Hopital Prive de la Loire EUR 500,000 on 3 September 2026 under GDPR Articles 32 and 34. It found that external access to the patient record system lacked VPN and multi-factor authentication, and that access control ignored the care team's need to know. NIS2 Annex I lists health as a sector of high criticality, including medicinal product research and development, and Regulation (EU) 2025/327 sets rules for secondary use of health data. Review EU scope with counsel before sharing a copy across borders.

European Health Data Space text

What research teams ask before hiring outside help for Orthanc

How much does outside help for an Orthanc research archive cost?

Orthanc has no paid edition, so the spend is the labor and infrastructure around it, and most engagements are fixed-scope, with the quote following from a written scope agreed before work starts. Labor for planning, deployment, de-identification, pipelines and validation is usually one-time, while storage, compute and network capacity recur. The main drivers are:

  • The number of sources, such as TCIA or IDC collections, and how many formats and modalities each contains.
  • The de-identification rules, including whether pixel masking is required.
  • The storage and access model, including who can query, download and export.

Orthanc Team SRL sells services and prepaid dedicated support hours valid for 12 months, quoted on request. Ask each quote to split one-time work, recurring support and infrastructure.

How long does an Orthanc imaging research project take?

No duration is fixed in advance, because the timeline depends on three things outside the build: dataset approvals, validation depth and network changes. Dataset access agreements and privacy sign-off often set the pace, so start them early. Validation depth matters too, since checking de-identification on a representative sample takes less time than verifying every series in a full collection. Network changes, such as firewall rules, DNS, certificates and identity integration, need their own change windows. Ask for a timeline in the written scope that lists these dependencies, the milestones and the client tasks that gate each one.

What do we need to provide for an Orthanc research engagement?

Your side supplies the decisions and access that the build cannot make alone. Expect to provide:

  • Dataset terms, including the license or data use agreement for each source and which collections you may store and share internally.
  • Privacy sign-off on the de-identification profile and on what counts as an identifier in your data.
  • Network and identity contacts who can approve firewall rules, DNS, certificates and single sign-on settings.
  • Sample data, ideally a small de-identified set that matches the modalities and vendors you will import, so validation runs on representative content.

Name one decision owner on your side, since open items on access and data scope often stall the work.

Can our own team build and run an Orthanc research archive?

Yes, if your team has the skills for it, because Orthanc is open source and there is no paid edition to buy. Orthanc is distributed for Windows, macOS and Linux and as Docker images, so the main requirements are a Linux or Docker host, scripting ability and capacity to validate. Validation is the part teams most often underestimate: someone must confirm that de-identification removes the identifiers you care about, that pixel masking covers burned-in text and that every import matches its source. Plan for ongoing ownership as well, including upgrades, backups, access reviews and log checks.

Do TCIA and IDC terms allow us to copy their data into Orthanc?

That depends on the terms that apply to each collection, and you need to confirm them with each source before import. Collections can carry different license conditions, attribution requirements and limits on redistribution or commercial use, so check the terms for every collection you plan to load, not only the general statement on the portal. Record what you checked, the version of the terms you read and the date. Keep that record with the project scope, because reviewers may ask for it. DeployOpen does not give legal advice on data use, so involve your legal or research compliance office for the interpretation.

Should we upgrade our Orthanc research server to version 1.13.0?

Test it first in a staging copy of your archive before you change production. Orthanc 1.13.0 was released on 15 August 2026 with a complete rewrite of storage-area access and DICOM parsing and transcoding, aimed at better caching and lower memory use. Changes at this depth can affect custom Python scripts, plugins, database back ends and any pipeline that reads files directly, so run your own import, de-identification and DICOMweb queries against the new version and compare the results. Read the Orthanc NEWS file before planning, and confirm which plugin versions you need alongside the core. Ongoing upgrades and testing can be covered by a DeployOpen retainer, so testing continues after each release.

Does an Orthanc engagement include training AI models on our imaging data?

No. Outside help for Orthanc covers preparing datasets and serving them to analysis tools, not training or tuning models. The work can include importing and de-identifying collections, converting formats such as NIfTI, building Python pipelines that export labeled sets and configuring DICOMweb access so analysis tools can query studies. Model training and tuning need their own scope, data permissions and compute plan. Confirm in the written scope where the prepared datasets are stored and who owns them.

Does 21 CFR Part 11 apply to our Orthanc research archive?

It applies only if the imaging supports regulated electronic records, such as records created or maintained for an FDA-regulated study or submission. A research archive used only to store and share images for analysis may fall outside it, but that determination belongs to your quality or regulatory team. If Part 11 applies, the controls cover audit trails, access limits, validation of the system for its intended use and controls over electronic signatures. These must be designed into the deployment, and documented evidence must show they work. Read the 21 CFR Part 11 text on eCFR before you scope the work.

How DeployOpen scopes and delivers an Orthanc research archive

DeployOpen plans and builds Orthanc for imaging research and AI datasets inside infrastructure you control, from cloud accounts to data centers or air-gapped networks. Each engagement starts with a written scope covering how studies are imported, de-identified and served to analysis tools. Work is documented and handed over so your research and compliance teams can review how the archive handles data.

How we scope

  • The written scope names each dataset source, such as TCIA or IDC imports, before any build work starts.
  • Scope sets the de-identification profile, pixel masking rules and which DICOM tags are kept for each study type.
  • Fixed-scope engagements list deliverables, timelines and acceptance tests in writing, and a quote follows from that scope.

How we build

  • Orthanc is deployed in your infrastructure, with the database plugin chosen for expected dataset size and multi-instance needs.
  • Import, anonymization, pixel masking and NIfTI conversion are built as scripted, repeatable steps with logged outputs.
  • DICOMweb access is configured for analysis tools, with access control set before any research user receives credentials.

How we hand over

  • Handover includes configuration records, runbooks and the import and de-identification scripts your team will maintain.
  • Test evidence from de-identification checks is delivered so your privacy and compliance reviewers can inspect the results.
  • Compliance evidence is prepared for your assessors. DeployOpen does not issue audit reports or certifications; independent auditors do.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Orthanc upgrades, including database plugin and PostgreSQL changes, are planned and tested before they reach the archive.
  • Security settings such as authentication, HTTPS and disabled script and export routes are reviewed on each change.

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.