Back to blog

    Radiology Data QC for Research Teams: From MRIQC to Audit Scripts

    Radiology researcher reviewing a brain MRI

    Radiology data QC is the process of verifying, cleaning, and documenting imaging datasets so they are safe and reliable to use for research or AI model development. The first action to take, within the first 10 to 30 minutes, is a provenance check paired with a DICOM metadata audit, followed by three fast gates: file integrity, DICOM conformance, and a de-identification release check.


    TL;DR:

    • Teams can hash every incoming series and validate DICOM conformance before image analysis; these checks take seconds per file and catch transfer errors early.
    • Metadata scrubbing cannot remove identifiers burned into pixels, so teams should use OCR with uncertainty scoring and send uncertain detections to human reviewers.
    • MRIQC processing takes 10 to 15 minutes of compute per scan, plus 1 to 5 minutes of human rating time per subject.
    • Teams should lock partitions by subject and random seeds, record versions and changes in sidecars, and require audit reports, reviewed samples, and agreement metrics for release.

    Kohealth Labs
    Support for Clinical Research Labs
    KoHealth Labs partners with research organizations on laboratory testing, specimen management, and study-specific diagnostic solutions.

    Why QC Matters for Radiology AI and Common Failure Modes

    Skipping QC does not just risk messy data. It risks biased models, invalid validation results, wasted compute, and in clinical settings, decisions built on flawed inputs. A model trained on corrupted or mislabeled series will often appear to perform well in testing while failing in deployment, because the same errors that trained it also validated it.

    Several failure modes show up repeatedly in imaging datasets before anyone notices:

    • Corrupt or truncated slices that silently break volume reconstruction.
    • Incorrect orientation or series-description tags that mislabel anatomy or sequence type.
    • Missing series within a study, which throws off multi-sequence pipelines.
    • Protected health information embedded in pixel data, such as burned-in annotations, rather than only in metadata fields.

    The IAEA’s remote automated QC methodology found that routine, frequent QC checks catch short-term equipment and data fluctuations that annual testing alone misses, which is part of why the agency recommends daily or weekly constancy checks rather than periodic ones. A validation study across digital radiographic units tested multiple longitudinal datasets to confirm that frequent automated checks reliably flag drift. That same logic applies to research pipelines: problems compound quietly until someone runs a check.

    Operational QC Checklist (Ingest to Image to Annotation to Release)

    A working QC pipeline moves through four stages, each with its own gate. Skipping a stage does not save time, it just moves the failure downstream where it costs more to fix.

    1. Ingest checks: compute file hashes for every incoming series, validate DICOM conformance against the standard, confirm required tags are present, and run the files against a baseline schema before anything touches a model.
    2. Image-level checks: run no-reference image quality metrics, using MRIQC for MRI data or signal-difference-to-noise-ratio and modulation transfer function measures for radiography, and flag statistical outliers for review.
    3. Annotation QA: record the annotator ID on every label, calculate inter-rater agreement across a sample, and store annotation sidecars with version numbers so you can trace a label back to its source.
    4. De-identification: apply metadata redaction recipes first, then run pixel-text localization with OCR and uncertainty scoring to catch burned-in identifiers that metadata scrubbing misses.
    5. Partitioning and versioning: generate subject-level partition files, fix random seeds for reproducibility, and keep a change log every time the dataset is touched.
    6. Release artifacts: produce a JSON or CSV audit report, a MultiQC summary where applicable, and a sample of flagged edge cases set aside for manual review before sign-off.

    De-identification deserves its own attention within this sequence, because metadata and pixel data fail independently. A study can have perfectly scrubbed DICOM headers and still carry a patient name burned into the corner of a scanned image. We walk through the specifics of that layered approach in our guide to DICOM de-identification without losing research value, which covers both the metadata recipe and the pixel-level audit.

    Pro Tip: Run your cheapest, fastest checks first. File hashes and DICOM conformance take seconds per file and catch a surprising share of problems before you spend compute on image-quality metrics.

    The sequence matters because each stage filters out a different class of problem. Ingest checks catch corrupted transfers. Image-level checks catch acquisition or reconstruction issues. Annotation QA catches human inconsistency. De-identification checks catch privacy exposure that nothing else will flag. Treating these as one monolithic “QC step” is how teams end up with datasets that pass a surface check but fail in production.

    Radiology data passing through four QC stages

    Tools and Standards That Make QC Repeatable

    Matching the right tool to the right checklist stage keeps QC from becoming a one-off manual effort every time a new dataset arrives.

    • MRIQC extracts no-reference image quality metrics for structural, functional, and diffusion MRI, and pairs with a rating widget for rapid visual review once the automated metrics flag candidates for a second look.
    • dicomqc operates as a policy-driven, read-only audit framework that validates DICOM metadata after pseudonymization and produces JSON, CSV, and MultiQC-compatible outputs, making it a practical pre-release gate rather than a de-identification tool itself.
    • IAEA ATIA and pyATIA use simple phantoms to run detectability-based checks on radiography and mammography equipment, producing metrics like SDNR, MTF, normalized noise power spectrum, and detectability index.
    • MAIC-10 and CLAIM are reporting checklists for AI imaging studies. MAIC-10 reduces checklist complexity by 76% compared with CLAIM while maintaining good correlation with it, which makes it a faster option when preparing a dataset description or manuscript.
    • VIDS-style documentation refers to machine-checkable provenance fields, such as subject registry identifiers and version tags, included directly in dataset sidecars rather than left to a separate readme file.
    Tool or standard What it checks Typical output
    MRIQC No-reference MRI image quality metrics HTML/JSON reports, rating widget
    dicomqc DICOM metadata compliance post-pseudonymization JSON, CSV, MultiQC summary
    IAEA ATIA / pyATIA Phantom-based radiography and mammography detectability SDNR, MTF, NNPS, d’ metrics
    MAIC-10 / CLAIM Reporting completeness for AI imaging studies Checklist score

    Treat dicomqc as a release gate, not a cleaning tool: run it after pseudonymization to confirm the metadata layer is clean, and route any findings back to your anonymization tooling, such as DCMTK or Orthanc, for remediation rather than trying to patch records by hand.

    Automated Pipeline Patterns and Scalable Visual Review Workflows

    Automation handles volume, but radiology datasets still need human eyes on the cases that matter. The canonical pattern is a funnel: ingest, automated checks, triage and uncertainty scoring, visual review, then a release gate.

    1. Ingest and automated screening runs the checks described above across the full dataset without human involvement.
    2. Triage and uncertainty scoring ranks flagged items by confidence, so a detection model’s high-confidence findings can auto-process while mid- and low-confidence cases route to a human reviewer.
    3. Visual review uses a lightweight app, built on something like Flask, that renders PNG snapshots or montages of flagged series so multiple raters can move through cases quickly rather than opening a full DICOM viewer for each one.
    4. Release gate only lets a dataset through once the flagged sample has been reviewed and the audit log is complete.

    A scalable QC pipeline for large diffusion and structural MRI datasets built exactly this kind of PNG-based Flask viewer paired with CSV audit logs, and reported high inter-rater agreement when the automated triage step reduced the review workload to a manageable sample rather than the full dataset. Sampling rate matters here: reviewing every tenth flagged case versus every case changes both your turnaround time and your confidence in the release.

    For pixel-level PHI detection specifically, an uncertainty-aware hybrid de-identification approach combines rule-based metadata cleansing with a detection model, such as a Faster R-CNN variant, that propagates uncertainty scores for text found in the image itself. Setting a conservative confidence threshold, so that only high-confidence detections auto-process while anything uncertain routes to a human, keeps the automation useful without letting it quietly leak protected information.

    Pro Tip: Log every QC decision as its own row: item ID, QC result, rater, timestamp, and a free-text note. That log becomes your audit trail and your fastest way to spot a rater who disagrees with the group pattern.

    Aggregating those logs across raters lets you calculate agreement metrics directly, which feeds back into both your annotation QA step and your confidence in the final release.

    Metadata, Provenance, and Release-Readiness Best Practices

    A dataset that passes every image-quality check can still fail review if nobody can trace where it came from or how it changed. The minimum documentation layer should include a dataset version identifier, a subject registry, partition files, annotator provenance, and a change log that records every modification.

    Sidecars, the small JSON files that travel alongside each imaging series, are where this documentation belongs rather than in a separate spreadsheet that drifts out of sync. A practical sidecar includes:

    • The dataset version tag and the date it was generated.
    • A subject identifier mapped to the registry, not the raw patient identifier.
    • The annotator ID and annotation version for any labeled series.
    • A pointer to which partition (training, validation, test) the record belongs to.

    Versioned partition files matter more than they first appear to. Without a fixed, reproducible partition and a locked random seed, two runs of the “same” experiment can quietly leak subjects between training and test sets, inflating performance in a way that only shows up when someone else tries to reproduce the result. A machine-checkable documentation layer, in the spirit of VIDS-style provenance fields, closes that gap by making the partition and version auditable rather than something you have to trust a readme file to describe accurately.

    A release-ready bundle typically includes four deliverables: a JSON audit report summarizing the checks run and their results, a representative sample of records for spot review, the partition file itself, and inter-annotator agreement metrics for any labeled subset. Teams building imaging into a larger study design often need this documentation to line up with broader data-management requirements, which we cover in more detail in our guide to integrating radiology into study design.

    Implementation Checklist: Timeline, Roles, and Quick Wins

    Rolling out QC does not require a six-month project. For a small-to-medium dataset, a realistic phased timeline runs:

    1. Days 1 to 2: run ingest checks, file hashing, and DICOM conformance validation across the full dataset.
    2. Days 3 to 5: generate MRIQC reports for MRI data or equivalent IQMs for other modalities, and flag statistical outliers.
    3. Week 2: build PNG montages for the flagged subset and run the first visual triage pass with at least two raters.
    4. Week 3: finalize the de-identification pass, including pixel-text detection with uncertainty-based routing, and lock the partition file.
    5. Week 4: assemble the release bundle: audit report, sample records, partition file, and agreement metrics.

    Ownership matters as much as sequence. A data engineer typically owns ingest and automated checks, an imaging scientist or radiologist reviews flagged image-quality cases, a medical physicist weighs in on equipment-level and phantom-based checks when relevant, an annotation lead manages labeling consistency, and a QA engineer owns the release gate and audit logging.

    On resourcing, MRIQC processing typically runs 10 to 15 minutes of compute per scan on medium hardware, plus 1 to 5 minutes of human rating time per subject using the rating widget. Budgeting human review time per flagged item, rather than per full dataset, is what keeps a QC pass from becoming a bottleneck as dataset size grows.

    Coordinating these steps across labs and imaging teams gets easier when protocols are aligned up front rather than reconciled after the fact, a topic we cover in our guide to aligning lab and radiology specialty clinic protocols.

    How a Lab Partner Supports Imaging Data Readiness and QC Workflows

    Laboratory testing and specimen management capabilities can support clinical trials and research studies that pair imaging data with laboratory results, which means provenance and documentation discipline are built into specimen handling from the start. Electronic results reporting and Laboratory Information System integration can enable study teams to receive structured, traceable data rather than having to reconstruct provenance after delivery.

    For research organizations managing multiple data streams, capturing that provenance consistently across specimen collection, laboratory testing, and imaging logistics reduces the documentation gap that often shows up at release time. When a study team is resource-constrained or facing a regulatory-readiness deadline, routing specimen logistics and laboratory data delivery through a dedicated partner can free internal staff to focus on the imaging-specific QC work described above, while the laboratory side of the dataset arrives already structured for audit.

    Practical Trade-Offs When Scaling QC

    Treat radiology data QC as ongoing management, not a task you finish once and move past. The datasets, protocols, and teams generating imaging data keep changing, which means the checks that worked last quarter can miss a drift that starts next month.

    Start small. Run your gates on a pilot subset, measure how many items get flagged at each stage, and adjust thresholds before scaling to the full dataset. The strongest QC programs we have seen described in the literature treat the checklist as a living document, not a one-time compliance exercise.

    None of this works in isolation. A data engineer can automate the checks, but a radiologist or medical physicist still has to judge whether a flagged anomaly matters clinically, and an annotation lead has to decide whether disagreement between raters reflects a labeling problem or a genuinely ambiguous case. QC is a coordination problem as much as a technical one.

    Study-Ready Imaging and Lab Data Support From KoHealth Labs

    Research teams and healthcare organizations may need laboratory data delivered in a structured, audit-ready format alongside imaging workflows. Services may include specimen pickup and medical courier logistics, molecular and PCR diagnostics, LIS and EHR integration, and flexible diagnostic solutions built around study-specific requirements, so the laboratory side of a trial or research dataset arrives documented and ready to pair with an imaging QC pipeline.

    Kohealth Labs

    If your team is assembling a study that combines imaging data with laboratory diagnostics, our DNA lab standards compared guide helps clarify accreditation standards for labs that can support clinical and research workflows. Reach out to discuss a pilot and see how our onboarding process fits into your existing data pipeline.

    FAQ

    What is QC in radiology?

    Quality control in radiology refers to the routine checks performed on imaging equipment, acquisition settings, and data outputs to confirm they meet expected standards before clinical or research use. In an IAEA-documented framework, this includes phantom-based tests and metrics like detectability index to catch equipment drift between scheduled service checks.

    What is QC data?

    QC data is the set of metrics, logs, and audit records generated while verifying that an imaging dataset or piece of equipment is functioning correctly and producing usable output. For research datasets, this typically includes image-quality metrics, DICOM conformance results, and annotation agreement scores stored alongside the imaging files.

    What is the 15% rule in radiology?

    This kind of practice is not part of the data validation or dataset documentation practices covered in modern imaging QC frameworks like MRIQC or dicomqc.

    What is the difference between QA and QC in radiography?

    Quality assurance covers the broader system of policies, training, and oversight designed to maintain consistent image quality over time, while quality control refers to the specific, repeatable tests performed to verify that equipment or data meets defined standards at a given moment. In practice, QA sets the program and QC executes the checks within it, such as the daily constancy tests described in IAEA guidance.

    Sources

    For more information about our diagnostic testing, clinical research laboratory services, or partnership opportunities, visit https://kohealthlabs.com or contact KoHealth Labs at (469) 792-8439 and ask for Amy Patterson.