Skip to content
Novus Examples
bin2.9 KB

DICOM-Shaped Part 10 File — Explicit VR, Synthetic Phantom (.bin)

A DICOM Part 10 file built byte by byte: 128-byte preamble, the DICM magic, an explicit-VR file meta group and a 27-element dataset ending in 16-bit pixel data. Every identifier is invented: the patient name is SYNTHETIC^PHANTOM, the instance UIDs sit under the unregistered 2.25 UUID arc, and the pixels are a generated pattern. There is no protected health information here and nothing in the file refers to a real person, device or study.

Preview — schema + first 5 rowsbin
OffsetContentsNotes
0128 zero bytesthe Part 10 preamble, ignored by readers
128'DICM'the magic that identifies a Part 10 file
132group 0002 file metaalways explicit VR LE, whatever the dataset uses
after metadataset, explicit VR LE27 elements in ascending tag order
(7FE0,0010)OW, 2048 bytes32x32 unsigned 16-bit pixels
Synthetic phantom only — no PHI, and the UIDs are under the unregistered 2.25 arc.

Specifications

Layout
DICOM PS3.10 Part 10
Preamble Bytes
128
Magic
DICM at offset 128
Transfer Syntax
1.2.840.10008.1.2.1
Transfer Syntax Name
Explicit VR Little Endian
Rows
32
Columns
32
Bits Allocated
16
Bits Stored
12
Photometric
MONOCHROME2
Uid Root
2.25.329800735698586629295641978511506172918
Contains PHI
false
Extension Note
identical bytes; rename to .dcm for viewers that gate on the suffix

Testing contract

Expected to pass
Scenario
Parse the preamble and file meta group, read the transfer syntax, then decode the dataset and pixel data.
Expected result
DICM appears at offset 128, the transfer syntax reads 1.2.840.10008.1.2.1, the dataset holds 27 elements in ascending tag order, and PixelData decodes to a 32x32 unsigned 16-bit image.

What is a .bin file?

A .bin file is a generic binary blob with no specific format — raw bytes whose meaning depends entirely on the producing application (firmware images, memory dumps, serialized payloads). The extension signals only 'not text.'

How to use this file

Use an example .bin file to test binary/hex viewers, file-type sniffing, octet-stream handling, and download pipelines that must not corrupt arbitrary bytes.

How to use this file for testing

“DICOM-Shaped Part 10 File — Explicit VR, Synthetic Phantom (.bin)” is a deterministic Novus Examples fixture for Scientific data, Serialization testing. Citation catalogs (BibTeX, RIS), chemistry structures (MDL Molfile, PDB), and gridded binary data (NetCDF, FITS) — for testing reference managers, molecule viewers, and scientific-data loaders.

Documented properties for this file: 32 rows · 32 columns. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Scientific fixtures are small, valid, and fully synthetic — no real organism, patient, sample, or observation. Point your parser or loader at the file and check it reads the documented records, variables, or headers; binary formats ship a readable twin or metadata listing for comparison.

Generated by generation/scientific.py. Free for any use, no attribution required — license.