# Minimum header information for loading DICOM into same series

**URL:** https://discourse.slicer.org/t/minimum-header-information-for-loading-dicom-into-same-series/6355
**Category:** Support
**Tags:** dicom, file-import
**Created:** [April 1, 2019, 4:48pm UTC](https://discourse.slicer.org/t/minimum-header-information-for-loading-dicom-into-same-series/6355 "2019-04-01T16:48:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![d4mir](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@d4mir](https://discourse.slicer.org/u/d4mir)
#### Post date: [April 1, 2019, 4:48pm UTC](https://discourse.slicer.org/t/minimum-header-information-for-loading-dicom-into-same-series/6355/1 "2019-04-01T16:48:34Z")

</div>

Hi,

I have a generally blank dicom header, (attached to images).  
I’m wondering what is the minimum number of fields to have to pull a set of images (135 different ones them) into the same series.

When I import them into slicer they attempt to go to separate series

Heres sample fields

struct with fields:

```
                                   Filename: '/Users/d/Documents/Images/im0090.dcm'
                                FileModDate: '26-Mar-2019 12:16:12'
                                   FileSize: 1865690
                                     Format: 'DICOM'
                              FormatVersion: 3
                                      Width: 1110
                                     Height: 560
                                   BitDepth: 8
                                  ColorType: 'truecolor'
             FileMetaInformationGroupLength: 208
                 FileMetaInformationVersion: [2×1 uint8]
                    MediaStorageSOPClassUID: '1.2.840.10008.5.1.4.1.1.7'
                 MediaStorageSOPInstanceUID: '1.3.6.1.4.1.9590.100.1.2.288704759709434390630648630132056272210'
                          TransferSyntaxUID: '1.2.840.10008.1.2'
                     ImplementationClassUID: '1.3.6.1.4.1.9590.100.1.3.100.9.4'
                  ImplementationVersionName: 'MATLAB IPT 9.4'
                                SOPClassUID: '1.2.840.10008.5.1.4.1.1.7'
                             SOPInstanceUID: '1.3.6.1.4.1.9590.100.1.2.288704759709434390630648630132056272210'
                                  StudyDate: ''
                                ContentDate: '20190326'
                                  StudyTime: ''
                                ContentTime: '121612.416500'
                            AccessionNumber: ''
                                   Modality: 'OT'
                             ConversionType: 'WSD'
                     ReferringPhysicianName: [1×1 struct]
                                PatientName: [1×1 struct]
                                  PatientID: ''
                           PatientBirthDate: ''
                                 PatientSex: ''
         SecondaryCaptureDeviceManufacturer: 'MathWorks'
SecondaryCaptureDeviceManufacturerModelName: 'MATLAB'
                           StudyInstanceUID: '1.3.6.1.4.1.9590.100.1.2.234207437404492933027473378421527667084'
                          SeriesInstanceUID: '1.3.6.1.4.1.9590.100.1.2.244984412904515044829263492910100970731'
                                    StudyID: ''
                               SeriesNumber: []
                             InstanceNumber: []
                         PatientOrientation: ''
                            SamplesPerPixel: 3
                  PhotometricInterpretation: 'RGB'
                        PlanarConfiguration: 0
                                       Rows: 560
                                    Columns: 1110
                              BitsAllocated: 8
                                 BitsStored: 8
                                    HighBit: 7
                        PixelRepresentation: 0h2.SecondaryCaptureDeviceManufacturer, h2.SecondaryCaptureDeviceManufacturerModelName, h2.StudyInstanceUID, h2.SeriesInstanceUID, h2.StudyID, h2.SeriesNumber, h2.InstanceNumber, h2.PatientOrientation, h2.SamplesPerPixel, h2.PhotometricInterpretation, h2.PlanarConfiguration, h2.Rows, h2.Columns, h2.BitsAllocated, h2.BitsStored, h2.HighBit
```

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [April 2, 2019, 1:22pm UTC](https://discourse.slicer.org/t/minimum-header-information-for-loading-dicom-into-same-series/6355/2 "2019-04-02T13:22:30Z")

</div>

If you want to load as a scalar volume you probably need at least the tags linked below. Also if you want them in the same series, the instances all need the same SeriesInstanceUID (and StudyInstanceUID) but unique values for InstanceUID.

> <https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/DICOMPlugins/DICOMScalarVolumePlugin.py#L27-L45>
