DICOM Attribute
Samples per Pixel (0028,0002)
- Keyword
SamplesPerPixel- VR
US- VM
1
Definition
Number of samples (planes) in this image. See for further explanation.
From NEMA PS3.3 §C.7.6.24.
Attribute Metadata
This attribute is part of the current DICOM Standard. Its value representation is US with multiplicity 1.
Used in 31 Modules
- Confocal Microscopy Image 1
- Corneal Topography Map Image 1
- CT Image 1
- Double Floating Point Image Pixel 1
- DX Image 1
- Enhanced CT Image 1
- Enhanced Mammography Image 1
- Enhanced MR Image 1
- Enhanced PET Image 1
- Enhanced US Image 1
- Enhanced XA/XRF Image 1
- Floating Point Image Pixel 1
- Height Map Segmentation Image 1
- Intravascular OCT Image 1
- MR Image 1
- NM Image Pixel 1
- Ophthalmic Optical Coherence Tomography B-scan Volume Analysis Image 1
- Ophthalmic Optical Coherence Tomography En Face Image 1
- Ophthalmic Photography Image 1
- Ophthalmic Thickness Map 1
- Ophthalmic Tomography Image 1
- Parametric Map Image 1
- PET Image 1
- RT Dose 1C
- RT Image 1
- Segmentation Image 1
- US Image 1
- VL Image 1
- Whole Slide Microscopy Image 1
- X-Ray 3D Image 1
- X-Ray Image 1
Value Representation
This attribute uses the US
Value Representation. Multiplicity 1 governs how many values may be encoded.
Integration Notes
Real-world integration guidance for engineers implementing this attribute in Mirth Connect, FHIR gateways, HL7 v2 bridges, and cloud DICOM services. Authoritative source data where available; reference examples and operational notes where they add value.
FHIR Mapping
No direct FHIR ImagingStudy mapping published for this attribute. Some tags map indirectly via the Patient, Endpoint, or ImagingSelection resources — Phase 2b will expand coverage to those.
HL7 v2 Equivalent
No standard HL7 v2 equivalent published for this attribute. Imaging-only attributes (Image Pixel data, technical acquisition parameters, modality-specific values) typically have no HL7 v2 carrier.
Cloud DICOM Support
- AWS HealthImaging Preserved
- Azure DICOM Preserved
- Google Cloud Healthcare Preserved
Samples Per Pixel — preserved by all three. 1 for monochrome, 3 for RGB.
Per-vendor source URLs and verification date in src/content/dicom/cloud-support.json#_meta.
Status taxonomy: required (mandated on Store), queryable (QIDO-RS matching key), preserved (stored as-is), promoted (AWS top-level metadata), unsupported (stripped/rejected).
Real-World Sample Values
-
1CT_small.dcm -
3ExplVR_BigEnd.dcm
Extracted from pydicom test fixtures (MIT, de-identified).
Mirth Connect Example
JavaScript transformer snippets for the most-queried tags will be added as coverage expands.
Common Operational Errors
-
high SamplesPerPixel=3 on 'grayscale' PhotometricInterpretation
Diagnosis: Ultrasound or secondary capture emits SamplesPerPixel=3 (color) with PhotometricInterpretation=MONOCHROME2 (grayscale). Conflicting values; viewers handle inconsistently — some render black, some crash.
Fix: Validate the SamplesPerPixel / PhotometricInterpretation combination at ingress. MONOCHROME1/2 require 1; RGB/YBR_* require 3; PALETTE COLOR requires 1 with lookup tables. Reject or quarantine inconsistent combinations.
Reference only — validate before applying a fix. Scenarios are drawn from common DICOM/HL7 v2 integration patterns; reproduce against your environment before acting on any diagnosis. See NEMA PS3.6 + your vendor conformance statement for authoritative specification. Severity levels: high (data-loss / patient-safety), medium (workflow disruption), low (cosmetic).
DICOM Integration Services
Saga IT builds production DICOM integrations across Mirth Connect, FHIR gateways, and cloud imaging platforms. If you're working with SamplesPerPixel or the broader (0028,0002) context:
- Medical Imaging & DICOM Integration — end-to-end PACS, VNA, and cloud imaging deployments
- Mirth Connect Services — production-grade Mirth channel development
- Healthcare AI Integration — DICOM pipelines for AI/ML inference