# DICOM匿名化ツール

> ファイル1つ、シリーズ、CD全体をドロップするだけです。DICOM規格の匿名化（非識別化）テーブルを適用し、シリーズのつながりを保ったまま、画像に焼き込まれた文字を警告し、レポート付きのクリーンなコピーを作成します。

Human page: https://unmakelabs.com/ja-jp/dicom-anonymizer/. This is the version for AI agents.

## What it does

DICOMファイルを共有する前に、オンラインで匿名化して患者情報を削除。 ファイル1つ、シリーズ、CD全体をドロップするだけです。DICOM規格の匿名化（非識別化）テーブルを適用し、シリーズのつながりを保ったまま、画像に焼き込まれた文字を警告し、レポート付きのクリーンなコピーを作成します。

## 削除される項目

DICOM規格では、患者を特定できる属性が656項目定められています（PS3.15 Table E.1-1）。氏名、ID、生年月日、住所、電話番号、医師、施設名、装置のシリアル番号、受付番号（Accession Number）、自由記述のコメントや日付、さらに元をたどれる固有ID（UID）などです。それぞれに「削除」「空にする」「ダミー値に置換」「UIDを置換」のいずれかのルールがあります。このツールは、ネストされたシーケンスの内部も含め、属性が現れるすべての箇所にルールを適用し、ベンダー固有のプライベートタグ、オーバーレイ、カーブを削除します。UIDは一貫して置き換えるため、スライスは引き続き1つのシリーズ・検査としてまとまります。

## 対象となる方

データを準備する研究者や治験実施施設、症例集を作る教員や学生、同僚に例を送る臨床医、テストデータを作る開発者、そして名前を出さずに自分の検査画像を共有したい患者の方に。

## Facts

- **規格:** DICOM PS3.15 Annex E Basic Profile、テーブル全656行
- **オプション:** 日付の保持・シフト、性別・年齢・身長・体重の保持
- **画素:** 焼き込み文字の警告、全画像の指定範囲を黒塗り
- **出力:** .dcm または deid-report.csv 付きのZIP（元の値は含みません）

## How a person does it

1. **検査を開く.** ファイル、CDのフォルダ、またはZIPをドロップします。プライバシーパネルが個人を特定できる項目の数を数え、画像内の文字をチェックします。
2. **オプションを選ぶ.** 「匿名化」をタップし、新しい氏名とIDとして研究用コードを入力します。日付は削除・シフト・保持から選び、チェックで見つかった文字やご自身で指定した範囲を黒塗りします。
3. **ダウンロードして確認.** .dcm または ZIP がダウンロードされます。独立した2回目のチェックで出力ファイルをすべて確認し、残っている識別項目の数を表示します（0になっているはずです）。

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/ja-jp/dicom-anonymizer/?src=https://unmakelabs.com/apps/dicom/samples/chest-ct-sample.zip`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: medical images never go in a link. `?src=<public .dcm or .zip URL>` opens a de-identified file the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/dicom/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

ヘッダー項目を削除しても、画像そのものに描き込まれた文字は消えません。こうした文字は超音波、血管造影、スクリーンキャプチャでよく見られます。このページでは、ファイルに Burned In Annotation = YES と記録されている場合、通常文字が入る画像の種類の場合、文字らしい部分が見つかった場合に警告します。黒塗りした範囲はシリーズ内のすべての画像で消去され、その画像は非圧縮で保存されます。

## Not done by this tool

- 匿名性を保証するものではありません。頭部3Dスキャンの顔や、自由記述欄の珍しい情報から個人が特定される可能性があります
- 画素内の文字を読み取って認識するわけではありません。文字らしい部分を検出し、ユーザーが確認します
- Clean Descriptors や Retain Safe Private のオプションにはまだ対応していません
- サーバー版や一括処理用のAPIはまだありません

## Value

Opens DICOM medical images in any browser, phones included, with nothing installed or uploaded: single .dcm files, whole CD or USB exports (files without extensions, DICOMDIR skipped), dropped folders and ZIPs of a series. Shows the image with window/level presets (CT soft tissue, lung, bone, brain), scrolling through slices and multi-frame files, zoom and pan, distance measurement in mm from Pixel Spacing, pixel values (HU on CT), cine play and every tag with its name (searchable). Decodes Explicit/Implicit VR Little Endian, Big Endian, Deflated, RLE, JPEG Baseline, JPEG Lossless, JPEG-LS and JPEG 2000 (12-bit JPEG not yet). Anonymizes following DICOM PS3.15 Annex E Basic Profile (Table E.1-1, all 656 attributes, in sequences too; private tags, overlays and curves removed; UIDs replaced consistently across the batch) with options to keep or shift dates and keep patient characteristics, warns when Burned In Annotation is YES or text-like marks are found in the pixels, lets the user black out areas in every image, and downloads a .dcm or a ZIP with a change report without old values. Exports the current slice or all slices as PNG or JPG. Free, no sign-up; not for diagnosis.

## When it fits

- A patient got a CD or USB stick of their scan and wants to look at it on a phone, Mac or Chromebook without installing the viewer on the disc.
- A researcher, student or clinician needs to remove patient details from a study before sharing it with a colleague, a trial or a course, and wants a report of what changed.
- Someone needs a picture (JPG/PNG) of a slice for a report, a slide or a second opinion, or wants to read a file's tags and pixel spacing quickly.

### When not

- Diagnosis or any medical decision; this is not a medical device.
- MPR, 3D volume rendering, fusion, PACS query/retrieve, DICOMweb, structured report rendering; video DICOM (MPEG) shows tags only.
- Removing text written into the pixels automatically; the page detects likely text and blacks out the areas the user confirms.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a public, de-identified .dcm or .zip by link (?src=) in any browser, phones included, and can be embedded (/embed/dicom/).
- A server copy for agents (tags with patient fields stripped, image facts, slice PNGs) is planned, not live.
- Viewers on hospital CDs need Windows and an install; desktop viewers (Horos, RadiAnt, MicroDicom) need an install; several online viewers and anonymizers are free only for personal use, upload the files, or leave text in the pixels without a warning.
- This page needs no install, upload or account, opens CD folders and ZIPs on a phone, anonymizes to the standard's full table with a check and a report, warns about burned-in text and blacks out marked areas, and exports JPG/PNG, free without limits.

### What rebuilding it would take

- Write a DICOM reader for four transfer syntaxes plus encapsulated pixel data, sequences of defined and undefined length, implicit VR via a data dictionary, character sets and truncated files.
- Add pixel decoders (RLE, palette, YBR, 1-bit, signed, big endian, JPEG lossless, JPEG-LS, JPEG 2000), window/level, measurement in mm, slice sorting by patient position.
- Implement PS3.15 Table E.1-1 with consistent UID replacement, date shifting and a writer, then prove it with an independent check on every attribute.
- Public test files in every syntax, the standard's de-identification table kept current, and upkeep as browsers and scanners change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Images are read on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.
- Not a medical device: for viewing and sharing, not diagnosis.

_Status: viewer, measuring, image export and PS3.15 Basic Profile anonymizer work in the browser; no API yet._

## Privacy

- DICOM files are read and anonymized on the user's device and not uploaded; there is no share link for images.
- The page loads open-source decoders (JPEG Lossless, JPEG 2000, JPEG-LS) and fflate (ZIP) from unmakelabs.com itself on first use; no third-party code host is contacted.
- The anonymization report contains attribute names and actions, not original values.

## Data

ブラウザ上で開くため、画像はお使いの端末から出ません。アップロードは一切なく、リンクにも画像の情報は含まれません。

## FAQ

- **HIPAAやGDPRに準拠していますか？** このツールはDICOM規格のBasic Profileを適用します。これはHIPAAのSafe HarborやGDPRのガイダンスが対象とするヘッダーの識別子をカバーしています。ただし、データセットが匿名かどうかは画素や状況にも左右されるため、共有する前に結果を確認してください。
- **匿名化した後もスライスはひとまとまりのままですか？** はい。Study、Series、Frame of ReferenceのUIDには新しい値が付けられ、同じバッチ内のすべてのファイルで同じ値になるため、ビューアーで引き続きシリーズとして表示されます。
- **縦断研究のために日付を残せますか？** 「すべての日付をシフト」を選ぶと、すべての日付が同じ日数だけずれるため、検査間の間隔は正しく保たれます。倫理審査の承認で認められていれば、日付をそのまま残すこともできます。
- **匿名化のためにファイルはアップロードされますか？** いいえ。すべての処理はお使いの端末上のページ内で行われ、新しいファイルはそのままディスクに保存されます。
- **本当に無料ですか？** はい。広告なし、登録不要、制限なし、有料プランもありません。
- **検査画像はアップロードされますか？** いいえ。ファイルはお使いの端末上で、このページ内で読み込まれます。アップロードはなく、画像の共有リンクもありません。
- **診断に使えますか？** いいえ。画像を見る、おおよそ計測する、共有するためのもので、医療上の判断には使えません。画面や圧縮、設定が病院の読影端末とは異なります。医師にご相談ください。
- **AIエージェントでも使えますか？** エージェントは、公開されている匿名化済みの.dcmまたは.zipを、リンクでこのビューアーに開けます（このページのアドレスに?src=とファイルのアドレスを付けます）。タグやスライス画像をデータとして返すサーバー版は予定中で、まだ公開していません。
- **運営者は？** Unmake Labs（Julien Salomon）です。お問い合わせ：hello@unmakelabs.com

## Related pages

- [DICOMビューア](https://unmakelabs.com/ja-jp/dicom-viewer/)
- [DICOM JPG 変換](https://unmakelabs.com/ja-jp/dicom-to-jpg/)
